/* coast-fantasy viewer — quiet, paper-like, coastal */

html { font-size: 20px; }   /* 5K2K等の高解像度モニタ向け基準サイズ */

/* インデックス・ドキュメント系は全体を 150% スケールで表示（reader は対象外、ビューア側で個別調整可能のため） */
body.index, body.doc { zoom: 1.5; }

:root {
  --bg: #f7f3ec;            /* オフホワイト寄りの砂浜ベージュ */
  --bg-soft: #efe9df;
  --ink: #2c2a26;
  --ink-soft: #6c655c;
  --rule: #d9d0c2;
  --accent: #5e7e8c;        /* くすんだ海の青 */
  --accent-soft: #91a8b2;
  --hm-0: #ece5d6;
  --hm-1: #c8d4cd;
  --hm-2: #9bb6b6;
  --hm-3: #6f93a0;
  --hm-4: #4b6e7c;

  --reader-font-size: 1.65rem;
  --reader-line-height: 1.95;
  --reader-margin: 3rem;
  --reader-max-width: 1100px;
}

[data-theme='dark'] {
  --bg: #1f2024;
  --bg-soft: #26272c;
  --ink: #e6e2d8;
  --ink-soft: #9e9a90;
  --rule: #3a3b40;
  --accent: #8fb1bd;
  --accent-soft: #6c8a95;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', YuMincho, serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.muted { color: var(--ink-soft); }

/* ---------- index ---------- */

body.index {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 64px 120px;
}

.site-header h1 {
  font-size: 38px;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  font-weight: 500;
}
.site-header .subtitle {
  color: var(--ink-soft);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 40px;
}

.stats {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats .num {
  font-size: 32px;
  color: var(--accent);
  font-weight: 500;
}
.stats .label {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.heatmap-section, .char-stats, .recent-updates {
  margin-bottom: 36px;
}
.heatmap-section h3, .char-stats h3, .recent-updates h3 {
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 500;
  margin: 0 0 12px;
}

.recent-updates .recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.recent-updates .recent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--rule);
}
.recent-updates .recent-row:last-child {
  border-bottom: none;
}
.recent-updates .update-date {
  color: var(--ink-soft);
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 12px;
  flex-shrink: 0;
  min-width: 88px;
}
.recent-updates .update-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  min-width: 56px;
}
.recent-updates .update-new {
  background: linear-gradient(135deg, #2d4a5a 0%, #3a5d70 100%);
  color: #cce0ec;
}
.recent-updates .update-revision {
  background: linear-gradient(135deg, #4a3d2d 0%, #5d4d3a 100%);
  color: #ecdfcc;
}
[data-theme='dark'] .recent-updates .update-new {
  background: linear-gradient(135deg, #1f3340 0%, #2a4250 100%);
  color: #b0c5d2;
}
[data-theme='dark'] .recent-updates .update-revision {
  background: linear-gradient(135deg, #332a1f 0%, #44382a 100%);
  color: #d2c5b0;
}
.recent-updates .recent-row a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.recent-updates .recent-row a:hover {
  color: var(--accent);
}
.recent-updates .ep {
  color: var(--ink-soft);
  font-size: 12px;
  font-family: 'SF Mono', Consolas, monospace;
}
.recent-updates .title {
  font-weight: 500;
}
.heatmap { display: block; max-width: 100%; }
.hm-0 { fill: var(--hm-0); }
.hm-1 { fill: var(--hm-1); }
.hm-2 { fill: var(--hm-2); }
.hm-3 { fill: var(--hm-3); }
.hm-4 { fill: var(--hm-4); }

.char-stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.char-stats li { font-size: 16px; }
.char-stats .count {
  color: var(--ink-soft);
  font-size: 13px;
  margin-left: 4px;
}

.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  align-items: center;
}
.filters select, .filters button {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 12px;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 4px;
  cursor: pointer;
}

.season {
  margin-bottom: 40px;
}
.season h2 {
  font-size: 22px;
  letter-spacing: 0.06em;
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin: 0 0 18px;
}

.scene-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.scene-row {
  padding: 16px 0;
  border-bottom: 1px dashed var(--rule);
}
.scene-row a {
  display: flex;
  gap: 14px;
  align-items: baseline;
  color: var(--ink);
}
.scene-row .ep {
  color: var(--accent-soft);
  font-size: 15px;
  letter-spacing: 0.08em;
}
.scene-row .title {
  font-size: 19px;
}
.scene-row .meta {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 6px;
  padding-left: 4px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 1px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-soft);
}

/* ---------- reader ---------- */

body.reader {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

.reader-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 12px 24px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.reader-header .back { margin-right: auto; }
.reader-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.reader-controls button, .reader-controls input {
  font-family: inherit;
  font-size: 12px;
}
.reader-controls button {
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--ink);
  border-radius: 4px;
  cursor: pointer;
}
.reader-controls button:disabled { opacity: 0.3; cursor: default; }
.reader-controls label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
}

.scene-body {
  /* max-widthはスライダーで調整可能、widthは100%で画面幅まで広がる */
  width: 100%;
  max-width: var(--reader-max-width);
  margin: 0 auto;
  /* 上下paddingは固定、左右paddingは可変（スライダー） */
  padding: 64px var(--reader-margin) 96px;
  /* min-heightを設定してフッター位置の揺れを抑える */
  min-height: calc(100vh - 60px);
}
.scene-body h1 {
  font-size: 22px;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin: 0 0 8px;
}
.scene-body .meta {
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.scene-body .prose {
  font-size: var(--reader-font-size);
  line-height: var(--reader-line-height);
}
.scene-body .prose p {
  margin: 0 0 1.4em;
  text-indent: 1em;
}
/* 本文中の最初のh1は読者ページのヘッダーで別途表示するので非表示にする保険 */
.scene-body .prose > h1:first-child { display: none; }

/* 縦書きモード */
body.reader[data-vertical='true'] .scene-body {
  writing-mode: vertical-rl;
  height: 80vh;
  max-width: none;
  margin: 40px auto;
  padding: 40px var(--reader-margin);
  overflow-x: auto;
  overflow-y: hidden;
}
body.reader[data-vertical='true'] .scene-body .prose p { text-indent: 1em; }

/* ---------- site nav ---------- */

.site-nav {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.site-nav a {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  padding-bottom: 4px;
}
.site-nav a:hover { color: var(--accent); text-decoration: none; }

.reader-header .site-nav {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: none;
  gap: 16px;
}
.reader-header .site-nav a { font-size: 12px; }

/* ---------- characters index ---------- */

.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.char-card {
  display: block;
  padding: 20px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink);
  transition: border-color 0.15s;
}
.char-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.char-card h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.char-card .meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-soft);
}
.char-card .role {
  color: var(--accent);
}

