EP, TITLE = 188, "しゃっくり"
# 2026-11-26 カメラワーク（エイイチ了承済み）
# P1 ツカムくんと台を大きく、腕がカクッと止まる・奥に大城さん／P2 ハコブくん目線100cm、ハコブくん全身と奥のツカムくん（解説と共感）
# P3 右横90cm、跳ねる腕と瓶の大写し・右手前に大城さんの肩なめ／P4 3人の全身の引き、ドロワーへ運び切る
# 舞台：ハコブくんは台の左、ツカムくんの台は真ん中、大城さんは台の右（毎コマ守る）
import os
from importlib.machinery import SourceFileLoader as _L
C = _L("_c188", os.path.expanduser("~/mnt/PixelstoMotors/ハコブくん/4コママンガ作成データ/縦長/_common_188_192.py")).load_module()
PANELS = [
 dict(chars=["大城", "ツカム"], prop=("MEDICINE BOTTLE", [C.BOTTLE + ", held in Tsukamukun's gripper in mid-air"]),
      camera=["SHOT SIZE: Tsukamukun and its work table large, Oshiro behind", "CAMERA POSITION: front-left, three-quarter", "CAMERA HEIGHT: 120 cm"],
      band="3% and 20%",
      comp=["Tsukamukun on its work table is LARGE in the left and centre, x 4–66%, the table top at about 62% of the image height, its face on the base clearly visible",
            "its arm is stopped dead in mid-reach, holding the bottle, with short sharp stop marks (small angled lines) around the elbow — it jerks and stops",
            "Oshiro stands behind at the right, from the knees up, x 62–96%, her head top at about 22% of the image height, body turned 40° toward Tsukamukun, puzzled, head tilted",
            "the sound effect 「カクッ」 beside the elbow; the bubble 「ツカムくん、しゃっくり？」 at the upper right, its tail to Oshiro"],
      sfx=[("カクッ", "beside Tsukamukun's elbow, about x 10–30%, y 24–34%")],
      bubbles=[("Nurse Oshiro", "ツカムくん、しゃっくり？", ["ツカムくん、", "しゃっくり？"])],
      extra=[C.TSU_SHAPE],
      scene="The pharmacy work table. Tsukamukun carries a medicine bottle toward a tray, but its arm moves... stops with a jerk... moves... jerk. Oshiro: hiccups?"),
 dict(chars=["ハコブ", "ツカム"], mouth="NORMAL", no_yline=True, hdir="right",
      hscale_text=["Hakobukun stands in the left foreground, full body, three-quarter view facing camera-right toward Tsukamukun, x 4–50%, its top at about 40% and its wheels at about 96% of the image height",
                   "Tsukamukun on its work table at the back right, x 52–96%, the table's feet at about 84% of the image height, its arm frozen in mid-air holding the bottle"],
      prop=("MEDICINE BOTTLE", [C.BOTTLE + ", held in Tsukamukun's gripper"]),
      camera=["SHOT SIZE: Hakobukun full body with Tsukamukun behind", "CAMERA POSITION: front-left, three-quarter", "CAMERA HEIGHT: 100 cm (Hakobukun's eye level)"],
      band="3% and 30%",
      comp=["three bubbles: 「考エル間、止マッテ待ッテルンデス」 at the upper left, its tail down to Hakobukun's screen; 「ワタシモ昔ハ、角ノタビニ止マリマシタ」 just below it at the left, also its tail to Hakobukun's screen; 「カンガエチュウ」 small at the upper right, its tail down to Tsukamukun's face on its base",
            "a few small dots of thinking float above Tsukamukun's base"],
      bubbles=[("Hakobukun", "考エル間、止マッテ待ッテルンデス", ["考エル間、", "止マッテ待ッテルンデス"]),
               ("Hakobukun", "ワタシモ昔ハ、角ノタビニ止マリマシタ", ["ワタシモ昔ハ、", "角ノタビニ止マリマシタ"]),
               ("Tsukamukun", "カンガエチュウ", ["カンガエチュウ"])],
      extra=[C.STOUT, C.WIDE(4, 50), C.CLOSED, C.F("right", "Tsukamukun"), C.TSU_SHAPE,
             ("KATAKANA CHECK:", ["in 考エル間、止マッテ待ッテルンデス the エ, ル, マ, ッ, テ, ッ, テ, ル, ン, デ, ス are KATAKANA", "in ワタシモ昔ハ、角ノタビニ止マリマシタ every kana is KATAKANA", "カンガエチュウ is all KATAKANA"])],
      scene="Hakobukun, waiting for its medicine, explains kindly: Tsukamukun stops while it thinks of the next move. Hakobukun used to stop at every corner too — a sympathetic senior."),
 dict(chars=["大城", "ツカム"], prop=("MEDICINE BOTTLE", [C.BOTTLE + ", held in Tsukamukun's gripper, the pills inside rattling"]),
      camera=["SHOT SIZE: close-up of Tsukamukun's arm and gripper, Oshiro's shoulder in the foreground", "CAMERA POSITION: from the right side of the table", "CAMERA HEIGHT: 90 cm"],
      band="3% and 18%",
      comp=["Tsukamukun's arm and gripper holding the bottle fill the left and centre, x 0–66%, LARGE; the top of its base with its face is visible at the bottom left",
            "the arm twitches with a sudden hop: sharp jolt lines around the gripper, the bottle shaking",
            "Oshiro's right shoulder and face are in the right foreground, cut by the right edge, x 64–100%, her face at about 34–50% of the image height, deadpan, a sweat drop",
            "the sound effects 「ピクッ」 by the gripper and 「シャカッ」 by the bottle; the bubble 「しゃっくりが、くしゃみになった」 at the upper right, its tail to Oshiro"],
      sfx=[("ピクッ", "beside the gripper, about x 6–24%, y 22–32%"), ("シャカッ", "beside the bottle, about x 40–60%, y 56–66%")],
      bubbles=[("Nurse Oshiro", "しゃっくりが、くしゃみになった", ["しゃっくりが、", "くしゃみになった"])],
      extra=[C.TSU_SHAPE],
      scene="Set to switch to each new move as soon as it is ready, Tsukamukun no longer stops — but now its arm hops every time it switches, and the pills rattle. Oshiro: the hiccups turned into sneezes."),
 dict(chars=["ハコブ", "ツカム", "大城"], mouth="HAPPY", full=["大城"], drawer=True, hdir="right", yfeet=92, ytop=30,
      prop=("MEDICINE BOTTLE", [C.BOTTLE + ", gently lowered by Tsukamukun's gripper into Hakobukun's open drawer"]),
      camera=["SHOT SIZE: all three, full body", "CAMERA POSITION: front, slightly from the left, three-quarter", "CAMERA HEIGHT: 140 cm"],
      band="3% and 22%",
      comp=["Hakobukun is centred at about 22% of the image width, three-quarter view facing camera-right toward the table, its drawer pulled open toward the table",
            "Tsukamukun's work table stands in the middle, x 34–66%; Tsukamukun's arm reaches smoothly over to the left and lowers the bottle into Hakobukun's open drawer, with long smooth flowing motion lines along the arm; Tsukamukun's eyes sparkle, refreshed",
            "Oshiro is centred at about 82% of the image width, at the right of the table, relaxed smile, one hand on her chest in relief",
            C.SIZE("Oshiro", C.PIT.format(n="Oshiro")),
            "two bubbles: 「先輩トシテ、安心シマシタ」 at the upper left, its tail down to Hakobukun's screen; 「やっと治った」 at the upper right, its tail to Oshiro"],
      bubbles=[("Hakobukun", "先輩トシテ、安心シマシタ", ["先輩トシテ、", "安心シマシタ"]), ("Nurse Oshiro", "やっと治った", ["やっと治った"])],
      extra=[C.STOUT, C.TSU_SHAPE, ("KATAKANA CHECK:", ["in 先輩トシテ、安心シマシタ the ト, シ, テ, シ, マ, シ, タ are KATAKANA"])],
      scene="Now Tsukamukun thinks of the next move while it keeps moving, and joins the moves smoothly. Its arm glides all the way to Hakobukun's drawer. Cured at last."),
]

