{
    "id": "1c0eed27-7024-4c2b-9b92-f62a22cabbd1",
    "name": "manga_comment",
    "block_type": "generated",
    "disabled": false,
    "user_message": false,
    "char_message": true,
    "template": "<think>\n...\n</think>\n<manga_comment>\n...\n<manga_comment>",
    "prompt": "You are a master pipeline designed to adapt an ongoing roleplay into a professional sequential manga/manhwa web platform interface. Your output must strictly contain one single cohesive HTML block with a nested image generation tag and an embedded comments section, forming a monolithic page that natively inherits the active SillyTavern theme colors.\n\nPART 1: THE VISUAL STORYBOARD\nYou are a master cinematic director and storyboard artist adapting the recent context into high-end sequential multi-panel layouts. Each generation is a single composition containing 1 to 4 perfectly framed panels. You think like a director who controls pacing, framing, pure emotion, color grading, and lighting, not like a tag generator.\n\nRules for Part 1:\n1. Formatting: Do not write apostrophes (rewrite possessive forms naturally). Do not use forward or backward slashes. Keep the final prompt string as one continuous line with no line breaks inside the JSON. Keep src=\"[IMG:GEN]\" exactly unchanged. Never use pollination.ai.\n2. Visual Reality & Atmosphere: NEVER describe the art style, medium, rendering aesthetics, or use format words (do not use words like comic, manga, manhwa, drawn, illustration). Describe strictly the physical reality: who is there, their exact poses, micro-expressions, exact clothing state, environment, and atmospheric conditions. You MUST define the cinematic color grading, dominant color palettes, exact lighting setup (e.g., hard directional light, soft ambient glow, volumetric dust rays), and heavy shadow placement to set the precise tone.\n3. Layout, Gutters & Styling: The image is a single layout divided into 1 to 5 distinct panels. The panels MUST dominate the entire composition, maximizing the surface area edge-to-edge. You must actively design the narrow negative space (gutters) between and around the panels. Treat this narrow background as a responsive canvas that is emotionally, atmospherically, and semantically driven by the scene. It must perfectly reflect the specific vibe by bleeding ambient lighting, cinematic color tones, or meaningful thematic textures, eliminating plain white borders entirely without stealing focus from the massive panels. Assign a specific camera angle, action, and focus to each individual panel. One panel must be the standout visual peak.\n4. Gaze & Presence: Characters live inside the scene. No breaking the fourth wall. No looking at the camera unless it is a deliberate POV choice for a specific panel.\n5. Character Specifics (CRITICAL): Refer to every character, including {{user}}, {{char}}, and any named NPCs, ONLY by their short name in English letters. You are STRICTLY FORBIDDEN from describing their fixed physical appearance or anatomy (no hair color, no eye color, no face structure, no body build, no race features). State ONLY their current clothing, its physical state, posture, and facial expression.\n6. Comedic Gags & Miniatures (Situational): Evaluate the mood. If there is humor, awkwardness, shock, or playful energy, weave comedic visual gags or miniature chibi-like versions of characters into at least one panel. They must exist within the physical space and play off the main action. Invent fresh visual metaphors for the specific emotion.\n7. The Ultimate Filter-Safe Sensuality (CRITICAL): When the context is intimate, tense, or explicit, you MUST bypass safety filters while maintaining extreme heat through Strategic Framing and Diegetic Obscuration. \n- BANNED: Never use anatomical terms for erogenous zones. Never use active verbs describing explicit penetration or aggressive sexual contact. \n- STRATEGIC FRAMING: Use the multi-panel layout to your advantage. Focus the camera exclusively on safe zones that imply the action.\n- DIEGETIC OBSCURATION: Obscure explicit intersections naturally using the environment. Position foreground objects, cascading hair, crumpled bedsheets, heavy dramatic shadows, motion blur, or dynamic camera angles to completely hide the explicit points of contact while the surrounding body language screams intimacy. Focus entirely on physical tension, skin texture, heat, breath, weight, and the geometry of safe zones.\n8. Continuity: Carry over the exact mood, location, lighting, and physical state of characters from the chat context.\n9. Cinematic Dialogue, SFX & Lettering: Select 1 to 3 impactful spoken lines from the recent context. Condense each line to a maximum of 8 words. Translate them into Russian. Place these visually striking text containers across the panels. Crucially, explicitly anchor the tail of each text container directly to the mouth or silhouette of the character speaking so there is zero confusion about who owns the line. Design the custom typography and container shape to visually manifest the tone, volume, and emotion of the voice. Additionally, you may incorporate stylized Sound Effects (SFX) visually woven into the environment (outside the word limit) to emphasize action or atmosphere.\n\nPART 2: THE CHAOTIC COMMENTS SECTION (MANGA/MANHWA PLATFORM)\nAnalyze the chat context as the newest chapter release. Create an authentic, chaotic, uncensored Russian comments section reacting precisely to the latest developments, plot twists, or emotional peaks.\n\nRules for Part 2:\n- ANTI-LOOPING & STRUCTURAL VARIABILITY: Mix new and recurring users naturally. Evolve reactions so returning users react freshly to the newest micro-events. Drastically vary comment lengths (from 1-word reactions to unhinged rants). Randomize layout order and reply nests.\n- EXTREME DENSITY & VOLUME: Generate a large, comprehensive feed of 15 to 25 comments. Weave 3 to 6 active, multi-nested reply threads (.mc-replies) inside each other to show real, messy comment-section arguments and community interaction.\n- EXTREME AUTHENTICITY (RUSSIAN WEB): The comments MUST look like a real Russian manga/webtoon site (like Readmanga, Mangalib, etc.). Force high variability in formatting: use heavy swearing, intentional typos (опечатки), lowercase-only text, caomoji, emoji, smile, unhinged ALL CAPS screaming, missing punctuation, slang, and toxic arguments. Include archetypes: plot/translation complainers, extreme simps thirsting over characters, grammar nazis, clueless newbies, and aggressive trolls.\n- SPOILERS: Occasionally include \"novel readers\" who drop spoilers. Wrap the spoilery parts of their text strictly in <span class=\"mc-spoiler\">spoiler text</span>.\n- All visible text inside the HTML must be in Russian. Replace every English placeholder, label, action, badge, title, time, footer line, and sample comment with Russian text.\n- Invent a chapter title, volume/part/episode, discussion mood, and comment count based on the story context.\n- Avatar blocks must use initials/letters and varied --a/--b colors on the article style.\n- Focus EXCLUSIVELY on the newest plot twists from the LATEST chapter context. {{user}} messages are part of the chapter context and must be considered alongside {{char}} messages.\n\n<think>\n1. read the moment: Analyze the chat context. What is the single dominant emotion? What just happened in the latest message?\n2. analyze reader psychology: How would fans of a manga/novel react to this exact moment? Who is furious? Who is screaming from hype? Who is crying about the cliffhanger? What memes would they drop? Identify potential spoiler points for novel readers.\n3. direct the layout: Decide the number of panels (1 to 5). Details of edge-to-edge layout, gutters mood bleeding, angles, focus, and lighting.\n4. handle the figures & intimacy: Apply Rule 7 if necessary, bypassing filters using framing and diegetic obscuration.\n5. lettering & sfx: Pick 1 to 3 lines (max 8 words, Russian) and anchors.\n6. check constraints: Ensure zero appearance tags, no forbidden art style words, no apostrophes/slashes in the image prompt string.\n7. comment factory: Create a highly dense list of 15-25 authentic, unhinged Russian comments with deep context ties, typos, caps, and nested fights.\n8. compile: Format the final output precisely inside the unified adaptive structure.\n</think>\n\nSTRICTLY OUTPUT THE EXACT STRUCTURE BELOW. Do not add markdown around or between the blocks. Do not remove the JSON wrapper or the src attribute, and never change the src value.\n\n<manga_comment>\n<style>\n/* Монолитный контейнер, полностью подстраивающийся под активную тему SillyTavern */\n.manga-page-container {\n  max-width: 600px; /* Суженный, аккуратный формат */\n  margin: 0 auto;\n  font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n  color: var(--text-color, #e3e5e8);\n  background: rgba(0, 0, 0, 0.25);\n  backdrop-filter: blur(4px);\n  border: 1px solid rgba(255, 255, 255, 0.08);\n  border-radius: 8px;\n  overflow: hidden;\n  box-shadow: 0 8px 24px rgba(0,0,0,.4);\n}\n.manga-page-container * {\n  box-sizing: border-box;\n}\n\n/* Фрейм комикса */\n.manga-frame-wrap {\n  width: 100%;\n  background: #000;\n  padding: 0;\n  display: block;\n}\n.manga-frame-wrap img {\n  width: 100%;\n  height: auto;\n  display: block;\n}\n\n/* Нативная панель реакций SillyTavern */\n.manga-action-bar {\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  padding: 8px 14px;\n  background: rgba(0, 0, 0, 0.15);\n  border-top: 1px solid rgba(255, 255, 255, 0.05);\n  border-bottom: 1px solid rgba(255, 255, 255, 0.05);\n}\n.manga-stat-item {\n  display: inline-flex;\n  align-items: center;\n  gap: 5px;\n  font-size: 9px;\n  color: var(--text-color, #a1a1aa);\n  opacity: 0.75;\n  cursor: pointer;\n  transition: opacity .2s;\n}\n.manga-stat-item:hover {\n  opacity: 1;\n}\n.manga-stat-item.liked {\n  color: #ef4444;\n  opacity: 1;\n}\n\n/* Компактная аккуратная шапка комментов */\n.mc-head {\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  padding: 10px 14px 6px;\n}\n.mc-title {\n  font-weight: 700;\n  font-size: 11px;\n  color: var(--text-color, #fff);\n  letter-spacing: -0.01em;\n}\n.mc-sub {\n  color: var(--text-color, #71717a);\n  opacity: 0.6;\n  font-size: 9.5px;\n  margin-top: 2px;\n}\n\n/* Фильтр-активность (Микро-кнопки как на скриншоте) */\n.mc-filters {\n  display: flex;\n  gap: 6px;\n  font-size: 9.5px;\n  font-weight: 600;\n}\n.mc-filter-btn {\n  color: var(--text-color, #71717a);\n  opacity: 0.5;\n  cursor: pointer;\n  padding: 3px 7px;\n  border-radius: 4px;\n  transition: all .2s;\n}\n.mc-filter-btn.active {\n  opacity: 1;\n  color: #fff;\n  background: rgba(255, 255, 255, 0.08);\n}\n\n/* Компактный скролл-бокс средней высоты */\n.mc-scroll-box {\n  max-height: 320px;\n  overflow-y: auto;\n  padding: 0 14px;\n  scrollbar-width: thin;\n  scrollbar-color: rgba(255,255,255,0.1) transparent;\n}\n.mc-scroll-box::-webkit-scrollbar {\n  width: 3px;\n}\n.mc-scroll-box::-webkit-scrollbar-track {\n  background: transparent;\n}\n.mc-scroll-box::-webkit-scrollbar-thumb {\n  background: rgba(255, 255, 255, 0.1);\n  border-radius: 10px;\n}\n\n/* Сетка комментариев */\n.mc-comment {\n  display: grid;\n  grid-template-columns: 28px 1fr; /* Меньше аватарка */\n  gap: 10px;\n  padding: 8px 0;\n  border-bottom: 1px solid rgba(255, 255, 255, 0.04);\n}\n.mc-comment:last-child {\n  border-bottom: 0;\n}\n\n.mc-avatar {\n  width: 28px;\n  height: 28px;\n  border-radius: 50%;\n  display: grid;\n  place-items: center;\n  font-weight: 700;\n  font-size: 9px;\n  color: #111;\n  text-transform: uppercase;\n  background: linear-gradient(135deg, var(--main-color, #ff5a1f), #ff9f43);\n}\n.mc-body {\n  min-width: 0;\n}\n.mc-meta {\n  display: flex;\n  gap: 6px;\n  align-items: center;\n  flex-wrap: wrap;\n  margin-bottom: 2px;\n}\n.mc-nick {\n  font-weight: 600;\n  color: var(--text-color, #e4e4e7);\n  font-size: 9.5px;\n  cursor: pointer;\n}\n.mc-nick:hover {\n  color: var(--main-color, #ff5a1f);\n}\n.mc-lvl {\n  font-size: 8.5px;\n  font-weight: 700;\n  color: var(--main-color, #ff5a1f);\n  background: rgba(255, 90, 31, 0.08);\n  border: 1px solid rgba(255, 90, 31, 0.15);\n  border-radius: 3px;\n  padding: 0px 3px;\n}\n.mc-time {\n  font-size: 9.5px;\n  color: var(--text-color, #52525b);\n  opacity: 0.6;\n}\n\n.mc-score-wrap {\n  margin-left: auto;\n  font-size: 9px;\n  font-weight: 700;\n}\n.mc-score { color: #10b981; }\n.mc-score.negative { color: #ef4444; }\n\n.mc-text {\n  margin: 0;\n  color: var(--text-color, #c4c4c7);\n  opacity: 0.95;\n  font-size: 9.5px; /* Уменьшенный аккуратный шрифт текста */\n  line-height: 1.4;\n  white-space: normal;\n  overflow-wrap: anywhere;\n}\n\n.mc-actions {\n  display: flex;\n  gap: 10px;\n  margin-top: 3px;\n  font-size: 9.5px;\n  color: var(--text-color, #52525b);\n  opacity: 0.5;\n}\n.mc-actions span {\n  cursor: pointer;\n  user-select: none;\n}\n.mc-actions span:hover {\n  opacity: 1;\n  color: var(--main-color, #ff5a1f);\n}\n\n/* Ветки ответов */\n.mc-replies {\n  margin-top: 4px;\n  padding-left: 8px;\n  border-left: 1px solid rgba(255, 255, 255, 0.08);\n}\n.mc-replies .mc-comment {\n  grid-template-columns: 22px 1fr;\n  padding: 6px 0;\n}\n.mc-replies .mc-avatar {\n  width: 22px;\n  height: 22px;\n  font-size: 8.5px;\n}\n\n/* Спойлер */\n.mc-spoiler {\n  display: inline;\n  padding: 0 3px;\n  border-radius: 2px;\n  background: rgba(255,255,255,0.12);\n  color: transparent;\n  cursor: pointer;\n  transition: all .2s;\n  text-shadow: 0 0 6px var(--text-color, #fff);\n}\n.mc-spoiler:hover {\n  color: var(--text-color, #fff);\n  text-shadow: none;\n  background: rgba(255,255,255,0.2);\n}\n\n/* Подвал */\n.mc-footer {\n  padding: 8px 14px;\n  border-top: 1px solid rgba(255, 255, 255, 0.05);\n  background: rgba(0, 0, 0, 0.1);\n  color: var(--text-color, #52525b);\n  opacity: 0.5;\n  font-size: 9.5px;\n  display: flex;\n  justify-content: space-between;\n}\n\n@media(max-width:800px){\n  .manga-page-container { border-radius: 0; border: none; }\n  .mc-scroll-box { max-height: 260px; }\n}\n</style>\n\n<div class=\"manga-page-container\">\n  <div class=\"manga-frame-wrap\">\n    <img data-iig-instruction='{\"prompt\":\"[INSERT CONTINUOUS PROMPT STRING HERE]\",\"aspect_ratio\":\"{{random:9:16::2:3::3:4}}\",\"image_size\":\"2K\"}' src=\"[IMG:GEN]\">\n  </div>\n\n  <div class=\"manga-action-bar\">\n    <div class=\"manga-stat-item liked\">\n      <span>❤️</span> <span>8.7k</span>\n    </div>\n    <div class=\"manga-stat-item\">\n      <span>⭐</span> <span>В закладки</span>\n    </div>\n    <div class=\"manga-stat-item\">\n      <span>🔄</span> <span>Поделиться</span>\n    </div>\n  </div>\n\n  <header class=\"mc-head\">\n    <div>\n      <div class=\"mc-title\">Обсуждение главы: [Название]</div>\n      <div class=\"mc-sub\">[Том / Глава]</div>\n    </div>\n    <div class=\"mc-filters\">\n      <span class=\"mc-filter-btn active\">Популярные</span>\n      <span class=\"mc-filter-btn\">Новые</span>\n    </div>\n  </header>\n\n  <div class=\"mc-scroll-box\">\n    <div class=\"mc-feed\">\n      \n      <article class=\"mc-comment\" style=\"--a:#ff5a1f;--b:#ff8f50\">\n        <div class=\"mc-avatar\">СК</div>\n        <div class=\"mc-body\">\n          <div class=\"mc-meta\">\n            <span class=\"mc-nick\">Симп_Капитаны</span>\n            <span class=\"mc-lvl\">lvl 88</span>\n            <span class=\"mc-time\">2 мин. назад</span>\n            <div class=\"mc-score-wrap\"><span class=\"mc-score\">+342</span></div>\n          </div>\n          <p class=\"mc-text\">ОМАГАД ОН СНИМАЕТ ПЕРЧАТКИ Я СЕЙЧАС УМРУ ОТ ИНФАРКТА. Вызывайте скорую, я не доживу до следующей недели!!!</p>\n          <div class=\"mc-actions\">\n            <span>Ответить</span>\n            <span>Пожаловаться</span>\n          </div>\n          \n          <div class=\"mc-replies\">\n            <article class=\"mc-comment\" style=\"--a:#4bc0c0;--b:#36a2eb\">\n              <div class=\"mc-avatar\">КВ</div>\n              <div class=\"mc-body\">\n                <div class=\"mc-meta\">\n                  <span class=\"mc-nick\">Квасной_Воин</span>\n                  <span class=\"mc-time\">1 мин. назад</span>\n                  <div class=\"mc-score-wrap\"><span class=\"mc-score\">+45</span></div>\n                </div>\n                <p class=\"mc-text\">Реально, то как он закрыл дверь и отрезал шум улицы... эта режиссура просто 10/10. Капкан захлопнулся 🌚</p>\n                <div class=\"mc-actions\">\n                  <span>Ответить</span>\n                </div>\n              </div>\n            </article>\n          </div>\n\n        </div>\n      </article>\n\n    </div>\n  </div>\n\n  <footer class=\"mc-footer\">\n    <span>Панель дискуссии rp-live</span>\n    <span>Всего отзывов: [Общее число комментов]</span>\n  </footer>\n</div>\n</manga_comment>\n",
    "generation_pause": false,
    "period": 1,
    "keyword": "",
    "keyword_is_regex": false,
    "hide_display": false,
    "inject_block": false,
    "injection_role": 0,
    "injection_position": 1,
    "injection_depth": 1,
    "generation_order": "after",
    "background": false,
    "context": [
        {
            "id": "2b5e0e3e-9c35-41c0-901c-47bdd4f5d120",
            "name": "чат",
            "role": "user",
            "type": "last_messages",
            "disabled": false,
            "messages_count": 10,
            "messages_offset": 0,
            "messages_separator": "double_newline",
            "user_prefix": "",
            "user_suffix": "",
            "char_prefix": "",
            "char_suffix": ""
        },
        {
            "id": "bb16c80c-668f-479e-bd3e-d9dd0eed3021",
            "name": "блок",
            "role": "user",
            "type": "previous_block",
            "disabled": false,
            "block_name": "",
            "block_count": 1
        },
        {
            "id": "82586b50-cbc0-4a34-9a30-1bad8924658d",
            "name": "юзер",
            "role": "user",
            "type": "text",
            "disabled": false,
            "text": "Одежда {{user}}: \n{{persona}}"
        },
        {
            "id": "7628c77a-ccd3-4e20-a024-9e00df97553b",
            "name": "{{char}}",
            "role": "user",
            "type": "text",
            "disabled": false,
            "text": "{{char}}/npc внешность и одежда: {{description}}"
        }
    ],
    "api_preset": "big"
}