/* ui_kits/watchover-app/data.jsx
   Mock data for the Watchover App UI kit → window.WoData.
   Colors are brand-ramp CSS vars (never raw hex); copy follows the
   voice rules: sentence case, evidence not adjectives, calm.      */

(function () {
  window.WoData = {
    /* The single token currency — one balance, one counter. */
    balance: 47,
    aiCheckCost: 5,

    kids: [
      { id: 'sofia', name: 'Sofia', age: 7, active: true },
      { id: 'max', name: 'Max', age: 10 },
    ],

    verdictLabels: {
      safe: 'Safe to watch',
      caution: 'Worth a look',
      flag: 'Needs your review',
    },

    /* ── Whitelist — channels already approved by the parent ── */
    channels: [
      {
        id: 'wild-earth',
        name: 'Wild Earth Kids',
        letter: 'W',
        color: 'var(--pine-400)',
        grad: ['var(--pine-300)', 'var(--sky-300)'],
        subs: '412K',
        category: 'Nature',
        platform: 'YouTube',
        score: 94,
        verdict: 'safe',
        newContent: true,
        topics: ['Wildlife', 'Habitats', 'Animal behavior'],
        review: {
          meta: 'Reviewed 220 videos · no ads · creator verified',
          why: [
            { title: 'Made for ages 6–9', body: 'Vocabulary and pacing line up with what a 7-year-old can follow.' },
            { title: 'No ads or merch pushes', body: 'The last 60 videos show no sponsorships or purchase prompts.' },
          ],
          mind: [
            { title: 'Natural predation appears', body: 'Hunting scenes show up occasionally — handled gently, but worth knowing.' },
          ],
        },
      },
      {
        id: 'story-tree',
        name: 'Story Tree',
        letter: 'S',
        color: 'var(--gold-500)',
        grad: ['var(--gold-300)', 'var(--coral-300)'],
        subs: '268K',
        category: 'Stories',
        platform: 'YouTube',
        score: 91,
        verdict: 'safe',
        topics: ['Friendship', 'Empathy', 'Vocabulary'],
        review: {
          meta: 'Reviewed 140 videos · comments off · no ads',
          why: [
            { title: 'Slow, read-along pacing', body: 'Every story is narrated calmly with on-screen text for early readers.' },
            { title: 'Gentle themes', body: 'Stories center on friendship and problem-solving, never fear or conflict.' },
          ],
          mind: [
            { title: 'Episodes run 10–12 minutes', body: 'Longer than most kids’ clips — a daily limit keeps sessions predictable.' },
          ],
        },
      },
      {
        id: 'tinker-lab',
        name: 'Tinker Lab',
        letter: 'T',
        color: 'var(--sky-500)',
        grad: ['var(--sky-300)', 'var(--pine-200)'],
        subs: '184K',
        category: 'Science',
        platform: 'YouTube',
        score: 89,
        verdict: 'safe',
        topics: ['Experiments', 'How things work', 'Problem-solving'],
        review: {
          meta: 'Reviewed 180 videos · no ads · creator verified',
          why: [
            { title: 'Hands-on, household materials', body: 'Experiments use jars, balloons and tape — things kids can actually try.' },
            { title: 'Explains the why', body: 'Each build ends with a 60-second plain-words explanation of the science.' },
          ],
          mind: [
            { title: 'A few builds need supervision', body: 'Scissors and hot water appear in some projects — co-watch the first time.' },
          ],
        },
      },
      {
        id: 'lila-draws',
        name: 'Lila Draws',
        letter: 'L',
        color: 'var(--coral-400)',
        grad: ['var(--coral-300)', 'var(--gold-300)'],
        subs: '96K',
        category: 'Art',
        platform: 'YouTube',
        score: 92,
        verdict: 'safe',
        topics: ['Drawing technique', 'Crafts', 'Imagination'],
        review: {
          meta: 'Reviewed 120 videos · comments moderated · no ads',
          why: [
            { title: 'Step-by-step at kid speed', body: 'Pauses between steps so children can keep up without rewinding.' },
            { title: 'Encouraging tone', body: 'Mistakes are treated as part of drawing — no perfectionism pressure.' },
          ],
          mind: [
            { title: 'Supply lists appear', body: 'Some videos mention markers and paper brands by name, without links.' },
          ],
        },
      },
      {
        id: 'math-tales',
        name: 'Math Tales',
        letter: 'M',
        color: 'var(--sky-700)',
        grad: ['var(--sky-300)', 'var(--gold-300)'],
        subs: '142K',
        category: 'Math',
        platform: 'YouTube',
        score: 90,
        verdict: 'safe',
        topics: ['Numbers & patterns', 'Logic', 'Puzzles'],
        review: {
          meta: 'Reviewed 160 videos · no ads · made for kids',
          why: [
            { title: 'Story-first math', body: 'Each concept arrives inside a short story, not a worksheet.' },
            { title: 'Built for ages 5–8', body: 'Counting and patterns at a pace early learners can follow.' },
          ],
          mind: [
            { title: 'Easy to binge', body: 'Episodes are short and feel-good — a daily limit helps.' },
          ],
        },
      },
      {
        id: 'beat-band',
        name: 'Beat Band',
        letter: 'B',
        color: 'var(--gold-700)',
        grad: ['var(--gold-300)', 'var(--sky-300)'],
        subs: '121K',
        category: 'Music',
        platform: 'YouTube',
        score: 88,
        verdict: 'safe',
        topics: ['Rhythm', 'Instruments', 'Movement'],
        review: {
          meta: 'Reviewed 110 videos · no ads · comments off',
          why: [
            { title: 'Movement built in', body: 'Songs invite clapping and dancing — screen time that gets kids off the couch.' },
            { title: 'Real instruments', body: 'Kids see drums, ukuleles and shakers played slowly and up close.' },
          ],
          mind: [
            { title: 'Catchy on repeat', body: 'Expect the same three songs hummed for a week.' },
          ],
        },
      },
      {
        id: 'planet-pals',
        name: 'Planet Pals',
        letter: 'P',
        color: 'var(--coral-500)',
        grad: ['var(--coral-300)', 'var(--sky-300)'],
        subs: '310K',
        category: 'Nature',
        platform: 'YouTube',
        score: 95,
        verdict: 'safe',
        topics: ['Earth & weather', 'Ecosystems', 'Geography'],
        review: {
          meta: 'Reviewed 240 videos · no ads · creator verified',
          why: [
            { title: 'Calm pacing, no overstimulation', body: 'No jump cuts or screaming reactions — kids walk away curious, not wired.' },
            { title: 'Fact-checked scripts', body: 'Sources are listed in every description; no misinformation found in the sample.' },
          ],
          mind: [
            { title: 'Big-weather episodes', body: 'Volcano and storm episodes are gentle but may need a co-watch for sensitive kids.' },
          ],
        },
      },
    ],

    /* ── Child feed — videos from whitelisted channels only ── */
    videos: [
      { id: 'v1', channelId: 'wild-earth', title: 'Why do otters hold hands?', duration: '6:42', grad: ['var(--pine-300)', 'var(--sky-300)'] },
      { id: 'v2', channelId: 'story-tree', title: 'The fox who lost his echo — story time', duration: '11:08', grad: ['var(--gold-300)', 'var(--coral-300)'] },
      { id: 'v3', channelId: 'tinker-lab', title: 'Build a balloon rocket in 10 minutes', duration: '9:31', grad: ['var(--sky-300)', 'var(--pine-200)'] },
      { id: 'v4', channelId: 'lila-draws', title: 'Draw a friendly dragon, step by step', duration: '12:05', grad: ['var(--coral-300)', 'var(--gold-300)'] },
      { id: 'v5', channelId: 'math-tales', title: 'Counting with kangaroo jumps', duration: '5:54', grad: ['var(--sky-300)', 'var(--gold-300)'] },
      { id: 'v6', channelId: 'beat-band', title: 'Make a shaker from a jam jar', duration: '7:18', grad: ['var(--gold-300)', 'var(--sky-300)'] },
      { id: 'v7', channelId: 'planet-pals', title: 'Volcano islands, explained gently', duration: '8:24', grad: ['var(--coral-300)', 'var(--sky-300)'] },
      { id: 'v8', channelId: 'wild-earth', title: 'Baby elephants learn to swim', duration: '7:02', grad: ['var(--pine-200)', 'var(--gold-300)'] },
      { id: 'v9', channelId: 'story-tree', title: 'The lighthouse cat — story time', duration: '10:12', grad: ['var(--sky-300)', 'var(--coral-300)'] },
    ],

    /* ── Review queue — candidates the AI found this week ──── */
    reviewQueue: [
      {
        id: 'coral-cove',
        name: 'Coral Cove Science',
        letter: 'C',
        color: 'var(--sky-500)',
        grad: ['var(--sky-300)', 'var(--pine-300)'],
        subs: '221K',
        category: 'Science',
        platform: 'YouTube',
        score: 93,
        verdict: 'safe',
        topics: ['Ocean life', 'Experiments', 'Earth & weather'],
        review: {
          meta: 'Reviewed 240 videos · no ads · creator verified',
          why: [
            { title: 'Made for ages 6–10', body: 'Vocabulary and pacing match what Sofia can follow at 7.' },
            { title: 'No ads, no merch pushes', body: 'A sample of 40 recent videos shows no sponsorships or purchase prompts.' },
            { title: 'Comments are moderated', body: 'No unsafe activity in the 2,400 most recent comments we scanned.' },
          ],
          mind: [
            { title: 'Deep-sea episodes get dark', body: 'A few anglerfish moments — fascinating for most kids, spooky for some.' },
          ],
        },
      },
      {
        id: 'pixel-playground',
        name: 'Pixel Playground',
        letter: 'P',
        color: 'var(--gold-500)',
        grad: ['var(--gold-300)', 'var(--sky-300)'],
        subs: '305K',
        category: 'Coding',
        platform: 'YouTube',
        score: 81,
        verdict: 'caution',
        topics: ['Game builds', 'Logic & loops', 'Creative coding'],
        review: {
          meta: 'Reviewed 180 videos · sponsor reads in 4 of them',
          why: [
            { title: 'Real creative coding', body: 'Kids build small games step by step in Scratch — logic, not just watching.' },
            { title: 'Patient teaching style', body: 'Errors are debugged on camera so kids learn that failing is normal.' },
          ],
          mind: [
            { title: 'Occasional sponsor reads', body: '4 of the last 180 videos open with a 20-second sponsor mention.' },
            { title: 'Compilation episodes run fast', body: 'Best-of cuts use quicker edits than the regular tutorials.' },
          ],
        },
      },
      {
        id: 'prank-patrol',
        name: 'Prank Patrol',
        letter: 'P',
        color: 'var(--coral-500)',
        grad: ['var(--coral-300)', 'var(--coral-400)'],
        subs: '1.2M',
        category: 'Entertainment',
        platform: 'YouTube',
        score: 64,
        verdict: 'flag',
        topics: ['Challenges', 'Pranks', 'Vlogs'],
        review: {
          meta: 'Reviewed 150 videos · 12 flagged moments',
          why: [
            { title: 'High production quality', body: 'Well shot and edited; nothing graphic or explicit in the sample.' },
          ],
          mind: [
            { title: 'Pranks lean on embarrassment', body: 'Laughs often come at someone’s expense — a pattern kids copy.' },
            { title: 'Loud jump cuts and sirens', body: 'Attention-grabbing edits every few seconds; high stimulation.' },
            { title: 'Comments are unmoderated', body: 'Open comment section with off-topic and unkind threads.' },
          ],
        },
      },
    ],
  };
})();
