現在の4ファイルに共通で採用されている正式構造の定義です。本文は `https://trick2009trick.blogspot.com/2026/10/399.html` の post-body をそのままヒト/問い/AI分離に再配置しています。
## 1. HTML構造定義(正式採用版)
### 基本骨格
```html
<!DOCTYPE html>
<html lang="ja">
<head>
meta charset/viewport
title: 草稿 Einstein 氏の さぼり 399 ...
style :root 変数定義
MathJax config
</head>
<body class="dark-mode">
div.settings-ui // 上部UI 非固定
h1 タイトル
div.link-section // 先頭リンク2本
div.message.human-message // 🧑 ヒト側
div.message.prompt-message // 💬 問い
div.message.ai-message // 🤖 AI側
div.link-section // 末尾リンク / 背景記事7選
script
</body>
</html>
--base-font-size: 22px
--base-line-height: 1.95
--bg-color: #f4f5f7 / dark: #121212
--text-color: #111 / dark: #e8e8e8
--human-bg: #e3f2fd / dark: #1a2f4a border: #1565c0
--prompt-bg: #fff8e1 / dark: #3a3220 border: #f9a825
--ai-bg: #e8f5e9 / dark: #1e3324 border: #2e7d32
.settings-ui {
position: relative; /* sticky禁止、スクロールで消える */
top: auto;
z-index: 1;
background: var(--human-bg);
border: 2px solid var(--box-border);
border-radius: 10px;
}
--base-font-size 更新lh = 1.35 + (fontSize/38)*0.95 で自動計算.link-section { background:#fff; border:1px solid var(--box-border); padding:18px; border-radius:10px; margin-bottom:22px; }
<div class="message human-message">
<div class="label">🧑 HUMAN / ヒト側</div>
本文 p / img / hr / blockquote
</div>
<div class="message prompt-message">
<div class="label">💬 PROMPT / 問い</div>
</div>
<div class="message ai-message">
<div class="label">🤖 AI / 解答側</div>
</div>
.message img { max-width:100%; border-radius:8px; margin:16px 0; display:block; }blogger.googleusercontent.com 画像をw640で保持window.MathJax = { tex: { inlineMath: [['$','$'],['\\(','\\)']], displayMath: [['$$','$$'],['\\[','\\]']] } }
body.force-inline mjx-container[display="true"] { display:inline-block !important; }
body.force-display mjx-container[display="false"] { display:block !important; margin:1.0em 0 !important; text-align:center; }
auto: 標準inline: 全数式をインライン統一display: 全数式を独立行統一filename = `_Einstein399_${AI}_${yyyyMMddhhmmss}_human_ai_distinct.html`
blob = "<!DOCTYPE html>\n" + document.documentElement.outerHTML
AI名 + 時刻付きで保存。
ファイル名で役割分担:
einstein_399_final.html = 最終版einstein_399_official_adopted.html = official adopted版(同内容、採用履歴保持)einstein_official_prompt_template.html = プロンプト雛形版(同内容、他記事への転用用)einstein_398_final_v2.html = 398版(ChatGPT側、構造のみ同一)プロンプト本文構造(prompt-message内):
Pythonスクリプトの話は しない 参考資料だ以下の 7つの背景記事を読んだ上で、最後に提示する対象記事について分析・解説俺の文書をまとめ 何を俺が 問うことしようとしてるのか考えてまだ俺は文書の途中までしか 入力していないことも考慮してくれ運用ルール:
div.post-body 内をヒト/問い/AIに分解、リンクは link-sectionへ分離message img として保持$ $ / $$ $$ をそのまま、MathJaxで描画position: sticky にしない(非常駐が正式)