/* ---------- doc body (character detail / world) ---------- */

body.doc {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

.doc-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 6rem;
}
.doc-body .prose {
  font-size: 1.1rem;
  line-height: 1.9;
}
.doc-body .prose h1 {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.doc-body .prose h2 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 36px 0 14px;
  color: var(--accent);
}
.doc-body .prose h3 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 22px 0 10px;
  color: var(--ink-soft);
}
.doc-body .prose p { margin: 0 0 1.1em; }
.doc-body .prose ul, .doc-body .prose ol {
  padding-left: 1.5em;
  margin: 0 0 1.1em;
}
.doc-body .prose li { margin-bottom: 6px; }
.doc-body .prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 28px;
  font-size: 0.95rem;
}
.doc-body .prose th, .doc-body .prose td {
  border: 1px solid var(--rule);
  padding: 6px 10px;
  text-align: left;
}
.doc-body .prose th {
  background: var(--bg-soft);
  font-weight: 500;
  color: var(--ink-soft);
}
.doc-body .prose code {
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 3px;
}

.world-toc {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.world-section + .world-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px dashed var(--rule);
}

/* ---------- v3: scene-row 拡張バッジ群 ---------- */

.scene-row .scene-summary {
  font-size: 14px;
  color: var(--text);
  margin: 6px 0 8px 4px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.scene-row .badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
  padding-left: 4px;
  font-size: 11px;
}

.surprise-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 20px;
  padding: 0 7px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  background: #3b5a78;
}
.surprise-badge.none {
  background: transparent;
  color: var(--rule);
  font-weight: 400;
}

.element-badge {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  background: var(--bg-soft);
}

