# Expansion panels for THE HANDS INSIDE THE MACHINE, Book 37 (HCL Technologies).
# Merged by build_book.py to make it a full-length book.
STYLE=("children's storybook manga illustration, warm painted animation style, soft cinematic light, "
"clean linework, NO text NO letters NO words")
CHARLOTTE=("Charlotte, the SAME young Indian CHILD girl from the reference, round young face, warm tan skin, "
"freckles, glossy black hair in two low twin ponytails, big curious dark eyes, bright TEAL t-shirt, NO facial hair")
BUFFETT="Warren, a folksy cheerful elderly American man, thinning white hair, big friendly glasses, grey suit"
MUNGER="Charlie, a stocky wise elderly American man, very thick black-framed glasses, dark suit"
DEAN=("Dean, a warm friendly Western SYSTEMS ENGINEER, NOT Indian, neat trimmed beard, calm capable smile, "
"navy polo shirt with a badge lanyard around his neck, a screwdriver in one hand and a glowing tablet in the other")
DEAN_TAG="; the man is the SAME friendly Western systems engineer from the reference image, same navy polo, same badge lanyard, same screwdriver, same glowing tablet"

def P(img,cap=None,b1=None,b2=None,sfx=None,sfxc="#e8425a"):
    return ("panel",img,cap,b1,b2,sfx,sfxc,False)

# prompts for the extra images: filename -> (w,h,seed,prompt,ref)
NEW2={
 "hc_c1_night":(1024,720,3760,f"{STYLE}. {CHARLOTTE} alone in her cozy bedroom at night, moonlight through the window, a warm-lit city glowing in the distance, holding a small blinking gadget beside the glowing compass, EXPRESSION curious and brave","charlotte"),
 "hc_c2_deep":(1024,720,3761,f"{STYLE}. {CHARLOTTE} walking wide-eyed down a long glowing aisle between towering racks of humming machines, cool blue light on her face, EXPRESSION wonder and a little dizzy thrill","charlotte"),
 "hc_c2_scale":(1024,720,3762,f"{STYLE}. a colossal server hall with rack after rack of humming machines and thick bundles of glowing cables like vines, tiny engineer figures for scale, no faces close up",None),
 "hc_c3_race":(1024,720,3763,f"{STYLE}. a sleek race car speeding around a bright track, wind and motion lines, powerful and fast but pushing hard, energetic, no faces close up",None),
 "hc_c3_crew":(1024,720,3764,f"{STYLE}. a busy pit crew swarming a stopped race car in the pit lane, dozens of hands changing wheels and refuelling all at once in a blur of teamwork, energetic, no faces close up",None),
 "hc_c4_wall":(1024,720,3765,f"{STYLE}. a great calm control room with a huge curved wall of glowing screens showing gentle heartbeat pulse-lines of many machines, cozy blue-and-amber light, no faces close up",None),
 "hc_c4_pulse":(1024,720,3766,f"{STYLE}. a friendly close up of a single glowing monitor showing a steady blue heartbeat pulse-line, one small blip flickering amber, a gentle hand pointing at it just in time, playful science, no people",None),
 "hc_c5_spark":(1024,720,3767,f"{STYLE}. an extreme close up of a single loose machine part sparking with a tiny urgent glitch of light, warning glow spilling from its cracks, dramatic but not scary, no people",None),
 "hc_c5_fix":(1024,720,3768,f"{STYLE}. {DEAN} kneeling with quick sure hands, sliding a bright fresh part into a machine as its light settles back to calm steady blue, EXPRESSION focused and confident{DEAN_TAG}","dean"),
 "hc_c6_chain":(1024,720,3769,f"{STYLE}. {DEAN} standing proudly and pointing along the whole loop — building, then watching on screens, then repairing, then lifting in a smarter part — teaching the full journey, EXPRESSION cheerful and clear{DEAN_TAG}","dean"),
 "hc_c6_device":(1024,720,3770,f"{STYLE}. {CHARLOTTE} gently cupping a small glowing tablet in her hands that now runs bright and smooth, its soft light on her happy face, EXPRESSION delighted and tender","charlotte"),
 "hc_c7_world":(1024,720,3771,f"{STYLE}. a beautiful view of a city at night seen from high above, warm clusters of lit windows and glowing screens humming across the land, gentle and grand, no people",None),
 "hc_c7_airport":(1024,720,3772,f"{STYLE}. a bright modern airport running smoothly at night, glowing departure halls and a plane at the gate, everything working perfectly, cheerful slice of life, no faces close up",None),
 "hc_c8_today":(1024,720,3773,f"{STYLE}. a huge modern technology campus and server hall working together at golden hour, glass towers and glowing machine rooms, engineers coming and going, proud and hi-tech, no people",None),
 "hc_c9_future":(1024,720,3774,f"{STYLE}. a gentle hopeful scene, a simple old repair bench softly fading on one side while a bright friendly helper robot and glowing smart tools rise on the other, engineers learning cleverer work, warm tones, no people",None),
 "hc_c10_forever":(1024,720,3775,f"{STYLE}. {CHARLOTTE} smiling warmly and hugging the old glowing diary to her chest, a little screen glowing softly on her desk, soft golden light, EXPRESSION cozy and content, heartfelt happy ending","charlotte"),
}

