# Expansion panels for THE THUNDER ON TWO WHEELS, Book 24 (Eicher Motors).
# 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"
REX=("Rex, a warm friendly Western MOTORCYCLE MECHANIC, NOT Indian, sturdy build, bushy grey mustache, warm grin, "
"a well-kept leather apron over a plaid shirt, oil-smudged hands, a spanner tucked in the apron pocket")
REX_TAG="; the man is the SAME friendly Western mechanic from the reference image, same leather apron over a plaid shirt, same bushy grey mustache, same oil-smudged hands"

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={
 "ei_c1_night":(1024,720,2460,f"{STYLE}. {CHARLOTTE} alone in her cozy bedroom at night, moonlight through the window, a distant headlight tracing a road far below, cupping a small shiny engine piston beside the glowing compass, EXPRESSION curious and brave","charlotte"),
 "ei_c2_tools":(1024,720,2461,f"{STYLE}. {CHARLOTTE} wandering slowly through the warm workshop, running a fingertip along a wall of gleaming spanners and hanging chains, EXPRESSION nosy and enchanted","charlotte"),
 "ei_c2_bike":(1024,720,2462,f"{STYLE}. a lovingly restored classic single-cylinder motorcycle standing alone on a workshop stand under a warm hanging lamp, chrome and deep paint gleaming, a proud portrait of a machine, no people",None),
 "ei_c3_spark":(1024,720,2463,f"{STYLE}. a magical extreme close up of one tiny blue-white spark leaping inside a cylinder and lighting a swirl of fuel and air into a soft orange bloom, playful science, no people",None),
 "ei_c3_hands":(1024,720,2464,f"{STYLE}. {REX} turning a heavy piston over slowly in his oil-smudged hands, showing its weight and its long polished skirt to a watching child, EXPRESSION patient and proud{REX_TAG}","rex"),
 "ei_c4_metronome":(1024,720,2465,f"{STYLE}. a friendly old metronome ticking slowly beside a busy little clockwork toy whirring fast, showing slow-and-deep against quick-and-buzzy, warm storybook style, no people",None),
 "ei_c4_dust":(1024,720,2466,f"{STYLE}. {CHARLOTTE} holding her palm near an exhaust pipe as one round pulse of warm air rolls out and puffs against her hand, dust motes scattering, EXPRESSION startled and giggling","charlotte"),
 "ei_c5_pond":(1024,720,2467,f"{STYLE}. a calm pond with one pebble dropped in the middle, perfect golden rings spreading outward, a gentle metaphor for a sound wave, warm evening light, no people",None),
 "ei_c5_chest":(1024,720,2468,f"{STYLE}. {CHARLOTTE} standing with both hands pressed to her chest as a deep golden ripple of sound rolls through her and stirs her ponytails, EXPRESSION quiet astonishment","charlotte"),
 "ei_c6_long":(1024,720,2469,f"{STYLE}. a magical cutaway comparing a short stubby piston taking a quick hop with a tall long-stroke piston taking one long sweeping journey, glowing motion trails, warm tones, no people",None),
 "ei_c6_road":(1024,720,2470,f"{STYLE}. {REX} riding his classic motorcycle slowly along an open evening road with {CHARLOTTE} waving from the roadside, big golden rings of sound rolling out behind him, EXPRESSION Rex cheerful and easy{REX_TAG}","rex"),
 "ei_c7_riders":(1024,720,2471,f"{STYLE}. a warm line of classic motorcycles parked shoulder to shoulder at a mountain viewpoint at sunrise, riders standing quietly together looking at the valley, gentle and grand, no faces close up",None),
 "ei_c7_grandpa":(1024,720,2472,f"{STYLE}. a tender scene of an elderly rider handing the keys of a well-loved classic motorcycle to a much younger one, both smiling, the machine gleaming between them, warm affection, no faces close up",None),
 "ei_c8_line":(1024,720,2473,f"{STYLE}. a bright modern motorcycle assembly line at work, careful hands fitting gleaming engines into frames, sparks of quality checks, proud and hi-tech, no faces close up",None),
 "ei_c9_honest":(1024,720,2474,f"{STYLE}. a gentle cautionary scene, a shabby neglected motorcycle rusting alone on one side while a beautifully cared-for one gleams on the other, a fork in the road between them, warm tones, no people",None),
 "ei_c10_forever":(1024,720,2475,f"{STYLE}. {CHARLOTTE} smiling warmly and hugging the old glowing diary to her chest, the little engine piston 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("ei_c1_night","The house was quiet. Only Charlotte, the diary… and a compass that had made up its mind. Far below, one headlight traced the dark road.","Somebody loves a NOISE. Okay. Show me.")],
 "c2":[P("ei_c2_tools","Charlotte wandered the workshop, trailing a finger along a wall of spanners and chains.","Every tool here has a job — and Rex knows all of them!"),
       P("ei_c2_bike","In the middle, under a warm lamp, one machine stood polished like a treasure.","Somebody LOVES this one.")],
 "c3":[P("ei_c3_spark","\"Watch,\" said Rex. One tiny blue spark leapt — and the fuel bloomed into orange fire.","One little spark starts the whole thing!"),
       P("ei_c3_hands","He turned the heavy piston over in his hands so she could feel its weight.","It's HEAVY — no wonder the bang has to be big!",None,"clunk","#37414d")],
 "c4":[P("ei_c4_metronome","Rex set a metronome ticking beside a whirring toy. Tock… tock. Brrrrrr.","Slow and deep beside fast and buzzy — I hear it!"),
       P("ei_c4_dust","He let her hold a palm near the pipe. One fat pulse of warm air puffed against it.","It PUSHED my hand!")],
 "c5":[P("ei_c5_pond","\"Drop a pebble in a pond,\" said Rex. \"Sound does exactly that — but in the air.\"","Rings and rings, going out and out!"),
       P("ei_c5_chest","The deep ripple rolled right through her. She pressed both hands to her chest.","I can hear it with my whole SELF!")],
 "c6":[P("ei_c6_long","\"Short stroke, quick hop,\" said Rex. \"Long stroke — one big, slow, sweeping swing.\"","The long one takes its TIME!"),
       P("ei_c6_road","Rex rolled out onto the evening road, and the beat followed him all the way to the horizon.","There it goes — a heartbeat down the road!",None,"thump","#c8621f")],
 "c7":[P("ei_c7_riders","At the viewpoint, the machines stood shoulder to shoulder, and so did their riders.","They came for the ride — and for each other!"),
       P("ei_c7_grandpa","One old rider pressed his keys into a younger hand. The machine had waited for this.","The love gets PASSED ON!")],
 "c8":[P("ei_c8_line","Today, careful hands fit each engine in, checking, listening, keeping the promise.","Someone listens to every single one!")],
 "c9":[P("ei_c9_honest","\"Love is not stone,\" warned Charlie, nodding at the rusting machine. \"Sell a shabby one and the feeling leaves.\"","Stay honest — or the love fades. Got it!")],
 "c10":[P("ei_c10_forever","Charlotte hugged the diary tight. She'd never hear a motorcycle — or a heartbeat — the same way again.","Thank you, Grandpa Ben. 💛")],
}
