# Expansion panels for THE THREAD AND THE STONE, Book 44 (Grasim Industries).
# 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"
TILDA=("Tilda, a warm friendly Western TEXTILE MAKER, NOT Indian, greying hair in a long braid, patient creative smile, "
"an indigo apron over a linen shirt, a spool of silky thread in one hand")
TILDA_TAG="; the woman is the SAME friendly Western textile maker from the reference image, same indigo apron, same linen shirt, same spool of silky thread"

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={
 "gr_c1_night":(1024,720,1660,f"{STYLE}. {CHARLOTTE} alone in her cozy bedroom at night, moonlight through the window, cupping a soft silky thread in one hand and a smooth grey stone in the other beside the glowing compass, EXPRESSION curious and brave","charlotte"),
 "gr_c2_deep":(1024,720,1661,f"{STYLE}. {CHARLOTTE} leaning close to a spinning machine as it draws out a thread finer than a spider's silk, EXPRESSION wonder and a little thrill","charlotte"),
 "gr_c2_scale":(1024,720,1662,f"{STYLE}. a colossal spinning hall stretching into the distance, a thousand machines winding shimmering white thread, tiny figures for scale, no faces close up",None),
 "gr_c3_sunbeam":(1024,720,1663,f"{STYLE}. a magical close up of a fresh-cut log split open to show pale soft damp wood inside, tiny fibres catching the light, playful science, no people",None),
 "gr_c3_swamp":(1024,720,1664,f"{STYLE}. a neat plantation of tall fast-growing trees stretching to the horizon in warm light, planted in tidy rows, lush and healthy, no people",None),
 "gr_c4_layers":(1024,720,1665,f"{STYLE}. a magical cross-section of a mixing vat showing wet wood pulp dissolving in stages into a glowing golden syrup, gentle swirls, no people",None),
 "gr_c4_time":(1024,720,1666,f"{STYLE}. a friendly big beaker with pale wood chips at the top and glossy golden syrup pooling at the bottom, showing the wood changing into liquid, playful, no people",None),
 "gr_c5_ember":(1024,720,1667,f"{STYLE}. an extreme close up of a shiny metal spinning cap with dozens of tiny holes, each one squeezing out a hair-thin golden stream like a little shower head, warm and dramatic, no people",None),
 "gr_c5_bath":(1024,720,1668,f"{STYLE}. a clear liquid bath where soft golden streams firm up into strong shining silky white threads being gently lifted out on a roller, warm storybook style, no people",None),
 "gr_c6_chain":(1024,720,1669,f"{STYLE}. {TILDA} standing proudly and pointing along the whole line — a log, then wet pulp, then a vat of golden syrup, then a shower-head cap, then silky thread, then soft cloth — teaching the full journey, EXPRESSION cheerful and clear{TILDA_TAG}","tilda"),
 "gr_c6_cloth":(1024,720,1670,f"{STYLE}. {CHARLOTTE} gently pressing a soft folded square of silky cloth against her cheek, its softness lighting up her face, EXPRESSION delighted and tender","charlotte"),
 "gr_c7_city":(1024,720,1671,f"{STYLE}. a bright city skyline of tall strong concrete buildings under a clear sky, all built from cement, gentle and grand, no people",None),
 "gr_c7_bridge":(1024,720,1672,f"{STYLE}. a sturdy grey concrete bridge and a new school building standing strong and solid in warm daylight, cheerful slice of life, no faces close up",None),
 "gr_c8_today":(1024,720,1673,f"{STYLE}. a huge modern factory with a thread mill and a cement kiln working side by side at golden hour, spools rolling out one way and cement trucks the other, proud and hi-tech, no people",None),
 "gr_c9_two":(1024,720,1674,f"{STYLE}. a gentle hopeful scene of one big sturdy tree with two branches — one branch hung with shimmering silky threads, the other with smooth grey stones — both strong and balanced under a fresh blue sky, warm tones, no people",None),
 "gr_c10_forever":(1024,720,1675,f"{STYLE}. {CHARLOTTE} smiling warmly and hugging the old glowing diary to her chest, a silky thread and a smooth grey stone resting on her desk glowing softly, soft golden light, EXPRESSION cozy and content, heartfelt happy ending","charlotte"),
}

# extra panels spliced into each chapter (after its existing panels)
EXTRA={
 "c1":[P("gr_c1_night","The house was quiet. Only Charlotte, the diary… and a compass that had made up its mind. In her palms: one soft thread, one hard stone.","Same place, Grandpa Ben says. Okay. Show me.")],
 "c2":[P("gr_c2_deep","Charlotte watched the nearest machine draw out a thread finer than a spider's silk.","It's thinner than a HAIR!"),
       P("gr_c2_scale","Down the hall, a thousand more machines did the same, mile after shimmering mile.","So MUCH of it!")],
 "c3":[P("gr_c3_sunbeam","\"Look inside,\" said Tilda, splitting a fresh log. The pale wood was soft and damp.","It's so pale and soft in there!"),
       P("gr_c3_swamp","She showed her a picture of the tree farms — neat rows grown just to become cloth.","Trees planted like a garden — for shirts!",None,"planted","#2aa15a")],
 "c4":[P("gr_c4_layers","Tilda stirred the great vat. Bit by bit, the mushy pulp melted away into gold.","It's DISSOLVING — like sugar in tea!"),
       P("gr_c4_time","\"Wood chips at the top,\" she said, tipping a giant beaker, \"golden syrup at the bottom.\"","The tree is turning to honey!")],
 "c5":[P("gr_c5_ember","Up close, the little cap had hundreds of holes, each one squeezing out a hair-thin golden stream.","Like a shower head — but for THREAD!"),
       P("gr_c5_bath","In the bath, the soft streams firmed up and were lifted out — shining, silky, and STRONG.","Soft syrup goes in, strong thread comes out!",None,"shimmer","#4b53b8")],
 "c6":[P("gr_c6_chain","\"There's the whole story,\" said Tilda, pointing down the line. \"Wood, pulp, syrup, holes, thread, cloth — one link after another.\"","I can see the WHOLE chain now!"),
       P("gr_c6_cloth","She pressed a square of the new cloth to Charlotte's cheek. It was cool and impossibly soft.","It's softer than a kitten's ear!")],
 "c7":[P("gr_c7_city","Across the city, tall strong buildings stood — every one of them built from cement.","The whole city is made of that grey powder!"),
       P("gr_c7_bridge","A sturdy bridge, a new school — grey, solid, and made to last.","Stone-powder holds up a whole BRIDGE!")],
 "c8":[P("gr_c8_today","Today, the thread mill and the cement plant hum side by side, two branches of one busy company.","From one little idea… to THIS!")],
 "c9":[P("gr_c9_two","\"Picture one big tree,\" said Charlie, \"with a branch of thread and a branch of stone. Tend BOTH, and it stands tall.\"","One trunk, two branches. Got it!")],
 "c10":[P("gr_c10_forever","Charlotte hugged the diary tight. She'd never look at a shirt — or a wall — the same way again.","Thank you, Grandpa Ben. 💛")],
}