# extra panels spliced into each chapter (after its existing panels)
EXTRA={
 "c1":[P("hc_c1_night","The house was quiet. Only Charlotte, the diary… and a compass that had made up its mind. Out the window, the whole city glowed with a thousand screens.","Somebody keeps all those machines alive. Okay. Show me.")],
 "c2":[P("hc_c2_deep","Charlotte walked down the aisle. The machines hummed on either side like a sleeping giant.","It's so BIG — how do you look after them all?"),
       P("hc_c2_scale","Cables ran everywhere like glowing vines, feeding rack after rack.","There are SO many — and they never stop humming!")],
 "c3":[P("hc_c3_race","\"Watch,\" said Dean. A race car tore around the track, engine screaming, pushing hard.","It's SO fast — but how long can it last?"),
       P("hc_c3_crew","The moment it stopped, a crew swarmed it — wheels off, fuel in, checked and gone.","So many hands, all at once — like magic!",None,"pit stop","#2aa15a")],
 "c4":[P("hc_c4_wall","Dean showed her the control room — a whole wall of gentle glowing heartbeats.","Every machine has its own heartbeat on the wall!"),
       P("hc_c4_pulse","One little line blipped amber. A calm hand pointed right at it.","There! You caught it before it grew!")],
 "c5":[P("hc_c5_spark","A single part sparked with a tiny urgent glitch of light.","The trouble is trying to spread!"),
       P("hc_c5_fix","\"Easy does it,\" said Dean, sliding a fresh part in. The light went calm and blue.","Steady hands — and it's better already!",None,"click","#2563eb")],
 "c6":[P("hc_c6_chain","\"There's the whole story,\" said Dean, tracing the loop. \"Build, watch, repair, upgrade — round and round.\"","I can see the WHOLE loop now!"),
       P("hc_c6_device","He handed her a little tablet. It ran bright and smooth in her hands.","It works PERFECTLY — because someone keeps it that way!")],
 "c7":[P("hc_c7_world","From high above, the whole city twinkled with working screens and lit windows.","So many machines — all quietly kept alive!"),
       P("hc_c7_airport","At the airport, halls glowed and a plane waited, everything smooth and calm.","Even the airport leans on the hidden hands!")],
 "c8":[P("hc_c8_today","Today, huge campuses and machine halls work side by side to keep the world's computers running.","From one workbench… to THIS!")],
 "c9":[P("hc_c9_future","\"But even a giant must climb,\" warned Charlie, nodding at the clever new helper robot. \"Or the easy work slips away to someone cheaper.\"","Keep climbing to harder jobs — or fade. Got it!")],
 "c10":[P("hc_c10_forever","Charlotte hugged the diary tight. She'd never look at a screen — or the hands behind it — the same way again.","Thank you, Grandpa Ben. 💛")],
}