# 2026-11-26 チェック①（バッチの下書き）：P1 b1 を選ぶ。
# P2 は2枚ともハコブくんが読者を向き、「角ノタビに」の ニ がひらがな → 向きを TURN で強く書き、カタカナを足して描き直す
# P3 は2枚とも大城さんのお団子が見えず別人のよう → お団子を書き足す
# P4 は b1 が左右逆（ハコブくんが右）、b2 はハコブくんに腕と脚が生えた → 並びの順とハコブくんの形を書き足す
PICK = {1: '第188話_P1_20261126_021531b1.jpg'}
PANELS[1] = dict(PANELS[1], extra=PANELS[1]["extra"] + [C.TURN("right", "Tsukamukun"), ("KANA — STRICT:", ["in 角ノタビニ止マリマシタ the ニ is KATAKANA ニ, NOT hiragana に", "in 止マッテ待ッテルンデス the ッ, テ are KATAKANA, NOT hiragana っ, て"])])
PANELS[2] = dict(PANELS[2], extra=PANELS[2]["extra"] + [("OSHIRO'S HAIR:", ["Oshiro's black hair is pulled back into a round BUN, and the bun is clearly visible at the back of her head even in this close view — she is NOT short-haired"])])
PANELS[3] = dict(PANELS[3], extra=PANELS[3]["extra"] + [C.TURN("right", "the table"),
    ("LEFT-TO-RIGHT ORDER — STRICT:", ["from LEFT to RIGHT: Hakobukun (at the far LEFT), then the work table with Tsukamukun, then Oshiro (at the far RIGHT). NEVER swap them"]),
    ("HAKOBUKUN HAS NO LIMBS:", ["Hakobukun has NO arms, NO hands and NO legs — only its box body on wheels. Its open drawer slides straight out of its front"])])
