.rp-fab {
  display: grid; place-items: center; position: fixed; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  font: 700 1rem var(--font-display); color: var(--accent-ink); background: var(--accent); border: 0; cursor: pointer;
  box-shadow: 0 6px 20px -4px #000a;
}
.rp-tools {
  display: none; position: fixed; z-index: 40; right: 14px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); gap: 6px;
  padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px -6px #000b;
}
.rp-tools.open { display: flex; }
.rp-tools button {
  height: 44px; min-width: 44px; padding: 0 12px; font: 600 .9rem var(--font-text); color: var(--ink);
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.rp-tools button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
main.rp-paper { --ink: #2b2118; --muted: #7a6a58; --line: #dccdb4; --surface: #efe5d0; --accent: #8a5a1c; background: #f4ecdc; color: #2b2118; }
main.rp-paper h1, main.rp-paper h2, main.rp-paper h3 { background: none; color: #2b2118; -webkit-text-fill-color: #2b2118; }
main.rp-paper .world-part h2 { color: #8a5a1c; -webkit-text-fill-color: #8a5a1c; }