.foreshadow-icon {
  display: inline-block;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  cursor: help;
}
.foreshadow-icon.plant { color: #6f8a3a; }
.foreshadow-icon.resolve { color: #5e7e8c; }

.warning-icon {
  display: inline-block;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #f3d9b5;
  color: #8a4a18;
  cursor: help;
}

[data-theme='dark'] .warning-icon {
  background: #4a3a1c;
  color: #e8c79a;
}

.revision-icon {
  display: inline-block;
  font-size: 11px;
  color: var(--accent-soft);
  cursor: help;
}

.turns-badge {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-family: 'SF Mono', Consolas, monospace;
}

/* Codex最終版アイコン：本作の深海色とは別軸の深い藍紫で識別性を確保 */
.codex-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  margin-left: 6px;
  border-radius: 3px;
  background: linear-gradient(135deg, #3a2e5a 0%, #4d3e75 100%);
  color: #d8cce8;
  letter-spacing: 0.08em;
  font-family: 'SF Mono', Consolas, monospace;
  vertical-align: middle;
  cursor: help;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

[data-theme='dark'] .codex-badge {
  background: linear-gradient(135deg, #2a2042 0%, #3a2e5a 100%);
  color: #b5a9cc;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 部分採用版：フルCDXより一段くすませた色味で「全部Codex化ではない」ことを示唆 */
.codex-badge.codex-partial {
  background: linear-gradient(135deg, #3a3142 0%, #4d4255 100%);
  color: #c8bdd0;
}

[data-theme='dark'] .codex-badge.codex-partial {
  background: linear-gradient(135deg, #2a2530 0%, #3a3340 100%);
  color: #a89eb0;
}

/* reader 側のタイトル横では少し大きめに */
.scene-body article h1 .codex-badge,
.reader article h1 .codex-badge {
  font-size: 12px;
  padding: 3px 10px;
  margin-left: 12px;
  vertical-align: 0.25em;
}

/* ---------- v3: 意外性曲線 ---------- */

.surprise-section {
  margin-bottom: 36px;
}
.surprise-section h3 {
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 500;
  margin: 0 0 12px;
}
.surprise-curve {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.surprise-curve .axis-label {
  font-size: 11px;
  fill: var(--ink-soft);
  font-family: inherit;
}
.surprise-curve .axis-grid {
  stroke: var(--rule);
  stroke-width: 0.5;
  stroke-dasharray: 2 4;
}

.curve-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ---------- v3: references.html ---------- */

.ref-section {
  margin-bottom: 56px;
}
.ref-section h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.ref-section h2 .muted {
  font-size: 11px;
  font-family: 'SF Mono', Consolas, monospace;
  letter-spacing: 0;
  margin-left: 12px;
}

.refs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.ref-card {
  padding: 20px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.ref-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.ref-card .ref-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.ref-card .ref-slug {
  font-family: 'SF Mono', Consolas, monospace;
}
.ref-card .ref-usage {
  color: var(--accent);
}
.ref-card .ref-usage.muted {
  color: var(--ink-soft);
}
.ref-card .ref-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-height: 320px;
  overflow: hidden;
  position: relative;
}
.ref-card .ref-body h1 { display: none; }
.ref-card .ref-body h2 {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 12px 0 4px;
}

.constraints-pool {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.constraints-block h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink-soft);
}
.constraint-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  margin: 4px 6px 4px 0;
  color: var(--ink);
  background: var(--bg-soft);
}
.constraint-chip.used {
  border-color: var(--accent);
  color: var(--accent);
}
.constraint-chip .chip-count {
  font-size: 10px;
  font-family: 'SF Mono', Consolas, monospace;
  color: var(--ink-soft);
}

/* ---------- v3: foreshadowing.html ---------- */

.foreshadow-section {
  margin-bottom: 48px;
}
.foreshadow-section h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  color: var(--accent);
}

.foreshadow-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.foreshadow-table th, .foreshadow-table td {
  padding: 8px 10px;
  border: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
}
.foreshadow-table th {
  background: var(--bg-soft);
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.foreshadow-table .fs-id {
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 12px;
  color: var(--accent);
}

.foreshadow-bar {
  position: relative;
  width: 100%;
  height: 18px;
  background: var(--bg-soft);
  border-radius: 3px;
  overflow: hidden;
}
.foreshadow-bar .bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent-soft);
}
.foreshadow-bar.resolved .bar-fill {
  background: #91a89e;
}
.foreshadow-bar .bar-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ink);
}

.density-row {
  display: grid;
  grid-template-columns: 100px 1fr 220px;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}
.density-season {
  font-weight: 500;
  color: var(--ink);
}
.density-bar {
  position: relative;
  height: 14px;
  background: var(--bg-soft);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
}
.density-bar .bar-plant {
  background: #b6c08c;
  height: 100%;
}
.density-bar .bar-resolve {
  background: var(--accent-soft);
  height: 100%;
}

/* ---------- v3: scene reader bottom nav ---------- */

.scene-nav-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  align-items: stretch;
}

.scene-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.scene-nav-link:hover {
  border-color: var(--accent);
  background: var(--bg);
  text-decoration: none;
}
.scene-nav-link.prev { text-align: left; }
.scene-nav-link.next { text-align: right; }
.scene-nav-link.disabled {
  opacity: 0.4;
  border-style: dashed;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-soft);
}

.scene-nav-link .nav-arrow {
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.scene-nav-link .nav-meta {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}
.scene-nav-link .nav-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.scene-nav-index {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.scene-nav-index:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* 縦書きモード時はナビを横書きで保つ */
body.reader[data-vertical='true'] .scene-nav-bottom {
  writing-mode: horizontal-tb;
  margin-top: 32px;
}