# 描き直しから：P2 021700（ハコブくんがツカムくんを向く・ニ が正しい）／P3 021654（横顔で髪をまとめた大城さん）／P4 021716（左からハコブくん・台・大城さん、ドロワーへ入れる）
PICK.update({2: '第188話_P2_20261126_021700.jpg', 3: '第188話_P3_20261126_021654.jpg', 4: '第188話_P4_20261126_021716.jpg'})
# 2026-11-26 エイイチ「ツカムくんがでかい、絵が違う、ハコブくんが細い」→ 方眼で測り直して描き直す
# P1：ツカムくんが大城さんの頭より上（大きすぎ）／P2：ツカムくんの台座が四角い箱（三面図と違う）／P4：ハコブくんが細い（高さが幅の2.5倍・左で切れる）
PANELS[0] = dict(PANELS[0], comp=["Tsukamukun on its work table at the left and centre, x 6–60%, the table top at about 60% of the image height, its face on the base clearly visible",
            "its arm is stopped dead in mid-reach, holding the bottle, with short sharp stop marks (small angled lines) around the elbow — it jerks and stops",
            "Oshiro stands just right of the table at the SAME distance from the camera, from the knees up, x 60–94%, her head top at about 18% of the image height, body turned 40° toward Tsukamukun, puzzled, head tilted",
            "the sound effect 「カクッ」 beside the elbow; the bubble 「ツカムくん、しゃっくり？」 at the upper right, its tail to Oshiro"],
      extra=PANELS[0]["extra"] + [C.TSU_SIZE("Oshiro")])
PANELS[1] = dict(PANELS[1], extra=PANELS[1]["extra"] + [C.TSU_SIZE(), C.HWIDTH(40, 96)])
PANELS[3] = dict(PANELS[3], comp=["Hakobukun is centred at about 22% of the image width, x 3–41%, three-quarter view facing camera-right toward the table, its drawer pulled open toward the table"] + PANELS[3]["comp"][1:],
      extra=PANELS[3]["extra"] + [C.TSU_SIZE("Oshiro"), C.HWIDTH(49, 92)])
# 描き直し（11:30）：P1 023041（ツカムくんの上端が大城さんの肩・横書き）／P2 023046（ハコブくんの比 1.47。「タビに」の に は edit で ニ に直す）
# P4 は2枚ともハコブくんが細い（1.86・2.2）。3人の全身を横に並べるとハコブくんが細くなる → ハコブくんを左手前に大きく（2コマ目と同じ太さで描けた形）、大城さんは右奥でひざ上にする
PICK.update({1: '第188話_P1_20261126_023041.jpg'})
PANELS[3] = dict(PANELS[3], full=[], no_yline=True,
    hscale_text=["Hakobukun is LARGE in the left foreground, full body, three-quarter view facing camera-right toward the table, x 2–52%, its top at about 36% and its wheels at about 96% of the image height, its drawer pulled open toward the table",
                 "Tsukamukun's work table stands just behind it at the centre-right, x 44–80%; Tsukamukun's arm reaches over and lowers the bottle into Hakobukun's open drawer, with long smooth flowing motion lines along the arm; Tsukamukun's eyes sparkle, refreshed",
                 "Oshiro stands behind at the right, from the knees up, x 72–98%, her head top at about 22% of the image height, relaxed smile, one hand on her chest in relief"],
    comp=["two bubbles: 「先輩トシテ、安心シマシタ」 at the upper left, its tail down to Hakobukun's screen; 「やっと治った」 at the upper right, its tail to Oshiro"],
    camera=["SHOT SIZE: Hakobukun full body in the foreground, the table and Oshiro behind", "CAMERA POSITION: front-left, three-quarter", "CAMERA HEIGHT: 100 cm (Hakobukun's eye level)"],
    extra=[C.STOUT, C.TSU_SHAPE, C.TSU_SIZE("Oshiro"), C.WIDE(2, 52), C.CLOSED if False else ("HAKOBUKUN DRAWER:", ["only the one drawer is open, toward the table"]), ("KATAKANA CHECK:", ["in 先輩トシテ、安心シマシタ the ト, シ, テ, シ, マ, シ, タ are KATAKANA"])])
# 描き直し（11:34）：P2 は 023046 の字を edit で直した 023406（タビニ）。P4 023421（ハコブくん左手前・ツカムくんが小さくドロワーへ・比 約1.6）。023419 はツカムくんが大きすぎ
PICK.update({2: '第188話_P2_20261126_023406.jpg', 4: '第188話_P4_20261126_023421.jpg'})
# 2026-11-26 エイイチ「ツカムくんの大きさがでかい、大城さんの服のスクリーントーンがない」→ P1・P3 を描き直す（TSU_SIZE を胸の高さ・台の長さの1/5 に）
PANELS[0] = dict(PANELS[0], comp=["the work table at the left and centre, x 4–62%, its top at about 62% of the image height; Tsukamukun stands on it, SMALL, its base x 20–36%",
            "its arm is stopped dead in mid-reach, holding the bottle, with short sharp stop marks (small angled lines) around the elbow — it jerks and stops",
            "Oshiro stands just right of the table at the SAME distance from the camera, from the knees up, x 60–94%, her head top at about 18% of the image height, body turned 40° toward Tsukamukun, puzzled, head tilted",
            "the sound effect 「カクッ」 beside the elbow; the bubble 「ツカムくん、しゃっくり？」 at the upper right, its tail to Oshiro"],
      extra=[e for e in PANELS[0]["extra"] if not e[0].startswith("TSUKAMUKUN SIZE")] + [C.TSU_SIZE("Oshiro"), C.TONE("Oshiro")])
PANELS[2] = dict(PANELS[2], comp=["Oshiro's head and shoulder are LARGE in the right foreground, cut by the right edge, x 52–100%, her face at about 30–52% of the image height, deadpan, a sweat drop",
            "Tsukamukun on its table a little further back at the left, SMALL: the whole robot with its arm is only about as tall as Oshiro's head is in the picture, x 6–46%, its base with its face visible",
            "the arm twitches with a sudden hop: sharp jolt lines around the gripper, the small bottle shaking",
            "the sound effects 「ピクッ」 by the gripper and 「シャカッ」 by the bottle; the bubble 「しゃっくりが、くしゃみになった」 at the upper right, its tail to Oshiro"],
      camera=["SHOT SIZE: Oshiro's head and shoulder close in the foreground, small Tsukamukun behind", "CAMERA POSITION: behind-right of Oshiro, from the right side of the table", "CAMERA HEIGHT: 140 cm"],
      extra=PANELS[2]["extra"] + [C.TSU_SIZE(), C.TONE("Oshiro")])
# 描き直し（11:39）：P1 023954（ツカムくんの上端が大城さんの胸・服に網点）／P3 023952（ツカムくんが小さく奥・大城さんの服に網点・お団子）
PICK.update({1: '第188話_P1_20261126_023954.jpg', 3: '第188話_P3_20261126_023952.jpg'})
# 2026-11-26 3D（斜めの姿で高さ＝幅の1.50倍）と並べて測ったら P4 のハコブくんが 1.93 → 3D の絵を添えて edit で太くした 025800（左の端で切れる）。025802 は左下に別の形が出た
PICK.update({4: '第188話_P4_20261126_025800.jpg'})
