Skip to content
rubiiAfter Hours
Enter Rubii
← All articles

Creator guide № 005

Styles & regex cookbook: 71 looks for your Moments

Phone threads, sealed letters, quest logs, subtitles, temple fortune slips: 71 copy-paste looks for Rubii Moments, each with the one line that makes your character write it.

A mosaic of chat replies styled as a phone thread, a sealed letter, a game window, a subtitle track and a fortune slip.

A reply doesn't have to look like a reply. It can arrive as a text at 2 a.m., a letter sealed in red wax, a quest window, a subtitle track or a temple fortune slip.

Every look in this cookbook is built the same way: the character writes a short marker, and your Moment's Styles & regex turns it into the finished panel. The model never writes HTML, so replies stay light and the story keeps its room.

Add a look in four steps

  1. Open your Moment in the Moment editor and go to Styles & regex (on Web and in the app).
  2. Copy the look's style tags, global CSS and regex rules into the matching sections. Each card below lists them in the same order as the editor.
  3. Paste the setting line into the Moment setting, then write the opening so it uses every marker once, with real values. The character copies the opening more faithfully than any rule.
  4. Tap Preview, save, and read a real reply in chat, on Web and in the app.

Pick the look from the story

  • Ask what object or screen this Moment lives on: a phone at night, a contract on the table, a dungeon, a palace, a camera. Use one main look per Moment, plus a small helper or two.
  • Give each Moment of a character its own look. A new look makes a second chat feel new; the same panel in a new colour does not.
  • Make it yours: rename the classes, pick one accent colour for the character, and translate the fixed words inside the templates.

The catalogue

Phones & social media

Modern romance, idols, streamers, office drama, stalker-lite thrillers: whenever the story lives on a screen.

Preview
Messaging thread

Messaging thread

Good for
Texting at 2 a.m., long-distance couples, a secret admirer, a boss who texts too late. The whole scene can happen in bubbles.
The character writes
[in 23:41] text for the character's messages, [out 23:42] text for yours, <dm>Name · status</dm> for the header.
Put this in the Moment setting
When {{char}} texts, write the thread line by line: `[in HH:MM] message` for {{char}}'s texts and `[out HH:MM] message` for {{user}}'s, one message per line, times moving forward. Start a thread with `<dm>{{char}} · online</dm>` on its own line. Keep narration outside the thread, separated by an empty line.
In the app
Full design. Bubbles take their full max-width instead of shrinking to short texts.
On Web
Bubbles shrink to fit short texts.
Tip
Change the bubble gradient to the character's colour. Rename the labels ([เขา 23:41], [他 23:41]) if the card is not in English.
Copy the Styles & regex

Style tagsdm

Tag name
dm
HTML template
<div class="dm-top"><span class="dm-av">&nbsp;</span><span class="dm-name">$1</span></div>
Apply to
Character messages

Global CSS

.dm-top{display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:8px 12px;border-radius:14px;background:rgba(20,22,28,.82);border:1px solid rgba(255,255,255,.08);font-size:13px;color:#e8ebf2}
.dm-av{display:block;width:22px;height:22px;border-radius:999px;background:linear-gradient(135deg,#7aa7ff,#b58cff)}
.dm-name{font-weight:600}
.dm-row{display:flex;justify-content:flex-start;margin:4px 0}
.dm-r{justify-content:flex-end}
.dm-in,.dm-out{max-width:270px;padding:7px 12px;font-size:14px;line-height:20px}
.dm-in{border-radius:16px 16px 16px 4px;background:#262a33;color:#eef1f6}
.dm-out{border-radius:16px 16px 4px 16px;background:linear-gradient(135deg,#4f7dff,#7b5cff);color:#fff}
.dm-t{display:block;margin-top:2px;font-size:10px;line-height:14px;text-align:right;color:rgba(255,255,255,.62)}

Regex 1

Name
dm in
Expression
/^\[in (\d{1,2}[:.]\d{2})\] ?(.{1,400})$/gm
Replacement
<div class="dm-row"><div class="dm-in">$2<span class="dm-t">$1</span></div></div>
Apply to
All messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
dm out
Expression
/^\[out (\d{1,2}[:.]\d{2})\] ?(.{1,400})$/gm
Replacement
<div class="dm-row dm-r"><div class="dm-out">$2<span class="dm-t">$1 · Read</span></div></div>
Apply to
All messages
Matches in
Raw content (with HTML tags)
Preview
Group chat with per-person colours

Group chat with per-person colours

Good for
Friend groups, idol members, a guild channel, a family chat that is far too loud. Each speaker gets their own colour automatically.
The character writes
@Name: message, one per line. The name becomes a CSS class, so each cast member can have a colour.
Put this in the Moment setting
When the friends' group chat comes up, write each message on its own line as `@Name: message`, using only these names: Kai, Mina, Joon, Pim. Several people may talk in a row. Leave an empty line before and after the chat.
In the app
Full design. Unknown names fall back to the neutral colour.
On Web
Same as the app.
Tip
Add one .gc-Name line per cast member. Names must be ASCII letters for the class trick; keep a fixed cast list in the setting.
Copy the Styles & regex

Global CSS

.gc{display:flex;align-items:flex-start;gap:8px;margin:6px 0}
.gc-av{display:inline-block;width:26px;height:26px;border-radius:999px;background:#39404d;color:#fff;font-size:12px;font-weight:700;line-height:26px;text-align:center}
.gc-body{padding:6px 10px;border-radius:4px 14px 14px 14px;background:rgba(24,26,32,.85);max-width:280px}
.gc-n{font-size:11px;font-weight:700;line-height:16px;color:#9fb0c8}
.gc-m{font-size:14px;line-height:20px;color:#eceff4}
.gc-Mina .gc-n{color:#ff9ec7}
.gc-Mina .gc-av{background:#b0457a}
.gc-Joon .gc-n{color:#8fd4ff}
.gc-Joon .gc-av{background:#2f6fa3}
.gc-Pim .gc-n{color:#ffd37a}
.gc-Pim .gc-av{background:#a0762a}
.gc-Kai .gc-n{color:#9ff0c4}
.gc-Kai .gc-av{background:#2c8a5f}

Regex 1

Name
gc line
Expression
/^@(([A-Za-z])[\w-]{0,15})[::] ?(.{1,400})$/gm
Replacement
<div class="gc gc-$1"><span class="gc-av">$2</span><div class="gc-body"><div class="gc-n">$1</div><div class="gc-m">$3</div></div></div>
Apply to
All messages
Matches in
Raw content (with HTML tags)
Preview
Social media post

Social media post

Good for
An idol's update, a rival's humble-brag, a leaked photo, a public proposal. The feed becomes a plot device.
The character writes
[post @handle | caption | likes] on one line.
Put this in the Moment setting
When someone posts publicly, show the post on its own line as `[post @handle | caption | like count]`, for example `[post @kai.builds | finally done | 2.4k]`. At most one post per reply, then continue the scene.
In the app
Full design.
On Web
Same as the app.
Tip
Swap the photo gradient for a real image with <img src=…> in the replacement if you host one (the app shows any https image).
Copy the Styles & regex

Global CSS

.sp{margin:10px 0;border-radius:14px;overflow:hidden;background:#15171c;border:1px solid rgba(255,255,255,.1)}
.sp-h{display:flex;align-items:center;gap:8px;padding:10px 12px;font-size:13px}
.sp-av{display:block;width:26px;height:26px;border-radius:999px;background:linear-gradient(45deg,#ffb86b,#ff5f8f,#9c6bff)}
.sp-u{font-weight:700;color:#f3f4f7}
.sp-time{color:rgba(255,255,255,.62)}
.sp-img{height:120px;text-shadow:none;background:linear-gradient(160deg,#3a2f5c,#1f3b4d 55%,#e08a5c);color:rgba(255,255,255,.7);font-size:26px;line-height:120px;text-align:center}
.sp-c{padding:10px 12px 4px;font-size:14px;line-height:20px;color:#eef0f4}
.sp-f{display:flex;gap:16px;padding:6px 12px 10px;font-size:12px;color:rgba(255,255,255,.66)}
.sp-like{color:#ff7a9a;font-weight:700}

Regex 1

Name
post
Expression
/^\[post @([\w.]{1,30}) ?\| ?([^|\n]{1,500}?) ?\| ?([\w.,]{1,12})\]$/gm
Replacement
<div class="sp"><div class="sp-h"><span class="sp-av">&nbsp;</span><span class="sp-u">@$1</span><span class="sp-time">· just now</span></div><div class="sp-img">📷</div><div class="sp-c">$2</div><div class="sp-f"><span class="sp-like">♥ $3</span><span>💬 reply</span><span>↗ share</span></div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Comment section

Comment section

Good for
The internet reacts: fans ship you, antis attack, classmates gossip under a confession post. Great for public-image stories.
The character writes
💬 name: comment, one per line.
Put this in the Moment setting
When the public reacts online, add 2–4 comments, each on its own line as `💬 username: comment`. Usernames are short and invented; comments sound like real netizens.
In the app
Full design.
On Web
Same as the app.
Tip
Pair with the social post concept: the post first, then its comments.
Copy the Styles & regex

Global CSS

.cm{margin:0;padding:8px 12px;border-left:2px solid #5b6cff;background:rgba(18,20,30,.75)}
.cm-n{font-size:11px;font-weight:700;line-height:16px;color:#a9b4ff}
.cm-t{font-size:13px;line-height:19px;color:#e4e7f0}

Regex 1

Name
cm
Expression
/^💬 ?([^::\n]{1,24})[::] ?(.{1,300})$/gmu
Replacement
<div class="cm"><div class="cm-n">$1</div><div class="cm-t">$2</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Livestream chat & gifts

Livestream chat & gifts

Good for
Streamer and VTuber romances, a live cooking show, a debut stage, a horror stream going wrong.
The character writes
<live>viewer count</live>, then [chat] name: text and [gift] name sent gift lines.
Put this in the Moment setting
While {{char}} is live, open the reply with `<live>12.4k watching</live>` (numbers change with the mood), then show 2–4 viewer lines as `[chat] name: message` and, when someone sends a gift, `[gift] name sent 🌹 ×10`. Then {{char}} reacts on stream.
In the app
Full design.
On Web
Same as the app.
Tip
Keep 2–4 chat lines; more crowds out the story.
Copy the Styles & regex

Style tagslive

Tag name
live
HTML template
<div class="lv-top"><span class="lv-dot">● LIVE</span><span class="lv-n">$1</span></div>
Apply to
Character messages

Global CSS

.lv-top{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:12px}
.lv-dot{padding:2px 8px;border-radius:6px;background:#ff2d55;color:#fff;font-weight:800;letter-spacing:.5px}
.lv-n{color:rgba(255,255,255,.8)}
.lv-c{margin:2px 0;padding:3px 10px;border-radius:10px;background:rgba(0,0,0,.45);font-size:13px;line-height:19px;color:#f1f1f1;max-width:300px}
.lv-u{font-weight:700;color:#7fe0ff}
.lv-g{margin:6px 0;padding:6px 12px;border-radius:999px;background:linear-gradient(90deg,#ff5fa2,#ffb35c);color:#fff;font-size:13px;font-weight:700;max-width:300px}

Regex 1

Name
lv chat
Expression
/^\[chat\] ?([^::\n]{1,20})[::] ?(.{1,200})$/gm
Replacement
<div class="lv-c"><span class="lv-u">$1</span> $2</div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
lv gift
Expression
/^\[gift\] ?(.{1,120})$/gm
Replacement
<div class="lv-g">🎁 $1</div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Lock-screen notifications

Lock-screen notifications

Good for
Peeking at someone's phone, a flood of messages after a scandal, a mysterious sender, yandere-lite 47 missed messages.
The character writes
<lock>time</lock> for the clock, then [notif App | Title | text] lines.
Put this in the Moment setting
When a phone screen lights up, show it as `<lock>HH:MM</lock>` and then 1–4 lines of `[notif App | Sender or title | text]`. Use this only when someone looks at a phone.
In the app
Full design. The clock uses a light font weight where the device has one.
On Web
Same as the app.
Tip
Great as a cliffhanger at the end of a reply.
Copy the Styles & regex

Style tagslock

Tag name
lock
HTML template
<div class="ls-clock">$1</div>
Apply to
Character messages

Global CSS

.ls-clock{margin:4px 0 10px;font-size:44px;font-weight:200;line-height:52px;text-align:center;color:#f4f6fb;letter-spacing:1px}
.ls-n{margin:6px 0;padding:9px 12px;border-radius:16px;background:rgba(58,62,74,.72);border:1px solid rgba(255,255,255,.08)}
.ls-app{font-size:11px;line-height:15px;color:rgba(255,255,255,.62);text-transform:uppercase;letter-spacing:.6px}
.ls-title{font-size:13px;font-weight:700;line-height:18px;color:#fff}
.ls-text{font-size:13px;line-height:18px;color:#dfe3ea}

Regex 1

Name
notif
Expression
/^\[notif ([^|\n]{1,20}) ?\| ?([^|\n]{1,40}) ?\| ?(.{1,200})\]$/gm
Replacement
<div class="ls-n"><div class="ls-app">$1 · now</div><div class="ls-title">$2</div><div class="ls-text">$3</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Call screen & missed calls

Call screen & missed calls

Good for
The call that interrupts a kiss, a 3 a.m. call from an ex, horror: 13 missed calls from a number that no longer exists.
The character writes
[call Name | status] for a call screen, [missed Name ×N] for missed calls.
Put this in the Moment setting
When a phone rings, show `[call Caller | incoming call]` on its own line (or `[call Caller | 04:12]` while talking). Missed calls are `[missed Caller ×N]`. Use it at most once per reply.
In the app
Full design. The buttons are decoration (nothing in chat is clickable).
On Web
Same as the app.
Tip
Horror version: set .cs to a red-black gradient and the status to no caller ID.
Copy the Styles & regex

Global CSS

.cs{margin:10px 0;padding:16px 12px 14px;border-radius:20px;background:linear-gradient(180deg,#1d2733,#0f1419);border:1px solid rgba(255,255,255,.08);text-align:center}
.cs-st{font-size:12px;line-height:16px;color:rgba(255,255,255,.66);letter-spacing:.5px}
.cs-name{margin:2px 0 12px;font-size:24px;font-weight:300;line-height:32px;color:#fff}
.cs-btns{display:flex;justify-content:center;gap:56px}
.cs-no,.cs-yes{display:inline-block;width:44px;height:44px;border-radius:999px;color:#fff;font-size:20px;line-height:44px;text-align:center}
.cs-no{background:#ff3b30}
.cs-yes{background:#34c759}
.cs-m{display:flex;align-items:center;gap:8px;margin:2px 0;padding:6px 12px;border-radius:12px;background:rgba(40,12,14,.7);font-size:13px}
.cs-mi{color:#ff5a52}
.cs-mn{font-weight:700;color:#ff8a84}
.cs-mc{color:#ff8a84}
.cs-ml{margin-left:auto;font-size:11px;color:rgba(255,255,255,.62)}

Regex 1

Name
call
Expression
/^\[call ([^|\n]{1,30}) ?\| ?([^\]\n]{1,40})\]$/gm
Replacement
<div class="cs"><div class="cs-st">$2</div><div class="cs-name">$1</div><div class="cs-btns"><span class="cs-no">✕</span><span class="cs-yes">✆</span></div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
missed
Expression
/^\[missed ([^×x\n]{1,30}) ?[×x](\d{1,3})\]$/gm
Replacement
<div class="cs-m"><span class="cs-mi">✆</span><span class="cs-mn">$1</span><span class="cs-mc">($2)</span><span class="cs-ml">missed</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Voice note with hidden transcript

Voice note with hidden transcript

Good for
A voice message you can 'play' by tapping: the transcript opens. Perfect for confessions, drunk calls, a last message.
The character writes
[voice 0:14] transcript
Put this in the Moment setting
When {{char}} sends a voice message, write `[voice M:SS] exact words`, on its own line. The words stay hidden until {{user}} taps it, so they can be more honest than what {{char}} says out loud.
In the app
Full design. Tap the bubble to open the transcript.
On Web
Same as the app.
Tip
The waveform is plain text; change the glyphs to suit the mood.
Copy the Styles & regex

Global CSS

.vn{margin:8px 0;max-width:300px;border-radius:18px;background:#1f3b33;border:1px solid rgba(143,227,192,.25)}
.vn summary{display:flex;align-items:center;gap:10px;padding:8px 14px;color:#8fe3c0;font-size:14px;list-style:none}
.vn-play{display:inline-block;width:26px;height:26px;border-radius:999px;background:#8fe3c0;color:#12241e;font-size:11px;line-height:26px;text-align:center}
.vn-wave{letter-spacing:1px;color:#8fe3c0}
.vn-len{font-size:12px;color:rgba(255,255,255,.7)}
.vn-tx{padding:0 14px 10px;font-size:13px;line-height:20px;font-style:italic;color:#e3f5ec}

Regex 1

Name
voice
Expression
/^\[voice (\d{1,2}:\d{2})\] ?(.{1,500})$/gm
Replacement
<details class="vn"><summary><span class="vn-play">▶</span><span class="vn-wave">▁▃▆▂▇▅▂▆▃▁▅▇▂▄</span><span class="vn-len">$1</span></summary><div class="vn-tx">$2</div></details>
Apply to
All messages
Matches in
Raw content (with HTML tags)
Preview
Search history

Search history

Good for
Comedy gold: the cold CEO's search history, a vampire googling modern life, a detective finding the victim's last searches.
The character writes
[search] query, one per line.
Put this in the Moment setting
When a browser history is revealed, list 2–5 searches, newest first, each on its own line as `[search] query`. The searches reveal what {{char}} will not say.
In the app
Full design.
On Web
Same as the app.
Tip
A light element on a dark chat is a strong visual beat; use it sparingly.
Copy the Styles & regex

Global CSS

.sh{text-shadow:none;display:flex;align-items:center;gap:10px;margin:4px 0;padding:8px 14px;border-radius:999px;background:#f1f3f4;color:#202124;font-size:14px;line-height:20px}
.sh-i{font-size:13px}
.sh-q{flex:1}
.sh-a{color:#9aa0a6}

Regex 1

Name
search
Expression
/^\[search\] ?(.{1,120})$/gm
Replacement
<div class="sh"><span class="sh-i">🔍</span><span class="sh-q">$1</span><span class="sh-a">↖</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Dating-app match card

Dating-app match card

Good for
Meet-cutes through an app, a fake-dating plan, a rival swiping on the same person, a 'you matched with your boss' disaster.
The character writes
[match Name, age | distance | bio]
Put this in the Moment setting
When a profile appears on the dating app, show it as `[match Name, age | distance | one-line bio]` on its own line, then {{char}}'s reaction.
In the app
Full design.
On Web
Same as the app.
Tip
Put a real photo in .mt-ph as a background:url(…) if you host one.
Copy the Styles & regex

Global CSS

.mt{margin:10px 0;max-width:300px;border-radius:18px;overflow:hidden;background:#1b1b22;border:1px solid rgba(255,255,255,.1)}
.mt-ph{padding:96px 14px 10px;border-radius:18px 18px 0 0;background:linear-gradient(180deg,#7a5c8f 0%,#3d2a4f 60%,#1b1b22 100%)}
.mt-name{font-size:22px;font-weight:800;line-height:28px;color:#fff}
.mt-d{font-size:12px;line-height:16px;color:rgba(255,255,255,.8)}
.mt-bio{padding:8px 14px 4px;font-size:13px;line-height:19px;color:#e8e3ee}
.mt-act{display:flex;justify-content:center;gap:22px;padding:8px 0 12px}
.mt-x,.mt-s,.mt-h{display:inline-block;width:40px;height:40px;border-radius:999px;background:#26262f;font-size:18px;line-height:40px;text-align:center}
.mt-x{color:#ff6b6b}
.mt-s{color:#6bc5ff}
.mt-h{color:#5fe39a}

Regex 1

Name
match
Expression
/^\[match ([^|\n]{1,30}) ?\| ?([^|\n]{1,20}) ?\| ?([^\]\n]{1,160})\]$/gm
Replacement
<div class="mt"><div class="mt-ph"><div class="mt-name">$1</div><div class="mt-d">📍 $2</div></div><div class="mt-bio">$3</div><div class="mt-act"><span class="mt-x">✕</span><span class="mt-s">★</span><span class="mt-h">♥</span></div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Email header

Email header

Good for
Office romance, a resignation letter, the acceptance email, a message from HR that changes everything.
The character writes
[mail Sender | Subject | time], then the body as normal text.
Put this in the Moment setting
When an email arrives, show its header as `[mail Sender | Subject | time]` on its own line, followed by the email body in a few short lines.
In the app
Full design.
On Web
Same as the app.
Tip
Quote the body with > so the platform's quote style frames it.
Copy the Styles & regex

Global CSS

.em{text-shadow:none;margin:10px 0 6px;padding:10px 12px;border-radius:10px 10px 0 0;background:#f7f7f5;color:#1f2328;border-bottom:3px solid #d0a85c}
.em-row{display:flex;gap:8px;font-size:12px;line-height:18px}
.em-k{color:#6a737d}
.em-v{font-weight:700}
.em-t{margin-left:auto;color:#6a737d}
.em-s{font-size:15px;font-weight:700;line-height:22px}

Regex 1

Name
mail
Expression
/^\[mail ([^|\n]{1,40}) ?\| ?([^|\n]{1,80}) ?\| ?([^\]\n]{1,20})\]$/gm
Replacement
<div class="em"><div class="em-row"><span class="em-k">From</span><span class="em-v">$1</span><span class="em-t">$3</span></div><div class="em-s">$2</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Anonymous confession wall

Anonymous confession wall

Good for
Campus confession pages, 告白牆, anonymous boards: someone confesses about {{user}} and everyone guesses who.
The character writes
[#128] confession text
Put this in the Moment setting
When the campus confession page posts, write it as `[#number] confession`, on its own line (numbers go up over the story). Confessions are anonymous; hint at identities without naming them.
In the app
Full design.
On Web
Same as the app.
Tip
Translate anonymous in the replacement for your market.
Copy the Styles & regex

Global CSS

.cf{margin:8px 0;padding:10px 12px;border-radius:12px;background:linear-gradient(180deg,#2b2140,#1b1726);border:1px solid rgba(185,166,255,.25)}
.cf-h{display:flex;gap:8px;font-size:12px;line-height:16px}
.cf-no{font-weight:800;color:#b9a6ff}
.cf-an{color:rgba(255,255,255,.62)}
.cf-t{margin:4px 0;font-size:14px;line-height:21px;color:#efeaff}
.cf-r{font-size:12px;color:rgba(255,255,255,.62)}

Regex 1

Name
cf
Expression
/^\[#(\d{1,5})\] ?(.{1,400})$/gm
Replacement
<div class="cf"><div class="cf-h"><span class="cf-no">#$1</span><span class="cf-an">anonymous</span></div><div class="cf-t">$2</div><div class="cf-r">♥ · 😮 · 💬</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Letters, paper & documents

Period romance, contract marriages, detectives, slice of life: when something is written down, signed, printed or torn off.

Preview
Sealed letter

Sealed letter

Good for
Letters between lovers in another era, a goodbye left on the pillow, an arranged-marriage proposal, a letter from the dead.
The character writes
<letter>…</letter> around the whole letter.
Put this in the Moment setting
When {{char}} writes a letter, put the whole letter inside `<letter>…</letter>`: a greeting line, a few short lines, and a signature line. No empty lines inside the tag. Narration goes outside it.
In the app
Paper, ink, seal, shadow and a gentle tilt all render.
On Web
Same as the app.
Tip
Change the seal glyph to the family crest initial. Put white-space:pre-wrap on any block that holds several lines.
Copy the Styles & regex

Style tagsletter

Tag name
letter
HTML template
<div class="lt"><div class="lt-b">$1</div><div class="lt-seal">❦</div></div>
Apply to
Character messages

Global CSS

.lt{margin:12px 0;padding:16px 18px 12px;border-radius:4px;background:linear-gradient(180deg,#f6eedb,#eadfc4);color:#3b2f22;text-shadow:none;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.lt-b{font-family:Georgia,"Times New Roman",serif;font-size:15px;line-height:24px;font-style:italic;white-space:pre-wrap}
.lt-seal{width:38px;height:38px;margin:6px 0 0 auto;border-radius:999px;background:#9e2a2b;color:#f3d9b1;font-size:20px;line-height:38px;text-align:center;box-shadow:0 2px 4px rgba(0,0,0,.4)}
@media (min-width:0){
  .lt{transform:rotate(-.6deg)}
}
Preview
Diary page

Diary page

Good for
A secret diary {{user}} finds, a character's private record between scenes, a time-loop log, a ghost's last entries.
The character writes
<diary>date line + entry</diary>
Put this in the Moment setting
When {{char}} writes in the diary, wrap the entry in `<diary>…</diary>`: first line is the date and weather, then 2–4 short lines in {{char}}'s private voice, more honest than their speech. No empty lines inside.
In the app
Paper, margin line, ruled lines and a handwriting-style font (where the device has one).
On Web
Same as the app.
Tip
The ruled lines are one gradient layer with a background-size, repeated line by line; give line-height the same height as the line spacing (26px here) and the text sits on the lines.
Copy the Styles & regex

Style tagsdiary

Tag name
diary
HTML template
<div class="di"><div class="di-h">✎ diary</div><div class="di-b">$1</div></div>
Apply to
Character messages

Global CSS

.di{margin:12px 0;padding:10px 14px 12px 20px;border-radius:6px;background:#eef3fb;border-left:3px solid #e07a7a;color:#23324a;text-shadow:none}
.di-h{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#7a8aa6}
.di-b{font-family:"Bradley Hand","Segoe Print","Comic Sans MS",cursive;font-size:15px;line-height:26px;white-space:pre-wrap}
@media (min-width:0){
  .di-b{background:linear-gradient(transparent 25px,rgba(90,130,200,.25) 25px,rgba(90,130,200,.25) 26px);background-size:100% 26px}
}
Preview
Telegram

Telegram

Good for
1920s mysteries, war-time romance, a butler receiving orders, an urgent summons: short, loud, costly words.
The character writes
<telegram>WORDS STOP MORE WORDS STOP</telegram>
Put this in the Moment setting
When a telegram arrives, write it inside `<telegram>…</telegram>` in short capitalised phrases, each ending with ` STOP`. Keep it under 20 words.
In the app
Full design, in the device's monospace font.
On Web
Same as the app.
Tip
A regex can decorate a word everywhere it appears; anchor it ( STOP followed by a space or the end) so ordinary text is left alone.
Copy the Styles & regex

Style tagstelegram

Tag name
telegram
HTML template
<div class="tg"><div class="tg-h">TELEGRAM · URGENT</div><div class="tg-b">$1</div></div>
Apply to
Character messages

Global CSS

.tg{margin:12px 0;padding:10px 14px;border-radius:2px;background:#efe6c8;color:#2a2418;text-shadow:none;border-top:6px solid #b8452f}
.tg-h{font-family:"Courier New",Courier,monospace;font-size:11px;font-weight:700;letter-spacing:3px;color:#b8452f}
.tg-b{margin-top:4px;font-family:"Courier New",Courier,monospace;font-size:14px;line-height:22px;text-transform:uppercase;letter-spacing:.5px}
.tg-s{padding:0 4px;border-radius:2px;background:#2a2418;color:#efe6c8;font-size:11px;font-weight:700}

Regex 1

Name
tg stop
Expression
/ STOP(?=[ .<]|$)/gm
Replacement
<span class="tg-s">STOP</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Contract clauses & signatures

Contract clauses & signatures

Good for
Contract marriages, deals with demons, idol agency contracts, a pre-nup read aloud with commentary.
The character writes
<contract>Title</contract>, clause lines §1 text, and [sign Name].
Put this in the Moment setting
When the contract is read or amended, show the title as `<contract>Title</contract>`, each clause on its own line as `§number clause text`, and signatures as `[sign Name]`. Quote only the clauses that matter this turn.
In the app
Full design.
On Web
Same as the app.
Tip
The clause number is captured, so the model can cite §7 in dialogue and the player sees the same clause style.
Copy the Styles & regex

Style tagscontract

Tag name
contract
HTML template
<div class="ct-t">$1</div>
Apply to
Character messages

Global CSS

.ct-t{margin:10px 0 6px;padding:8px 12px;border-radius:6px 6px 0 0;background:#1d1a14;border-bottom:1px solid #c9a45c;color:#e9cf93;font-family:Georgia,serif;font-size:15px;letter-spacing:2px;text-align:center;text-transform:uppercase}
.ct-c{display:flex;gap:10px;padding:6px 12px;background:rgba(29,26,20,.8);font-size:13px;line-height:20px;color:#e8e2d4}
.ct-n{color:#c9a45c;font-weight:700}
.ct-x{flex:1}
.ct-s{margin:8px 0 10px;padding:6px 12px 8px;background:rgba(29,26,20,.8);border-radius:0 0 6px 6px}
.ct-sig{font-family:"Snell Roundhand","Brush Script MT",cursive;font-size:22px;font-style:italic;line-height:30px;color:#9fc3ff;border-bottom:1px solid rgba(233,207,147,.5)}
.ct-l{font-size:10px;letter-spacing:1px;color:rgba(255,255,255,.62);text-transform:uppercase}

Regex 1

Name
ct clause
Expression
/^§(\d{1,2}) ?(.{1,300})$/gm
Replacement
<div class="ct-c"><span class="ct-n">§$1</span><span class="ct-x">$2</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
ct sign
Expression
/^\[sign ([^\]\n]{1,40})\]$/gm
Replacement
<div class="ct-s"><div class="ct-sig">$1</div><div class="ct-l">signature</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Receipt / bill

Receipt / bill

Good for
Who pays on the first date, a sugar-daddy shopping spree, a detective reading a victim's receipt, a café owner's slice of life.
The character writes
<receipt> with Item .... price lines and a TOTAL .... price line.
Put this in the Moment setting
When a bill or receipt appears, write it inside `<receipt>…</receipt>` with one item per line as `Item .... price` and a final `TOTAL .... price` line. Items tell a small story.
In the app
Full design. Dashed borders show as solid lines in the app.
On Web
Dashed tear lines.
Tip
Order matters: the TOTAL rule runs before the generic row rule, so it gets its own style.
Copy the Styles & regex

Style tagsreceipt

Tag name
receipt
HTML template
<div class="rc"><div class="rc-h">NIGHT OWL CAFÉ<br>table 4 · 23:12</div>$1<div class="rc-f">thank you · see you again</div></div>
Apply to
Character messages

Global CSS

.rc{margin:12px auto;max-width:260px;padding:12px 14px;background:#fbfaf6;color:#222;text-shadow:none;font-family:"Courier New",Courier,monospace;font-size:13px;line-height:20px;border-top:1px dashed #aaa;border-bottom:1px dashed #aaa}
.rc-h{margin-bottom:6px;text-align:center;font-weight:700;letter-spacing:1px}
.rc-r{display:flex;justify-content:space-between;gap:8px}
.rc-tot{margin-top:6px;padding-top:6px;border-top:1px solid #222;font-weight:700}
.rc-f{margin-top:8px;text-align:center;font-size:11px;color:#666}

Regex 1

Name
rc total
Expression
/^TOTAL ?\.{2,} ?(.{1,16})$/gm
Replacement
<div class="rc-r rc-tot"><span>TOTAL</span><span>$1</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
rc row
Expression
/^([^<\n]{1,40}?) ?\.{3,} ?([฿$€£¥]?\d[\d.,]{0,12}|free)$/gm
Replacement
<div class="rc-r"><span>$1</span><span>$2</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Train / cinema ticket

Train / cinema ticket

Good for
A one-way ticket out of town, the night train where strangers meet, two cinema seats side by side, a boarding pass to his home country.
The character writes
[ticket FROM → TO | date time | seat]
Put this in the Moment setting
When a ticket matters, show it on its own line as `[ticket FROM → TO | date · time | seat]`.
In the app
Full design; the perforation is a solid line.
On Web
Dashed perforation.
Tip
Change the ADMIT ONE line in the replacement to a cinema, an airline or a ferry.
Copy the Styles & regex

Global CSS

.tk{display:flex;margin:12px 0;max-width:330px;border-radius:10px;background:#fff4e0;color:#3a2a14;text-shadow:none}
.tk-main{flex:1;padding:10px 14px}
.tk-stub{padding:10px 12px;border-left:2px dashed #d9b27c;text-align:center;background:#ffe7bd;border-radius:0 10px 10px 0}
.tk-k{font-size:9px;letter-spacing:2px;color:#a0712f;font-weight:700}
.tk-route{font-size:17px;font-weight:800;line-height:24px}
.tk-when{font-size:12px;color:#6d5233}
.tk-seat{font-size:22px;font-weight:800;line-height:28px;color:#c0392b}

Regex 1

Name
ticket
Expression
/^\[ticket ([^|\n]{1,40}) ?\| ?([^|\n]{1,30}) ?\| ?([^\]\n]{1,12})\]$/gm
Replacement
<div class="tk"><div class="tk-main"><div class="tk-k">ADMIT ONE · NIGHT LINE</div><div class="tk-route">$1</div><div class="tk-when">$2</div></div><div class="tk-stub"><div class="tk-k">SEAT</div><div class="tk-seat">$3</div></div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Newspaper / tabloid headline

Newspaper / tabloid headline

Good for
Scandals, a murder in the morning paper, a fake-dating plan going public, news from a fantasy kingdom.
The character writes
[news HEADLINE | subheading]
Put this in the Moment setting
When the story hits the news, show the headline on its own line as `[news HEADLINE | one-line subheading]`, then how {{char}} reacts.
In the app
Full design (double top rule shows as a single line).
On Web
Same, with a double rule.
Tip
Rename the masthead in the replacement to fit the world: a school bulletin, a kingdom crier, a gossip site.
Copy the Styles & regex

Global CSS

.np{margin:12px 0;padding:10px 14px 12px;background:#ecebe6;color:#111;text-shadow:none;border-top:3px double #111}
.np-m{padding-bottom:4px;border-bottom:1px solid #111;font-family:Georgia,serif;font-size:11px;font-weight:700;letter-spacing:3px;text-align:center}
.np-h{margin-top:8px;font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:900;line-height:28px;text-transform:uppercase}
.np-s{margin-top:4px;font-family:Georgia,serif;font-size:13px;font-style:italic;line-height:18px;color:#333}

Regex 1

Name
news
Expression
/^\[news ([^|\n]{1,90}) ?\| ?([^\]\n]{1,160})\]$/gm
Replacement
<div class="np"><div class="np-m">THE MIDNIGHT HERALD · EXTRA</div><div class="np-h">$1</div><div class="np-s">$2</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Bank transfer slip

Bank transfer slip

Good for
The rich husband who transfers money 'for snacks', paying back a debt, a ransom, a sugar-daddy joke. Very popular in Thai romance.
The character writes
[transfer amount | to Name | note]
Put this in the Moment setting
When {{char}} sends money, show the slip on its own line as `[transfer ฿amount | recipient | short note]`. The note can be funny or tender.
In the app
Full design.
On Web
Same as the app.
Tip
Keep the currency in the marker (฿, NT$, $) so each market's card reads naturally.
Copy the Styles & regex

Global CSS

.bt{margin:12px auto;max-width:280px;padding:14px;border-radius:16px;background:linear-gradient(180deg,#0d3b2e,#0b231c);border:1px solid rgba(95,227,154,.3);text-align:center}
.bt-ok{width:36px;height:36px;margin:0 auto;border-radius:999px;background:#2ecc71;color:#fff;font-size:20px;font-weight:800;line-height:36px}
.bt-st{margin-top:6px;font-size:12px;color:#9ff0c4}
.bt-amt{margin:4px 0 8px;font-size:28px;font-weight:800;line-height:36px;color:#fff}
.bt-row{display:flex;justify-content:space-between;padding:4px 0;border-top:1px solid rgba(255,255,255,.1);font-size:12px;color:rgba(255,255,255,.75)}

Regex 1

Name
transfer
Expression
/^\[transfer ([^|\n]{1,20}) ?\| ?([^|\n]{1,40}) ?\| ?([^\]\n]{0,80})\]$/gm
Replacement
<div class="bt"><div class="bt-ok">✓</div><div class="bt-st">โอนเงินสำเร็จ · Transfer successful</div><div class="bt-amt">$1</div><div class="bt-row"><span>To</span><span>$2</span></div><div class="bt-row"><span>Note</span><span>$3</span></div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Menu card

Menu card

Good for
Café owner romances, a butler café, a fantasy tavern, a food-critic lead, a date deciding what to order.
The character writes
<carte>Title</carte>, then • Dish — price lines.
Put this in the Moment setting
When a menu is shown, write `<carte>Menu name</carte>` and then 2–5 items, one per line, as `• Dish — price`. Item names can hide jokes or clues.
In the app
Full design; dotted leaders appear as a thin solid line.
On Web
Dotted leaders.
Tip
carte is the tag because menu is an HTML element name and cannot be a style tag.
Copy the Styles & regex

Style tagscarte

Tag name
carte
HTML template
<div class="mn-t">$1</div>
Apply to
Character messages

Global CSS

.mn-t{margin:12px 0 4px;padding:8px 0 6px;border-bottom:1px solid rgba(255,214,150,.5);font-family:Georgia,serif;font-size:18px;font-style:italic;text-align:center;color:#ffd699}
.mn-i{display:flex;gap:6px;padding:4px 8px;font-size:14px;line-height:22px;color:#f3e9da}
.mn-dots{flex:1;height:14px;border-bottom:1px dotted rgba(255,214,150,.45)}
.mn-p{color:#ffd699;font-weight:700}

Regex 1

Name
mn item
Expression
/^• ?([^—\n]{1,40}?) ?— ?(.{1,16})$/gm
Replacement
<div class="mn-i"><span class="mn-d">$1</span><span class="mn-dots">&nbsp;</span><span class="mn-p">$2</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Sticky note

Sticky note

Good for
Roommates who communicate only by fridge notes, a note left on a coffee cup, study partners, a passive-aggressive office.
The character writes
<sticky>note text</sticky>
Put this in the Moment setting
When {{char}} leaves a note, write it inside `<sticky>…</sticky>`, three lines at most. {{user}} can reply with a sticky too.
In the app
Paper, shadow and folded corner, tilted like a real note.
On Web
Same as the app.
Tip
target: all lets both sides use the note, a small shared game.
Copy the Styles & regex

Style tagssticky

Tag name
sticky
HTML template
<div class="sn">$1</div>
Apply to
All messages

Global CSS

.sn{margin:12px 0;max-width:230px;padding:14px 14px 18px;background:linear-gradient(180deg,#fff27a,#ffe45c);color:#3b3000;text-shadow:none;font-family:"Bradley Hand","Segoe Print","Comic Sans MS",cursive;font-size:15px;line-height:22px;white-space:pre-wrap;box-shadow:0 8px 14px rgba(0,0,0,.35);border-radius:2px 2px 18px 2px}
@media (min-width:0){
  .sn{transform:rotate(-2deg)}
  .sn+.sn{transform:rotate(2deg)}
}
Preview
Polaroid photo

Polaroid photo

Good for
A photo found in a wallet, memories of a first date, a stalker's photo wall, a trip album. The model describes the picture.
The character writes
[photo what the picture shows | caption]
Put this in the Moment setting
When a photo matters, show it on its own line as `[photo short description of what the photo shows | handwritten caption]`.
In the app
Frame, photo area and caption, with a slight tilt.
On Web
Same as the app.
Tip
Players love describing photos back; it is a cheap way to add a visual memory.
Copy the Styles & regex

Global CSS

.pl{margin:14px auto;max-width:240px;padding:10px 10px 6px;background:#fafafa;text-shadow:none;box-shadow:0 10px 20px rgba(0,0,0,.45)}
.pl-img{min-height:150px;padding:14px;background:linear-gradient(160deg,#4b3b5e,#2c4a5a 50%,#d98c5f);color:rgba(255,255,255,.88);font-size:12px;font-style:italic;line-height:18px}
.pl-cap{padding:6px 2px 2px;font-family:"Bradley Hand","Segoe Print","Comic Sans MS",cursive;font-size:15px;color:#333;text-align:center}
@media (min-width:0){
  .pl{transform:rotate(1.5deg)}
}

Regex 1

Name
photo
Expression
/^\[photo ([^|\n]{1,200}) ?\| ?([^\]\n]{1,60})\]$/gm
Replacement
<div class="pl"><div class="pl-img">$1</div><div class="pl-cap">$2</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Case file evidence tag

Case file evidence tag

Good for
Detective and mystery cards, a crime-scene walk-through, a murder-mystery party, investigating a haunting.
The character writes
[evidence 03 | item | note]
Put this in the Moment setting
When a clue is found, tag it on its own line as `[evidence number | item | one-line note]`, numbering clues in order across the story.
In the app
Full design.
On Web
Same as the app.
Tip
Numbered clues help the model keep track: it can refer back to #07 many turns later.
Copy the Styles & regex

Global CSS

.ev{display:flex;align-items:center;gap:10px;margin:8px 0;max-width:330px;padding:10px 12px;border-radius:4px 14px 14px 4px;background:#d9b779;color:#2b1f0e;text-shadow:none}
.ev-hole{width:14px;height:14px;border-radius:999px;background:#0c0d0f;border:2px solid #8a6a36}
.ev-body{flex:1}
.ev-no{font-family:"Courier New",Courier,monospace;font-size:11px;font-weight:700;letter-spacing:2px;color:#7a1f12}
.ev-item{font-size:15px;font-weight:800;line-height:20px}
.ev-note{font-size:12px;line-height:17px;color:#4a3719}

Regex 1

Name
evidence
Expression
/^\[evidence (\d{1,3}) ?\| ?([^|\n]{1,60}) ?\| ?([^\]\n]{1,160})\]$/gm
Replacement
<div class="ev"><div class="ev-hole">&nbsp;</div><div class="ev-body"><div class="ev-no">EVIDENCE #$1</div><div class="ev-item">$2</div><div class="ev-note">$3</div></div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Redacted text

Redacted text

Good for
Classified files, a character hiding a name, a cursed word nobody can say, secrets the player should feel are missing.
The character writes
||hidden words|| inside any sentence.
Put this in the Moment setting
Anything {{char}} refuses to reveal, or that is blacked out in a document, goes between double bars: `||words||`. Use it sparingly, 1–3 times per reply.
In the app
Black bars; the words stay hidden.
On Web
Black bars that reveal the words on mouse hover.
Tip
The words are still in the message text, so copying reveals them: great for puzzles, not for real secrets.
Copy the Styles & regex

Global CSS

.rd{padding:0 3px;border-radius:2px;background:#000;color:#000;text-shadow:none;border:1px solid rgba(255,255,255,.22)}
@media (hover:hover){
  .rd:hover{color:#ffb3b3}
}

Regex 1

Name
redact
Expression
/\|\|([^|\n]{1,80})\|\|/g
Replacement
<span class="rd">$1</span>
Apply to
All messages
Matches in
Raw content (with HTML tags)
Preview
Interrogation transcript

Interrogation transcript

Good for
Police procedurals, a suspect lead, being questioned by a cold prosecutor, an alien interview, a talk-show hot seat.
The character writes
<rec>header</rec>, then Q: … and A: … lines.
Put this in the Moment setting
During questioning, start with `<rec>ROOM · time</rec>` and write the exchange as lines starting with `Q:` (the questioner) and `A:` (the answer). Narration goes after an empty line.
In the app
Full design.
On Web
Same as the app.
Tip
Class names can come from a capture (qa-$1 → qa-Q / qa-A), so one rule styles both speakers.
Copy the Styles & regex

Style tagsrec

Tag name
rec
HTML template
<div class="qa-h"><span class="qa-dot">●</span> $1</div>
Apply to
Character messages

Global CSS

.qa-h{margin:10px 0 4px;font-family:"Courier New",Courier,monospace;font-size:12px;letter-spacing:1px;color:#ff8a80}
.qa-dot{color:#ff3b30}
.qa{display:flex;gap:10px;padding:5px 10px;font-family:"Courier New",Courier,monospace;font-size:13px;line-height:20px;background:rgba(10,12,14,.8)}
.qa-k{font-weight:800}
.qa-t{flex:1}
.qa-Q{color:#a7c7e7}
.qa-A{color:#f4f1ea}

Regex 1

Name
qa line
Expression
/^(Q|A)[::] ?(.{1,400})$/gm
Replacement
<div class="qa qa-$1"><span class="qa-k">$1</span><span class="qa-t">$2</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Wanted poster

Wanted poster

Good for
Pirates, outlaws, bounty hunters, a fantasy kingdom hunting {{user}}, a comedic 'wanted: someone to eat my cooking'.
The character writes
[wanted NAME | reward | crime]
Put this in the Moment setting
When a bounty goes up, show the poster on its own line as `[wanted NAME | reward | crime in a few words]`.
In the app
Full design.
On Web
Same as the app.
Tip
Swap DEAD OR ALIVE in the replacement for a softer line on a PG card.
Copy the Styles & regex

Global CSS

.wp{margin:12px auto;max-width:260px;padding:14px;background:linear-gradient(180deg,#e8cf9b,#d2b077);color:#3a220c;text-shadow:none;text-align:center;border:3px solid #5a3a17;border-radius:3px}
.wp-w{font-family:Georgia,serif;font-size:38px;font-weight:900;line-height:42px;letter-spacing:4px}
.wp-da{font-size:10px;letter-spacing:2px}
.wp-n{margin:10px 0 4px;font-family:Georgia,serif;font-size:20px;font-weight:800;text-transform:uppercase}
.wp-c{font-size:12px;font-style:italic;line-height:17px}
.wp-r{margin-top:10px;padding-top:6px;border-top:2px solid #5a3a17;font-family:Georgia,serif;font-size:18px;font-weight:900}

Regex 1

Name
wanted
Expression
/^\[wanted ([^|\n]{1,40}) ?\| ?([^|\n]{1,30}) ?\| ?([^\]\n]{1,120})\]$/gm
Replacement
<div class="wp"><div class="wp-w">WANTED</div><div class="wp-da">— DEAD OR ALIVE —</div><div class="wp-n">$1</div><div class="wp-c">$3</div><div class="wp-r">REWARD $2</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Dossier / chart (key :: value)

Dossier / chart (key :: value)

Good for
A hospital chart, a spy dossier, a character sheet, a matchmaker's file on {{user}}. Any labelled facts.
The character writes
<chart>Title</chart>, then Key :: value lines.
Put this in the Moment setting
When a chart or file is read, write `<chart>Title</chart>` and then 3–6 lines as `Key :: value`. Keep values short.
In the app
Full design.
On Web
Same as the app.
Tip
:: is rare in normal prose, which makes it a safe marker.
Copy the Styles & regex

Style tagschart

Tag name
chart
HTML template
<div class="ds-t">$1</div>
Apply to
Character messages

Global CSS

.ds-t{margin:10px 0 0;padding:6px 12px;border-radius:8px 8px 0 0;background:#1e6f73;color:#e9fbfb;font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase}
.ds-r{display:flex;gap:10px;padding:5px 12px;background:rgba(233,251,251,.92);color:#153033;text-shadow:none;font-size:13px;line-height:19px;border-bottom:1px solid rgba(30,111,115,.2)}
.ds-k{width:92px;color:#1e6f73;font-weight:700}
.ds-v{flex:1}

Regex 1

Name
ds row
Expression
/^([^:\n]{1,20}?) ?:: ?(.{1,200})$/gm
Replacement
<div class="ds-r"><span class="ds-k">$1</span><span class="ds-v">$2</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Game UI & systems

Isekai systems, dating sims, RPG parties, TRPG game masters, 攻略 simulators, hackers: when the story has rules, numbers and choices.

Preview
HUD bars (HP / MP / any 0–100 stat)

HUD bars (HP / MP / any 0–100 stat)

Good for
Survival, dungeon crawls, a boss fight, an energy bar for a tired office worker, a 'patience' bar for a grumpy lead.
The character writes
HP: 72, MP: 40, SAN: 18 on their own lines (0–100).
Put this in the Moment setting
End every reply with the party status, one per line: `HP: number`, `MP: number`, `SAN: number` (0–100). Change them only for a reason in the scene: a wound, a spell, a horror.
In the app
Full design. The fill needs &nbsp; inside it; the app does not draw empty boxes.
On Web
Same as the app.
Tip
Name one class per stat from the capture (hud-$1) to give each bar its own colour.
Copy the Styles & regex

Global CSS

.hud{display:flex;align-items:center;gap:8px;margin:2px 0;padding:4px 10px;border-radius:8px;background:rgba(8,10,14,.78);font-family:"Courier New",Courier,monospace;font-size:12px;line-height:18px}
.hud-l{width:34px;font-weight:800;color:#e8ecf3}
.hud-t{flex:1;height:8px;border-radius:4px;background:rgba(255,255,255,.12)}
.hud-f{height:8px;border-radius:4px;font-size:1px;line-height:8px;background:linear-gradient(90deg,#ff4d5e,#ff9a62)}
.hud-MP .hud-f{background:linear-gradient(90deg,#3d7bff,#7fd4ff)}
.hud-SAN .hud-f{background:linear-gradient(90deg,#7b3fe4,#d18cff)}
.hud-v{width:26px;text-align:right;color:#cfd6e2}

Regex 1

Name
hud
Expression
/^(HP|MP|SAN)[::] ?(\d{1,3})$/gm
Replacement
<div class="hud hud-$1"><span class="hud-l">$1</span><div class="hud-t"><div class="hud-f" style="width:$2%">&nbsp;</div></div><span class="hud-v">$2</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Glyph meters (hearts, stars, blocks)

Glyph meters (hearts, stars, blocks)

Good for
Affection, trust, jealousy, danger level. The model writes the glyphs itself, which it does reliably, and the regex colours them.
The character writes
Label ♥♥♥♡♡ (filled then empty glyphs).
Put this in the Moment setting
Close every reply with two meters on separate lines: `Affection` followed by 5 glyphs (♥ filled, ♡ empty) and `Jealousy` followed by 5 glyphs (★ filled, ☆ empty). Change at most one glyph per reply.
In the app
Full design.
On Web
Same as the app.
Tip
Glyph meters need no numbers and never drift into 0 → 80 jumps. They also read well in copied or plain text.
Copy the Styles & regex

Global CSS

.gm-on{color:#ff6b8b;letter-spacing:2px}
.gm-off{color:rgba(255,255,255,.3);letter-spacing:2px}

Regex 1

Name
glyph
Expression
/([♥★▰●]{1,10})([♡☆▱○]{0,10})/gu
Replacement
<span class="gm-on">$1</span><span class="gm-off">$2</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
+N / −N change pop-ups

+N / −N change pop-ups

Good for
Show a stat change the moment it happens, inline in the prose: (+3 ♥) after a sweet line, (−5 trust) after a lie.
The character writes
(+3 ♥) or (-2 ♥) right after the moment that caused it.
Put this in the Moment setting
When {{user}}'s action changes {{char}}'s affection, add the change right after it as `(+N ♥)` or `(-N ♥)`, N from 1 to 5, at most twice per reply.
In the app
Full design.
On Web
Same as the app.
Tip
Two rules, one per sign, give the up and down pills different colours.
Copy the Styles & regex

Global CSS

.pp{padding:1px 8px;border-radius:999px;font-size:11px;font-weight:800;font-style:normal;white-space:nowrap}
.pp-up{background:rgba(46,204,113,.18);color:#6ff0a6;border:1px solid rgba(111,240,166,.4)}
.pp-down{background:rgba(255,77,94,.16);color:#ff8f9a;border:1px solid rgba(255,143,154,.4)}

Regex 1

Name
pop up
Expression
/\(\+(\d{1,2}) ?([♥★✦]|trust|affection)\)/g
Replacement
<span class="pp pp-up">▲ +$1 $2</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
pop down
Expression
/\((?:-|−)(\d{1,2}) ?([♥★✦]|trust|affection)\)/g
Replacement
<span class="pp pp-down">▼ −$1 $2</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
System window

System window

Good for
Isekai and 系統 stories, a game world announcing quests, an AI assistant inside the story, a 攻略 simulator's cold voice.
The character writes
<sys>message</sys>
Put this in the Moment setting
The System speaks only inside `<sys>…</sys>`: quests, warnings, rewards, in short cold sentences. At most one System window per reply.
In the app
Full design with a soft glow; it fades in.
On Web
Same as the app.
Tip
Translate the header: ◆ 系統, ◆ ระบบ.
Copy the Styles & regex

Style tagssys

Tag name
sys
HTML template
<div class="sy"><div class="sy-h">◆ SYSTEM</div><div class="sy-b">$1</div></div>
Apply to
Character messages

Global CSS

.sy{margin:12px 0;padding:10px 14px;border-radius:6px;background:linear-gradient(180deg,rgba(18,40,72,.9),rgba(10,22,40,.9));border:1px solid rgba(110,200,255,.55);box-shadow:0 0 14px rgba(80,180,255,.35)}
.sy-h{font-size:11px;font-weight:800;letter-spacing:3px;color:#7fd4ff}
.sy-b{margin-top:4px;font-size:14px;line-height:22px;color:#e6f5ff;white-space:pre-wrap}
@media (min-width:0){
  .sy{animation:sy-in .5s ease-out}
  @keyframes sy-in{
    from{opacity:0}
    to{opacity:1}
  }
}
Preview
Dating-sim dialogue box with name plate

Dating-sim dialogue box with name plate

Good for
Otome and galge parodies, a character who knows they are in a game, multi-character casts where names must be clear.
The character writes
Name: "line" on its own line.
Put this in the Moment setting
Write every spoken line on its own line as `Name: "line"` (the speaker's name, a colon, the words in quotes). Actions stay in *italics* between dialogue lines.
In the app
Full design.
On Web
Same as the app.
Tip
Because the quotes are consumed by the regex, the platform's quote colour does not clash with the light box.
Copy the Styles & regex

Global CSS

.vd{margin:14px 0 8px}
.vd-n{display:inline-block;margin-left:10px;padding:2px 14px;border-radius:8px 8px 0 0;background:linear-gradient(90deg,#ff7aa8,#ffb3cf);color:#3a0f22;font-size:12px;font-weight:800;text-shadow:none}
.vd-t{padding:10px 14px;border-radius:12px;background:rgba(255,255,255,.92);border:2px solid #ffb3cf;color:#2a1a22;font-size:14px;line-height:22px;text-shadow:none}

Regex 1

Name
vn box
Expression
/^([A-Z][A-Za-z]{1,14}|[฀-๿一-鿿]{1,8})[::] ?["“「]([^"”」\n]{1,300})["”」]$/gmu
Replacement
<div class="vd"><div class="vd-n">$1</div><div class="vd-t">$2</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Numbered choice cards

Numbered choice cards

Good for
Visual-novel branching, a game-master offering options, a 攻略 route menu. Non-clickable: the player types the number or their own idea.
The character writes
[1] option, [2] option, [3] option lines at the end.
Put this in the Moment setting
End each reply with 3 short options for {{user}}, each on its own line as `[1] option`, `[2] option`, `[3] option`. Options are different in tone (bold, kind, sly). {{user}} may choose one or do something else.
In the app
Full design. Cards are not buttons; the player types a number.
On Web
Same as the app.
Tip
Mention in the Intro that the player can type 1, 2, 3 or anything else.
Copy the Styles & regex

Global CSS

.cc{display:flex;align-items:center;gap:10px;margin:6px 0;padding:8px 12px;border-radius:12px;background:rgba(20,16,32,.8);border:1px solid rgba(185,166,255,.4)}
.cc-n{width:22px;height:22px;border-radius:999px;background:#b9a6ff;color:#1a1230;font-size:12px;font-weight:800;line-height:22px;text-align:center}
.cc-t{flex:1;font-size:14px;line-height:20px;color:#ece6ff}

Regex 1

Name
choice
Expression
/^\[([1-4])\] ?(.{1,120})$/gm
Replacement
<div class="cc"><span class="cc-n">$1</span><span class="cc-t">$2</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Quest log with checkboxes

Quest log with checkboxes

Good for
RPG adventures, a wedding-planning comedy, a heist crew's checklist, a demon lord's to-do list.
The character writes
[quest Title | objective | reward], then [x] done / [ ] todo lines.
Put this in the Moment setting
When the quest changes, show `[quest Title | current objective | reward]` on its own line, followed by its steps as `[x] step` (done) or `[ ] step` (not yet).
In the app
Full design.
On Web
Same as the app.
Tip
The class qt-$1 becomes qt-x for done steps, so one CSS line strikes them through.
Copy the Styles & regex

Global CSS

.ql{margin:12px 0 6px;padding:10px 14px;border-radius:10px;background:linear-gradient(180deg,#2d2414,#1a150c);border:1px solid rgba(255,196,120,.5)}
.ql-k{font-size:10px;font-weight:800;letter-spacing:3px;color:#ffc478}
.ql-t{font-size:17px;font-weight:800;line-height:24px;color:#fff1d6}
.ql-o{font-size:13px;line-height:19px;color:#e9dcc2}
.ql-r{margin-top:4px;font-size:12px;color:#ffc478}
.qt{display:flex;align-items:center;gap:8px;padding:3px 14px;font-size:13px;line-height:20px;color:#e9dcc2}
.qt-b{width:12px;height:12px;border-radius:3px;border:2px solid #ffc478;font-size:1px;line-height:12px}
.qt-x{color:rgba(233,220,194,.6);text-decoration:line-through}
.qt-x .qt-b{background:#ffc478}

Regex 1

Name
quest
Expression
/^\[quest ([^|\n]{1,50}) ?\| ?([^|\n]{1,120}) ?\| ?([^\]\n]{1,60})\]$/gm
Replacement
<div class="ql"><div class="ql-k">QUEST UPDATED</div><div class="ql-t">$1</div><div class="ql-o">$2</div><div class="ql-r">Reward · $3</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
task
Expression
/^\[(x| )\] ?(.{1,120})$/gm
Replacement
<div class="qt qt-$1"><span class="qt-b">&nbsp;</span><span>$2</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Inventory item card with rarity

Inventory item card with rarity

Good for
Loot drops, a gift from the lead shown as an item, cursed objects, a crafting game, a cheeky 'obtained: his jacket'.
The character writes
[item icon Name | common/rare/epic/legendary | description]
Put this in the Moment setting
When {{user}} receives an item, show it on its own line as `[item emoji Name | rarity | one-line description]`. Rarity is one of common, rare, epic, legendary.
In the app
Full design; legendary items glow.
On Web
Same as the app.
Tip
Restrict the capture to a fixed list (common|rare|epic|legendary) so the class always exists.
Copy the Styles & regex

Global CSS

.iv{margin:12px 0;padding:10px 14px;border-radius:10px;background:rgba(14,16,22,.88);border:1px solid #8a93a6;border-left-width:4px}
.iv-k{font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#8a93a6}
.iv-n{font-size:16px;font-weight:800;line-height:24px;color:#f0f2f6}
.iv-d{font-size:13px;font-style:italic;line-height:19px;color:#c9cfdb}
.iv-rare{border-color:#4aa3ff}
.iv-rare .iv-k{color:#4aa3ff}
.iv-epic{border-color:#b56cff}
.iv-epic .iv-k{color:#c792ff}
.iv-legendary{border-color:#ffb640;box-shadow:0 0 16px rgba(255,182,64,.35)}
.iv-legendary .iv-k{color:#ffc76b}

Regex 1

Name
item
Expression
/^\[item ([^|\n]{1,40}) ?\| ?(common|rare|epic|legendary) ?\| ?([^\]\n]{1,160})\]$/gm
Replacement
<div class="iv iv-$2"><div class="iv-k">ITEM OBTAINED · $2</div><div class="iv-n">$1</div><div class="iv-d">$3</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Battle log

Battle log

Good for
Turn-based fights, a sparring match, a cooking battle, a courtroom 'battle' of arguments.
The character writes
Lines starting with ⚔; the word CRIT highlights.
Put this in the Moment setting
During combat, report each action on its own line starting with `⚔` (who does what, and the damage). Write `CRIT` for a critical hit. 2–4 lines per round, then the story.
In the app
Full design.
On Web
Same as the app.
Tip
Word rules (like CRIT) run on the whole text; the line rule and the word rule combine.
Copy the Styles & regex

Global CSS

.bl{margin:0;padding:4px 12px;border-left:3px solid #ff5a5a;background:rgba(40,8,10,.72);font-size:13px;line-height:20px;color:#ffe0e0}
.bl-crit{padding:0 6px;border-radius:4px;background:#ffcc33;color:#3a1e00;font-weight:900;text-shadow:none}

Regex 1

Name
battle line
Expression
/^⚔ ?(.{1,200})$/gmu
Replacement
<div class="bl">⚔ $1</div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
battle crit
Expression
/\bCRIT!?/g
Replacement
<span class="bl-crit">CRIT!</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Dice roll badge

Dice roll badge

Good for
Tabletop RPGs with a game-master character, luck-based comedies, a gambler lead, fate deciding a confession.
The character writes
🎲 d20 = 17 · Persuasion
Put this in the Moment setting
When luck decides something, roll first and show it as `🎲 d20 = result · skill`, then narrate the outcome that matches the number (1–5 bad, 6–14 mixed, 15–20 good).
In the app
Full design.
On Web
Same as the app.
Tip
The model does not really roll; ask it to vary results and follow the ranges honestly.
Copy the Styles & regex

Global CSS

.dr{white-space:nowrap}
.dr-d{padding:2px 8px;border-radius:999px 0 0 999px;background:#8f6bff;color:#fff;font-size:12px;font-weight:800}
.dr-n{padding:2px 10px;background:#2b2150;color:#fff;font-size:15px;font-weight:900}
.dr-s{padding:2px 10px 2px 8px;border-radius:0 999px 999px 0;background:#3a2d66;color:#e2d9ff;font-size:12px}

Regex 1

Name
dice
Expression
/🎲 ?(d\d{1,3}) ?= ?(\d{1,3})(?: ?· ?([^\n]{1,40}))?/gu
Replacement
<span class="dr"><span class="dr-d">$1</span><span class="dr-n">$2</span><span class="dr-s">$3</span></span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Terminal / system log

Terminal / system log

Good for
Hackers, android leads, spaceship AIs, a haunted computer, a cyberpunk netrunner.
The character writes
<term> block with $ command lines; [OK] and [ERR] are coloured.
Put this in the Moment setting
When {{char}} uses a computer, show the screen inside `<term>…</term>`: lines like `$ command` and short outputs marked `[OK]` or `[ERR]`. 2–5 lines, no empty lines inside.
In the app
Full design with a blinking cursor.
On Web
Same as the app.
Tip
The cursor is an ::after with a steps(1) blink animation; it pauses while it is off screen, so it costs no battery.
Copy the Styles & regex

Style tagsterm

Tag name
term
HTML template
<div class="tm"><div class="tm-bar">● ● ● ssh kai@ghost</div><div class="tm-b">$1</div></div>
Apply to
Character messages

Global CSS

.tm{margin:12px 0;border-radius:8px;background:#05080a;border:1px solid #1f3a2a}
.tm-bar{padding:4px 10px;border-radius:8px 8px 0 0;background:#12201a;color:#5f8f73;font-size:11px}
.tm-b{padding:8px 12px;font-family:"Courier New",Courier,monospace;font-size:13px;line-height:20px;color:#7cfc9a;white-space:pre-wrap}
.tm-ok{color:#7cfc9a;font-weight:800}
.tm-err{color:#ff5f5f;font-weight:800}
@media (min-width:0){
  .tm-b::after{content:"▋";animation:tm-blink 1s steps(1) infinite}
  @keyframes tm-blink{
    50%{opacity:0}
  }
}

Regex 1

Name
term ok
Expression
/\[OK\]/g
Replacement
<span class="tm-ok">[OK]</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
term err
Expression
/\[ERR\]/g
Replacement
<span class="tm-err">[ERR]</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Achievement unlocked toast

Achievement unlocked toast

Good for
Comedy milestones ('First argument survived'), relationship stages, meta humour in game-world stories.
The character writes
[achievement Title | description]
Put this in the Moment setting
When {{user}} reaches a funny or important milestone, award it on its own line as `[achievement Title | short description]`. Rarely: at most once every few replies.
In the app
Full design.
On Web
Same as the app.
Tip
Rarity makes it special: say "at most once every few replies" in the setting.
Copy the Styles & regex

Global CSS

.ac{display:flex;align-items:center;gap:12px;margin:12px auto;max-width:320px;padding:8px 14px;border-radius:999px;background:linear-gradient(90deg,#1b1b1b,#2a2a2a);border:1px solid rgba(255,215,0,.5)}
.ac-i{font-size:26px}
.ac-b{flex:1}
.ac-k{font-size:9px;font-weight:800;letter-spacing:2px;color:#ffd700}
.ac-t{font-size:14px;font-weight:800;line-height:18px;color:#fff}
.ac-d{font-size:11px;line-height:15px;color:rgba(255,255,255,.7)}

Regex 1

Name
achievement
Expression
/^\[achievement ([^|\n]{1,50}) ?\| ?([^\]\n]{1,120})\]$/gm
Replacement
<div class="ac"><div class="ac-i">🏆</div><div class="ac-b"><div class="ac-k">ACHIEVEMENT UNLOCKED</div><div class="ac-t">$1</div><div class="ac-d">$2</div></div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Cultivation panel (修仙面板)

Cultivation panel (修仙面板)

Good for
仙俠 / 修真 stories: realm, spiritual power and a breakthrough in one jade panel.
The character writes
<realm>境界:… </realm> panel, and 靈力:72 for a bar.
Put this in the Moment setting
每次回覆結尾顯示修為面板,寫在 `<realm>…</realm>` 內:第一行 `境界:…`,第二行 `靈力:數字`(0–100),第三行 `心境:…`。面板內不要空行。
In the app
Full design with the device's serif font for Chinese.
On Web
Same as the app.
Tip
A regex can reach inside a block tag, because rules run before the tags expand: here it turns one line of the panel into a bar.
Copy the Styles & regex

Style tagsrealm

Tag name
realm
HTML template
<div class="xr"><div class="xr-h">— 修為 —</div><div class="xr-b">$1</div></div>
Apply to
Character messages

Global CSS

.xr{margin:12px 0;padding:10px 14px;border-radius:4px;background:linear-gradient(180deg,rgba(14,40,34,.92),rgba(8,24,20,.92));border:1px solid rgba(143,227,192,.45)}
.xr-h{font-family:"Songti TC","Noto Serif TC",serif;font-size:13px;letter-spacing:6px;text-align:center;color:#8fe3c0}
.xr-b{font-family:"Songti TC","Noto Serif TC",serif;font-size:14px;line-height:24px;color:#e2f7ee;white-space:pre-wrap}
.xr-q{display:flex;align-items:center;gap:8px}
.xr-ql{color:#8fe3c0}
.xr-t{flex:1;height:6px;border-radius:3px;background:rgba(143,227,192,.15)}
.xr-f{height:6px;border-radius:3px;font-size:1px;line-height:6px;background:linear-gradient(90deg,#3fb68b,#c9ffe9)}
.xr-qv{color:#c9ffe9}

Regex 1

Name
qi bar
Expression
/^靈力[::] ?(\d{1,3})[ \t]*\n?/gm
Replacement
<div class="xr-q"><span class="xr-ql">靈力</span><div class="xr-t"><div class="xr-f" style="width:$1%">&nbsp;</div></div><span class="xr-qv">$1</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Spell / skill card

Spell / skill card

Good for
Magic academies, card-battle anime, a witch lead teaching spells, skill trees in a game world.
The character writes
[spell Name | cost | effect]
Put this in the Moment setting
When a spell or skill is cast for the first time, show its card on its own line as `[spell Name | mana cost | effect in one sentence]`.
In the app
Full design.
On Web
Same as the app.
Tip
Put a real card image in .sc-art with background:url(…) for a premium look.
Copy the Styles & regex

Global CSS

.sc{margin:12px auto;max-width:220px;padding:8px;border-radius:12px;background:linear-gradient(160deg,#3b1f5e,#1c1030);border:2px solid #d4af37}
.sc-top{display:flex;justify-content:space-between;align-items:center;padding:2px 4px}
.sc-n{font-family:Georgia,serif;font-size:14px;font-weight:800;color:#ffe9a8}
.sc-c{padding:0 8px;border-radius:999px;background:#2d7dd2;color:#fff;font-size:12px;font-weight:800}
.sc-art{margin:6px 0;border-radius:8px;background:linear-gradient(135deg,#6a3fa0,#e06c9f 60%,#ffd27f);color:#fff;font-size:40px;line-height:96px;text-align:center}
.sc-e{padding:6px;border-radius:6px;background:rgba(255,245,220,.92);color:#2b1a3a;font-size:12px;line-height:17px;text-shadow:none}

Regex 1

Name
spell
Expression
/^\[spell ([^|\n]{1,40}) ?\| ?([^|\n]{1,12}) ?\| ?([^\]\n]{1,160})\]$/gm
Replacement
<div class="sc"><div class="sc-top"><span class="sc-n">$1</span><span class="sc-c">$2</span></div><div class="sc-art">✦</div><div class="sc-e">$3</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Text adventure (parser game)

Text adventure (parser game)

Good for
Retro interactive fiction: the player's messages look like typed commands, the replies like room descriptions.
The character writes
The player writes normally; the reply starts with [[Room]] and ends with Exits: ….
Put this in the Moment setting
Reply like a classic text adventure: first line `[[Room name]]`, then a short second-person description with one interesting object, then the last line `Exits: directions`. {{char}} appears as a character inside the room.
In the app
Full design, including the player's message box.
On Web
Same as the app.
Tip
target: user styles only the player's messages: here a > prompt is added to the first line.
Copy the Styles & regex

Global CSS

.rubii-message-user{padding:6px 10px;border-radius:6px;background:#05080a;font-family:"Courier New",Courier,monospace;color:#7cfc9a}
.ifx-p{color:#7cfc9a;font-weight:800}
.ifx-r{margin:0 0 6px;font-family:"Courier New",Courier,monospace;font-size:15px;font-weight:800;letter-spacing:1px;color:#ffe08a;text-transform:uppercase}
.ifx-x{margin-top:8px;font-family:"Courier New",Courier,monospace;font-size:12px;color:#7cfc9a}

Regex 1

Name
ifx prompt
Expression
/^(?!\s*$)/
Replacement
<span class="ifx-p">&gt;</span>
Apply to
User messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
ifx room
Expression
/^\[\[([^\]\n]{1,40})\]\]$/gm
Replacement
<div class="ifx-r">$1</div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 3

Name
ifx exits
Expression
/^Exits[::] ?(.{1,80})$/gm
Replacement
<div class="ifx-x">EXITS · $1</div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Drama, film & comics

Cinematic romance, idol dramas, comedies, manga-flavoured stories: typography and framing that change how a line lands.

Preview
Chapter title card & scene breaks

Chapter title card & scene breaks

Good for
Long slow-burn stories told in chapters, time skips, a web-novel feel. No new markers: it styles normal Markdown.
The character writes
## Chapter 3 · Title (a Markdown heading) and *** on its own line for a scene break.
Put this in the Moment setting
Begin each new day or location with a Markdown heading `## Chapter number · short title` (only at real turning points). Separate scenes inside a reply with a line containing only `***`.
In the app
Full design.
On Web
Same as the app.
Tip
Styling Markdown elements (h2, blockquote, table) needs no marker at all, the most reliable formatting there is.
Copy the Styles & regex

Global CSS

.rubii-message-character h2{margin:6px 0 14px;padding:14px 12px;border-top:1px solid rgba(255,217,168,.5);border-bottom:1px solid rgba(255,217,168,.5);font-family:Georgia,"Songti TC",serif;font-size:19px;font-weight:400;letter-spacing:3px;line-height:28px;text-align:center;color:#ffd9a8}
.cp-br{margin:14px 0;font-size:12px;letter-spacing:8px;text-align:center;color:rgba(255,217,168,.75)}

Regex 1

Name
scene break
Expression
/^(?:\*\*\*|---)[ \t]*$/gm
Replacement
<div class="cp-br">✦ ✦ ✦</div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Screenplay format

Screenplay format

Good for
A director or actor lead, meta stories 'filming' a drama, a noir told like a script, comedy sketches.
The character writes
Scene headings INT. PLACE – TIME, then a CHARACTER NAME line in capitals with the dialogue on the next line, (beat) optional.
Put this in the Moment setting
Write the reply as a screenplay: a scene heading `INT. PLACE – TIME` or `EXT. PLACE – TIME` when the location changes; actions as normal sentences; each spoken line as the speaker's NAME in capitals on its own line, an optional `(direction)` line, then the dialogue line.
In the app
Full design.
On Web
Same as the app.
Tip
A regex can span two or three lines (\n in the pattern) to group a name with the line under it.
Copy the Styles & regex

Global CSS

.scr-slug{margin:12px 0 8px;padding:4px 10px;background:rgba(255,255,255,.9);color:#111;font-family:"Courier New",Courier,monospace;font-size:13px;font-weight:700;text-shadow:none}
.scr-d{margin:8px 36px;font-family:"Courier New",Courier,monospace;text-align:center}
.scr-cue{font-size:13px;font-weight:700;letter-spacing:1px;color:#fff}
.scr-par{font-size:12px;font-style:italic;color:rgba(255,255,255,.66)}
.scr-line{font-size:14px;line-height:21px;color:#f1f1f1}

Regex 1

Name
slug
Expression
/^((?:INT|EXT)\.[^\n]{1,80})$/gm
Replacement
<div class="scr-slug">$1</div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
cue
Expression
/^([A-Z][A-Z .'-]{1,20})\n(?:\(([^)\n]{1,60})\)\n)?([^\n]{1,300})$/gm
Replacement
<div class="scr-d"><div class="scr-cue">$1</div><div class="scr-par">$2</div><div class="scr-line">$3</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Clapperboard scene slate

Clapperboard scene slate

Good for
Film-set romances, a 'reality show' framing, retakes of the same scene as a time-loop joke.
The character writes
[slate scene | take | description]
Put this in the Moment setting
At the start of each new scene, open with `[slate scene number | take number | INT./EXT. place – time]`. If a scene is redone, keep the scene number and raise the take.
In the app
Full design; the stripes are drawn with a hard-stop gradient.
On Web
Same as the app.
Tip
Hard-stop linear-gradient stripes with % positions work in the app; repeating-linear-gradient does not.
Copy the Styles & regex

Global CSS

.sl{margin:12px auto;max-width:280px;border-radius:6px;background:#161616;border:2px solid #e9e9e9}
.sl-top{height:18px;border-radius:4px 4px 0 0;font-size:1px;background:linear-gradient(135deg,#fff 0%,#fff 12%,#161616 12%,#161616 24%,#fff 24%,#fff 36%,#161616 36%,#161616 48%,#fff 48%,#fff 60%,#161616 60%,#161616 72%,#fff 72%,#fff 84%,#161616 84%)}
.sl-row{display:flex;padding:8px 0 2px;text-align:center}
.sl-c{flex:1}
.sl-k{font-size:10px;letter-spacing:2px;color:#aaa}
.sl-v{font-family:"Courier New",Courier,monospace;font-size:24px;font-weight:700;color:#fff}
.sl-d{padding:4px 10px 10px;font-family:"Courier New",Courier,monospace;font-size:12px;text-align:center;color:#e9e9e9}

Regex 1

Name
slate
Expression
/^\[slate ([^|\n]{1,10}) ?\| ?([^|\n]{1,10}) ?\| ?([^\]\n]{1,80})\]$/gm
Replacement
<div class="sl"><div class="sl-top">&nbsp;</div><div class="sl-row"><div class="sl-c"><div class="sl-k">SCENE</div><div class="sl-v">$1</div></div><div class="sl-c"><div class="sl-k">TAKE</div><div class="sl-v">$2</div></div></div><div class="sl-d">$3</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Film subtitles (with translation)

Film subtitles (with translation)

Good for
Foreign-language leads, K-drama or Thai-drama framing, a character speaking a fantasy language with subtitles.
The character writes
[sub] line | translation (the translation is optional).
Put this in the Moment setting
When {{char}} speaks Korean, write each spoken line as `[sub] Korean line | English translation`. Narration stays in English outside the subtitles.
In the app
Full design.
On Web
Same as the app.
Tip
An optional group that does not match leaves an empty div; the app draws nothing for empty elements, which is exactly right here.
Copy the Styles & regex

Global CSS

.sb{margin:4px 0;padding:6px 12px;background:#000;text-align:center}
.sb-a{font-size:15px;font-weight:700;line-height:22px;color:#ffe45c;text-shadow:0 1px 2px #000}
.sb-b{font-size:12px;line-height:17px;color:#e6e6e6}

Regex 1

Name
sub
Expression
/^\[sub\] ?([^|\n]{1,200}?)(?: ?\| ?([^\n]{1,200}))?$/gm
Replacement
<div class="sb"><div class="sb-a">$1</div><div class="sb-b">$2</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Manga sound effects

Manga sound effects

Good for
Comedy, action, shōjo heartbeats: BA-DUMP, DOKI DOKI, a door slamming. Big lettering in the middle of prose.
The character writes
(sfx: BA-DUMP) anywhere in the text.
Put this in the Moment setting
For a strong sound or heartbeat, insert a manga sound effect as `(sfx: WORD)` inside the sentence, at most twice per reply.
In the app
Outlined, shadowed lettering that tilts and pops in.
On Web
Same as the app.
Tip
Several text-shadow layers make an outline and a glow in both renderers.
Copy the Styles & regex

Global CSS

.fx{white-space:nowrap;font-size:24px;font-weight:900;font-style:italic;letter-spacing:1px;color:#fff;text-shadow:2px 2px 0 #ff3d7f,-1px -1px 0 #3d5afe,0 0 8px rgba(255,61,127,.6)}
@media (min-width:0){
  .fx{display:inline-block;transform:rotate(-6deg);animation:fx-pop .4s ease-out}
  @keyframes fx-pop{
    from{transform:scale(1.6) rotate(-6deg)}
    to{transform:scale(1) rotate(-6deg)}
  }
}

Regex 1

Name
sfx
Expression
/\(sfx: ?([^)\n]{1,30})\)/gi
Replacement
<span class="fx">$1</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Thought cloud

Thought cloud

Good for
Tsundere leads who say the opposite of what they think, comedic inner panic, telepathy.
The character writes
>> thought on its own line.
Put this in the Moment setting
When {{char}} thinks something they would never say, put it on its own line starting with `>> `. Use it once per reply, and make it contradict what they say out loud.
In the app
Full design; the little bubble trail sits above the cloud.
On Web
Same as the app.
Tip
::before works in the app only as a separate line on a block element; that is enough for labels and trails.
Copy the Styles & regex

Global CSS

.tc{margin:14px 0 10px 16px;max-width:300px;padding:10px 16px;border-radius:26px;background:rgba(245,247,255,.95);color:#2c3350;font-size:14px;font-style:italic;line-height:21px;text-shadow:none}
.tc::before{display:block;content:"° ∘ ○";margin-bottom:2px;font-size:11px;font-style:normal;letter-spacing:2px;color:#8a93b8}

Regex 1

Name
thought
Expression
/^>> ?(.{1,300})$/gm
Replacement
<div class="tc">$1</div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Whisper & shout typography

Whisper & shout typography

Good for
Volume as emotion: a whisper in a library, a shout across a battlefield, a secret said too quietly to hear.
The character writes
~whispered words~ and !!SHOUTED WORDS!! inside dialogue.
Put this in the Moment setting
Show volume in dialogue: wrap whispered words in single tildes `~like this~` and shouted words in double exclamation marks `!!LIKE THIS!!`. Use each at most twice per reply.
In the app
Small and large type; the shout shakes.
On Web
Same as the app.
Tip
Single tildes would be strikethrough in Markdown; the regex runs first and turns them into a whisper instead.
Copy the Styles & regex

Global CSS

.ws-w{font-size:12px;font-style:italic;letter-spacing:1.5px;color:rgba(200,215,255,.75)}
.ws-s{font-size:20px;font-weight:900;letter-spacing:.5px;text-transform:uppercase;color:#ff5d5d}
@media (min-width:0){
  .ws-s{display:inline-block;animation:ws-shake .3s 2}
  @keyframes ws-shake{
    25%{transform:translateX(-2px)}
    75%{transform:translateX(2px)}
  }
}

Regex 1

Name
whisper
Expression
/~([^~\n]{1,120})~/g
Replacement
<span class="ws-w">$1</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
shout
Expression
/!!([^!\n]{1,80})!!/g
Replacement
<span class="ws-s">$1</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Split POV (his side / your side)

Split POV (his side / your side)

Good for
Misunderstanding comedies, rivals, a long-distance couple, two timelines, the same moment from two heads.
The character writes
[split his side || your side]
Put this in the Moment setting
Once per reply, show the same moment from both heads on one line as `[split what {{char}} thinks || what {{char}} imagines {{user}} thinks]`. Keep each side to one or two sentences, funny when they don't match.
In the app
Two columns side by side.
On Web
Same as the app.
Tip
flex:1 columns work in the app as long as the row does not wrap.
Copy the Styles & regex

Global CSS

.pv{display:flex;gap:6px;margin:12px 0}
.pv-a,.pv-b{flex:1;padding:8px 10px;border-radius:10px;font-size:13px;line-height:19px}
.pv-a{background:rgba(64,110,190,.28);border-top:3px solid #6fa8ff;color:#e3eeff}
.pv-b{background:rgba(190,64,120,.26);border-top:3px solid #ff7aa8;color:#ffe6f0}
.pv-k{margin-bottom:2px;font-size:10px;font-weight:800;letter-spacing:2px;opacity:.8}

Regex 1

Name
split
Expression
/^\[split ([^|\n]{1,300}?) ?\|\| ?([^\]\n]{1,300})\]$/gm
Replacement
<div class="pv"><div class="pv-a"><div class="pv-k">HIM</div>$1</div><div class="pv-b"><div class="pv-k">YOU</div>$2</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Radio / walkie-talkie transcript

Radio / walkie-talkie transcript

Good for
Military and rescue stories, heists, pilots, a storm-chaser couple, a ghost on channel 9.
The character writes
[CH3] Name: message lines; kssht or krrk becomes static.
Put this in the Moment setting
Radio messages go on their own lines as `[CH3] Callsign: message`, ending with `over`. Interference is written `kssht`.
In the app
Full design.
On Web
Same as the app.
Tip
A word rule like kssht also works inside the transcript lines: rules see each other's output.
Copy the Styles & regex

Global CSS

.rd-l{display:flex;gap:8px;align-items:flex-start;margin:2px 0;padding:5px 10px;border-radius:6px;background:rgba(20,28,16,.85);font-family:"Courier New",Courier,monospace;font-size:13px;line-height:19px}
.rd-ch{padding:0 5px;border-radius:3px;background:#b6ff5c;color:#16210a;font-weight:800;font-size:11px}
.rd-n{font-weight:800;color:#d8ffab}
.rd-t{flex:1;color:#eaf5dc}
.rd-st{color:#8c9a80;letter-spacing:2px;font-style:italic}

Regex 1

Name
radio
Expression
/^\[(CH\d{1,2})\] ?([^:\n]{1,20})[::] ?(.{1,300})$/gm
Replacement
<div class="rd-l"><span class="rd-ch">$1</span><span class="rd-n">$2</span><span class="rd-t">$3</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
static
Expression
/\b(k+s+h+t+|k+r+k+)\b/gi
Replacement
<span class="rd-st">$1</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Timeline

Timeline

Good for
Reincarnation and time-travel stories, a relationship recap, lore of a fantasy kingdom, a detective's reconstruction.
The character writes
▸ when · what happened lines.
Put this in the Moment setting
When the past is recalled, list the events as lines `▸ date or age · what happened`, oldest first, 3–5 lines.
In the app
Full design.
On Web
Same as the app.
Tip
A left border on the text column is enough to draw the timeline line in both renderers.
Copy the Styles & regex

Global CSS

.tl{display:flex;gap:10px;margin:0}
.tl-y{width:62px;padding:4px 0;font-size:12px;font-weight:800;text-align:right;color:#9fd8ff}
.tl-b{flex:1;padding:4px 0 10px 12px;border-left:2px solid rgba(159,216,255,.5);font-size:13px;line-height:19px;color:#e2eef8}

Regex 1

Name
timeline
Expression
/^▸ ?([^·\n]{1,20}) ?· ?(.{1,200})$/gmu
Replacement
<div class="tl"><div class="tl-y">$1</div><div class="tl-b">$2</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Now playing + lyrics

Now playing + lyrics

Good for
Musician and idol leads, a song that is 'theirs', a road trip playlist, a karaoke confession.
The character writes
[now playing Song — Artist | 42] (42 = progress %), and ♪ lyric lines.
Put this in the Moment setting
When music matters, show `[now playing Song — Artist | progress 0–100]` on its own line, and quote at most two invented lyric lines as `♪ lyric`.
In the app
Full design.
On Web
Same as the app.
Tip
Inline style="width:$2%" only works on block elements in the app; keep bar fills as divs with &nbsp;.
Copy the Styles & regex

Global CSS

.mp{display:flex;gap:12px;align-items:center;margin:12px 0 8px;padding:10px;border-radius:14px;background:linear-gradient(135deg,rgba(60,30,80,.9),rgba(20,20,40,.9))}
.mp-art{width:52px;height:52px;border-radius:10px;background:linear-gradient(135deg,#ff7aa8,#7b5cff);color:#fff;font-size:24px;line-height:52px;text-align:center}
.mp-b{flex:1}
.mp-t{font-size:13px;font-weight:700;line-height:18px;color:#fff}
.mp-bar{height:4px;margin:6px 0;border-radius:2px;background:rgba(255,255,255,.2)}
.mp-f{height:4px;border-radius:2px;font-size:1px;line-height:4px;background:#fff}
.mp-c{font-size:12px;letter-spacing:2px;color:rgba(255,255,255,.8)}
.mp-ly{margin:2px 0;font-size:14px;font-style:italic;text-align:center;color:#ffc6e0}

Regex 1

Name
now playing
Expression
/^\[now playing ([^|\n]{1,80}) ?\| ?(\d{1,3})\]$/gm
Replacement
<div class="mp"><div class="mp-art">♫</div><div class="mp-b"><div class="mp-t">$1</div><div class="mp-bar"><div class="mp-f" style="width:$2%">&nbsp;</div></div><div class="mp-c">⏮ ⏸ ⏭</div></div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Regex 2

Name
lyric
Expression
/^♪ ?(.{1,120})$/gmu
Replacement
<div class="mp-ly">♪ $1</div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Flashback / memory block

Flashback / memory block

Good for
Childhood-friend reunions, amnesia, a villain's origin, a past life surfacing mid-scene.
The character writes
<flashback>memory</flashback>
Put this in the Moment setting
When a memory surfaces, write it inside `<flashback>…</flashback>`, in past tense, 2–4 lines, no empty lines inside. Return to the present right after.
In the app
Full design.
On Web
Adds a light sepia filter.
Tip
Translate the header to your market: — หลายปีก่อน —, — 多年前 —.
Copy the Styles & regex

Style tagsflashback

Tag name
flashback
HTML template
<div class="fb"><div class="fb-h">— years ago —</div><div class="fb-b">$1</div></div>
Apply to
Character messages

Global CSS

.fb{margin:14px 0;padding:10px 16px;border-radius:4px;background:linear-gradient(180deg,rgba(112,86,56,.55),rgba(60,44,28,.55));border-left:3px solid #d8b27c}
.fb-h{font-size:11px;letter-spacing:3px;text-transform:uppercase;color:#e8c99a}
.fb-b{font-size:14px;font-style:italic;line-height:22px;color:#f1e3cc;white-space:pre-wrap}
@media (min-width:0){
  .fb{filter:sepia(.3)}
}
Preview
Narrator footnotes

Narrator footnotes

Good for
A snarky narrator, a scholar annotating a fantasy world, translator's notes, comedic asides that don't break the scene.
The character writes
※ note lines at the end of the reply.
Put this in the Moment setting
The narrator may add up to two dry comments at the end of a reply, each on its own line starting with `※ `.
In the app
Full design.
On Web
Same as the app.
Tip
Asides give the model a place for humour without breaking the character's voice.
Copy the Styles & regex

Global CSS

.fn{margin:0;padding:3px 0 3px 10px;border-left:1px solid rgba(255,255,255,.3);font-size:12px;line-height:17px;color:rgba(255,255,255,.66)}
.fn:first-of-type{margin-top:10px}

Regex 1

Name
footnote
Expression
/^※ ?(.{1,200})$/gmu
Replacement
<div class="fn">※ $1</div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Mystic, fantasy & 古風

Fortune tellers, ghosts and spirits, palace intrigue, cultivation sects, invented languages: ritual objects and old paper.

Preview
Tarot card

Tarot card

Good for
A fortune-teller lead, a witch's reading, fate-themed romance, a card drawn at the start of each chapter.
The character writes
[tarot number · Name | upright/reversed | meaning]
Put this in the Moment setting
When a card is drawn, show it on its own line as `[tarot numeral · Card Name | upright or reversed | what it means for {{user}} now]`, then {{char}} interprets it in character.
In the app
Full design; the reversed state is shown in red with the card name upside-down.
On Web
Same as the app.
Tip
Restricting the capture to upright|reversed gives a reliable class for each state.
Copy the Styles & regex

Global CSS

.tr{display:flex;gap:12px;align-items:center;margin:12px 0}
.tr-card{width:92px;padding:10px 6px;border-radius:8px;background:linear-gradient(180deg,#2a1b4a,#120b24);border:2px solid #c9a44c;text-align:center}
.tr-star{font-size:12px;letter-spacing:2px;color:#c9a44c}
.tr-n{margin:18px 0;font-family:Georgia,serif;font-size:13px;font-weight:700;line-height:18px;color:#f6e7b8}
.tr-o{font-size:9px;letter-spacing:2px;text-transform:uppercase;color:#c9a44c}
.tr-reversed .tr-o{color:#ff8f8f}
.tr-m{flex:1;font-size:13px;font-style:italic;line-height:20px;color:#e7dcff}
@media (min-width:0){
  .tr-reversed .tr-n{transform:rotate(180deg)}
}

Regex 1

Name
tarot
Expression
/^\[tarot ([^|\n]{1,40}) ?\| ?(upright|reversed) ?\| ?([^\]\n]{1,160})\]$/gm
Replacement
<div class="tr tr-$2"><div class="tr-card"><div class="tr-star">✶ ☾ ✶</div><div class="tr-n">$1</div><div class="tr-o">$2</div></div><div class="tr-m">$3</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Temple fortune slip (เซียมซี / 籤詩)

Temple fortune slip (เซียมซี / 籤詩)

Good for
Thai temple visits, Chinese New Year, a spirit-house romance, a fortune that predicts the romance plot.
The character writes
[fortune number | verse | meaning]
Put this in the Moment setting
เมื่อ{{user}}เขย่าเซียมซี ให้แสดงผลในบรรทัดเดียวเป็น `[fortune เลข | คำทำนายสั้นแบบกลอน | ความหมายต่อเรื่องตอนนี้]` แล้วให้{{char}}ตีความต่อ
In the app
Full design.
On Web
Same as the app.
Tip
Change the header text in the replacement for 籤詩 (第 $1 籤) or omikuji.
Copy the Styles & regex

Global CSS

.fs{margin:12px auto;max-width:230px;padding:10px 14px 12px;background:#fff3e2;border:2px solid #c8102e;border-radius:4px;color:#5a0a14;text-shadow:none;text-align:center}
.fs-h{padding-bottom:6px;border-bottom:1px solid #c8102e;font-size:14px;font-weight:800;color:#c8102e}
.fs-v{margin:8px 0;font-size:15px;font-weight:700;line-height:24px;white-space:pre-wrap}
.fs-m{font-size:12px;line-height:18px;color:#7a2a2a}
.fs-seal{width:30px;height:30px;margin:8px auto 0;border-radius:4px;background:#c8102e;color:#fff3e2;font-size:16px;font-weight:800;line-height:30px}

Regex 1

Name
fortune
Expression
/^\[fortune (\d{1,3}) ?\| ?([^|\n]{1,160}) ?\| ?([^\]\n]{1,200})\]$/gm
Replacement
<div class="fs"><div class="fs-h">เซียมซี ใบที่ $1</div><div class="fs-v">$2</div><div class="fs-m">$3</div><div class="fs-seal">吉</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
古風 poem with a seal

古風 poem with a seal

Good for
古風 romance, a scholar lead, a poem exchanged across a palace wall, love letters in verse.
The character writes
<poem>line line</poem>
Put this in the Moment setting
當{{char}}寫詩或題字時,放在 `<poem>…</poem>` 內,每行一句(四到七字),共二至四句,標籤內不要空行。
In the app
Centred horizontal verse, paper and seal.
On Web
Written vertically, right to left, like a real scroll.
Tip
Vertical writing-mode currently shows on the Web only; the app keeps the horizontal layout, which still reads well.
Copy the Styles & regex

Style tagspoem

Tag name
poem
HTML template
<div class="cp"><div class="cp-b">$1</div><div class="cp-seal">卿</div></div>
Apply to
Character messages

Global CSS

.cp{margin:14px auto;max-width:300px;padding:16px 18px 12px;background:linear-gradient(180deg,#f3ead6,#e6d8b8);color:#2b2118;text-shadow:none;border-top:4px solid #6b4a2b;border-bottom:4px solid #6b4a2b}
.cp-b{font-family:"Songti TC","Noto Serif TC",serif;font-size:17px;line-height:32px;letter-spacing:4px;text-align:center;white-space:pre-wrap}
.cp-seal{width:30px;height:30px;margin:6px 0 0 auto;border:2px solid #b3261e;border-radius:3px;color:#b3261e;font-family:"Songti TC",serif;font-size:16px;line-height:26px;text-align:center}
@media (min-width:0){
  .cp-b{writing-mode:vertical-rl;height:190px;margin:0 auto;text-align:left}
}
Preview
Imperial edict (聖旨)

Imperial edict (聖旨)

Good for
宮鬥 and palace romances: a marriage decree, an execution order, a promotion that ruins everything.
The character writes
<edict>text</edict>
Put this in the Moment setting
宣讀聖旨時,把內容放在 `<edict>…</edict>` 內,用正式文言,二至三句,標籤內不要空行。
In the app
Full design.
On Web
Same as the app.
Tip
The fixed opening and closing formulas live in the template, so the model only writes the decree itself.
Copy the Styles & regex

Style tagsedict

Tag name
edict
HTML template
<div class="ed"><div class="ed-h">奉天承運 皇帝詔曰</div><div class="ed-b">$1</div><div class="ed-f"><span>欽此</span><span class="ed-seal">御</span></div></div>
Apply to
Character messages

Global CSS

.ed{margin:14px 0;padding:12px 16px;border-radius:4px;background:linear-gradient(180deg,#f7d774,#e9b93c);color:#3d2303;text-shadow:none;border-left:10px solid #8a5a12;border-right:10px solid #8a5a12}
.ed-h{font-family:"Songti TC","Noto Serif TC",serif;font-size:14px;font-weight:700;letter-spacing:4px;text-align:center}
.ed-b{margin:8px 0;font-family:"Songti TC","Noto Serif TC",serif;font-size:15px;line-height:26px;white-space:pre-wrap}
.ed-f{display:flex;justify-content:flex-end;align-items:center;gap:10px;font-family:"Songti TC",serif;font-size:14px;font-weight:700}
.ed-seal{width:30px;height:30px;border-radius:4px;background:#b3261e;color:#f7d774;font-size:16px;line-height:30px;text-align:center}
Preview
Talisman (符 / ยันต์)

Talisman (符 / ยันต์)

Good for
Exorcists, Thai ghost romance, Taoist priests, a jiangshi comedy, a protective charm pressed into {{user}}'s hand.
The character writes
<talisman>short incantation</talisman>
Put this in the Moment setting
When {{char}} writes a charm, put the incantation (2–4 short lines) inside `<talisman>…</talisman>`, no empty lines inside.
In the app
Full design.
On Web
Same as the app.
Tip
Works in Thai too: write the incantation in Thai and change the header to ยันต์.
Copy the Styles & regex

Style tagstalisman

Tag name
talisman
HTML template
<div class="ta"><div class="ta-h">敕 令</div><div class="ta-b">$1</div><div class="ta-f">☯</div></div>
Apply to
Character messages

Global CSS

.ta{margin:14px auto;max-width:150px;padding:10px 8px;background:#f2d34f;border:2px solid #b3261e;color:#b3261e;text-shadow:none;text-align:center}
.ta-h{font-family:"Songti TC",serif;font-size:18px;font-weight:900;letter-spacing:6px}
.ta-b{margin:8px 0;font-family:"Songti TC","Noto Serif TC",serif;font-size:15px;font-weight:700;line-height:24px;white-space:pre-wrap}
.ta-f{font-size:20px}
Preview
Otherworldly voice

Otherworldly voice

Good for
Ghosts, gods, a voice in the walls, the sword that talks, an AI in your head. Their words look different from human speech.
The character writes
〔words〕
Put this in the Moment setting
The spirit's words are never in quotation marks: wrap them in `〔 〕` brackets. Human characters speak normally.
In the app
Glowing, spaced-out letters whose glow breathes.
On Web
Same as the app.
Tip
Choose a bracket the model never uses for anything else; 〔 〕 is rare in every language.
Copy the Styles & regex

Global CSS

.sv{font-style:italic;letter-spacing:3px;color:#bfe7ff;text-shadow:0 0 6px rgba(120,200,255,.9),0 0 14px rgba(120,200,255,.5)}
@media (min-width:0){
  .sv{animation:sv-breathe 3s ease-in-out infinite}
  @keyframes sv-breathe{
    50%{opacity:.55}
  }
}

Regex 1

Name
spirit
Expression
/〔([^〕\n]{1,200})〕/g
Replacement
<span class="sv">$1</span>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Ruby gloss (words with a reading above)

Ruby gloss (words with a reading above)

Good for
Invented fantasy languages, furigana, a foreign lead teaching {{user}} words, spell names with meanings.
The character writes
{word|gloss}
Put this in the Moment setting
When {{char}} uses an Elvish word, write it as `{elvish word|meaning}` so the meaning floats above it, at most three per reply.
In the app
Full design; the gloss sits above the word.
On Web
Same as the app.
Tip
Also great for Japanese furigana {漢字|かんじ} and for Thai learners {สวัสดี|hello}. Place at most one gloss inside a quoted line: the default dialogue colour pairs quotes within each piece of text.
Copy the Styles & regex

Global CSS

.rb{color:#ffd9a8;font-weight:700}
.rb rt{font-size:10px;font-weight:400;letter-spacing:.5px;color:#9fd8ff}

Regex 1

Name
ruby
Expression
/\{([^|{}\n]{1,30})\|([^{}\n]{1,40})\}/g
Replacement
<ruby class="rb">$1<rt>$2</rt></ruby>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Time, place & horror

Widgets that set the scene (clock, weather, place, date) and effects for thrillers and horror.

Preview
Weather widget

Weather widget

Good for
Rainy-day romances, road trips, a storm trapping two people together, a monsoon in Bangkok.
The character writes
[weather icon | temperature | place · condition]
Put this in the Moment setting
Open every reply with the weather on its own line as `[weather emoji | temperature | place · condition]`, and let the weather affect the scene.
In the app
Full design.
On Web
Same as the app.
Tip
A widget as the first line gives every reply an instant mood.
Copy the Styles & regex

Global CSS

.wx{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:10px 14px;border-radius:16px;background:linear-gradient(135deg,#3a5f8f,#1f3450);color:#fff}
.wx-i{font-size:28px}
.wx-t{font-size:26px;font-weight:300;line-height:32px}
.wx-p{flex:1;font-size:12px;line-height:17px;color:rgba(255,255,255,.85);text-align:right}

Regex 1

Name
weather
Expression
/^\[weather ([^|\n]{1,4}) ?\| ?([^|\n]{1,10}) ?\| ?([^\]\n]{1,60})\]$/gmu
Replacement
<div class="wx"><div class="wx-i">$1</div><div class="wx-t">$2</div><div class="wx-p">$3</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Countdown clock

Countdown clock

Good for
Ticking-bomb thrillers, a curfew, the last train, a contract that expires at midnight, a time-loop reset.
The character writes
⏳ 02:59:13 · until what
Put this in the Moment setting
End each reply with the time left on its own line as `⏳ HH:MM:SS · until what`. Time only moves forward and matches the scene.
In the app
Glowing red digits that blink.
On Web
Same as the app.
Tip
A countdown creates urgency the model will respect when it sees the number each turn.
Copy the Styles & regex

Global CSS

.cd{display:flex;align-items:center;gap:10px;margin:10px 0;padding:6px 12px;border-radius:8px;background:#140405;border:1px solid rgba(255,59,48,.6)}
.cd-t{font-family:"Courier New",Courier,monospace;font-size:26px;font-weight:700;letter-spacing:2px;color:#ff3b30;text-shadow:0 0 8px rgba(255,59,48,.8)}
.cd-l{flex:1;font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#ffb3ad}
@media (min-width:0){
  .cd-t{animation:cd-blink 1s steps(1) infinite}
  @keyframes cd-blink{
    50%{opacity:.6}
  }
}

Regex 1

Name
countdown
Expression
/^⏳ ?(\d{1,2}:\d{2}(?::\d{2})?)(?: ?· ?(.{1,60}))?$/gmu
Replacement
<div class="cd"><span class="cd-t">$1</span><span class="cd-l">$2</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Location pin

Location pin

Good for
Travel romances, a map of a fantasy city, stalker-lite 'I know where you are', a detective moving between scenes.
The character writes
📍 Place · detail
Put this in the Moment setting
Whenever the place changes, start the reply with `📍 Place · small detail` on its own line.
In the app
Full design.
On Web
Same as the app.
Tip
Pairs well with the weather widget for travel cards.
Copy the Styles & regex

Global CSS

.lp{display:flex;align-items:center;gap:6px;margin:0 0 10px;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);font-size:12px}
.lp-n{font-weight:800;color:#fff}
.lp-d{color:rgba(255,255,255,.7)}

Regex 1

Name
pin
Expression
/^📍 ?([^·\n]{1,40})(?: ?· ?(.{1,60}))?$/gmu
Replacement
<div class="lp"><span class="lp-i">📍</span><span class="lp-n">$1</span><span class="lp-d">$2</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Tear-off calendar page

Tear-off calendar page

Good for
Time skips, anniversaries, a 30-day contract counting down, a loop that always restarts on the same date.
The character writes
[cal day | MONTH | weekday · note]
Put this in the Moment setting
When the story moves to a new day, show the date first on its own line as `[cal day | MONTH | weekday · short note]`.
In the app
Full design.
On Web
Same as the app.
Tip
A note like day 29 of 30 reminds the model where the story is.
Copy the Styles & regex

Global CSS

.cl{margin:12px auto;max-width:150px;border-radius:10px;background:#fff;color:#222;text-shadow:none;text-align:center;box-shadow:0 6px 14px rgba(0,0,0,.4)}
.cl-m{padding:4px;border-radius:10px 10px 0 0;background:#e53935;color:#fff;font-size:13px;font-weight:800;letter-spacing:3px}
.cl-d{font-size:48px;font-weight:800;line-height:58px}
.cl-n{padding:0 8px 8px;font-size:11px;line-height:15px;color:#666}

Regex 1

Name
cal
Expression
/^\[cal (\d{1,2}) ?\| ?([^|\n]{1,10}) ?\| ?([^\]\n]{1,60})\]$/gm
Replacement
<div class="cl"><div class="cl-m">$2</div><div class="cl-d">$1</div><div class="cl-n">$3</div></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)
Preview
Neon sign

Neon sign

Good for
Cyberpunk bars, a night market, a love hotel joke, a club owner lead, a sign that means something to both of you.
The character writes
<neon>WORDS</neon>
Put this in the Moment setting
When a sign is visible, show its words inside `<neon>…</neon>`, one to four words.
In the app
Glowing tube lettering that flickers.
On Web
Same as the app.
Tip
Stack 3–4 text-shadow layers of the same colour for a strong glow; the app draws all of them.
Copy the Styles & regex

Style tagsneon

Tag name
neon
HTML template
<div class="ne">$1</div>
Apply to
Character messages

Global CSS

.ne{margin:14px 0;padding:10px;border-radius:12px;background:#07060d;border:2px solid rgba(255,79,216,.55);box-shadow:0 0 18px rgba(255,79,216,.35);font-size:26px;font-weight:800;letter-spacing:4px;line-height:34px;text-align:center;color:#ffe6fb;text-shadow:0 0 4px #fff,0 0 10px #ff4fd8,0 0 22px #ff4fd8,0 0 40px #b026ff}
@media (min-width:0){
  .ne{animation:ne-flicker 4s infinite}
  @keyframes ne-flicker{
    0%,18%,22%,60%,64%,100%{opacity:1}
    20%,62%{opacity:.55}
  }
}
Preview
Glitch text

Glitch text

Good for
Horror, a simulation breaking, a yandere AI, memories being edited, a game world where {{char}} realises the truth.
The character writes
<glitch>words</glitch> inside a sentence.
Put this in the Moment setting
When reality slips, wrap the wrong words in `<glitch>…</glitch>`, one to three times per reply, never whole paragraphs.
In the app
Red/cyan chromatic split that jitters.
On Web
Same as the app.
Tip
An inline span template keeps Markdown working around it.
Copy the Styles & regex

Style tagsglitch

Tag name
glitch
HTML template
<span class="gl">$1</span>
Apply to
Character messages

Global CSS

.gl{font-weight:800;letter-spacing:1px;color:#f4f4f4;text-shadow:2px 0 0 #ff003c,-2px 0 0 #00e5ff}
@media (min-width:0){
  .gl{display:inline-block;animation:gl-jit 2.5s infinite steps(1)}
  @keyframes gl-jit{
    0%,90%,100%{transform:none}
    92%{transform:translate(2px,-1px);text-shadow:-3px 0 0 #ff003c,3px 0 0 #00e5ff}
    95%{transform:translate(-2px,1px)}
  }
}
Preview
Tap-to-reveal memory

Tap-to-reveal memory

Good for
Amnesia, secrets the player chooses to uncover, spoilers, a letter inside a letter, 'what he really meant'.
The character writes
<memory>hidden text</memory>
Put this in the Moment setting
When something from {{user}}'s forgotten past surfaces, hide it inside `<memory>…</memory>` (1–3 lines, no empty lines inside). Do not explain it in the narration.
In the app
Collapsed panel; tap to open.
On Web
Same as the app.
Tip
details is interactive in both renderers; it is the only tap interaction chat has.
Copy the Styles & regex

Style tagsmemory

Tag name
memory
HTML template
<details class="hm"><summary>✧ a memory surfaces · tap</summary><div class="hm-b">$1</div></details>
Apply to
Character messages

Global CSS

.hm{margin:12px 0;border-radius:12px;background:rgba(40,30,60,.75);border:1px solid rgba(185,166,255,.35)}
.hm summary{padding:8px 14px;font-size:13px;letter-spacing:1px;color:#cbbcff;list-style:none}
.hm-b{padding:0 14px 10px;font-size:14px;font-style:italic;line-height:22px;color:#ece6ff;white-space:pre-wrap}
Preview
Found-footage REC overlay

Found-footage REC overlay

Good for
Horror vlogs, ghost-hunting streams, security camera footage, a sweet 'recorded on our first date' home video.
The character writes
[REC 03:14:07 | CAM 2 · hallway]
Put this in the Moment setting
The story is told through a camera: start each reply with `[REC HH:MM:SS | CAM number · place]`, then describe only what the camera can see and hear.
In the app
Full design; the REC dot blinks.
On Web
Same as the app.
Tip
Restricting what the narration may describe (only what the camera sees) is what makes this format scary.
Copy the Styles & regex

Global CSS

.rc2{display:flex;align-items:center;gap:10px;margin:10px 0;padding:6px 12px;background:rgba(0,0,0,.8);border-top:1px solid rgba(255,255,255,.4);border-bottom:1px solid rgba(255,255,255,.4);font-family:"Courier New",Courier,monospace;font-size:13px;color:#f2f2f2}
.rc2-dot{color:#ff3b30;font-weight:800}
.rc2-c{flex:1;color:rgba(255,255,255,.8)}
.rc2-b{color:#9f9}
@media (min-width:0){
  .rc2-dot{animation:rc2-b 1s steps(1) infinite}
  @keyframes rc2-b{
    50%{opacity:0}
  }
}

Regex 1

Name
rec
Expression
/^\[REC ([\d:]{4,8}) ?\| ?([^\]\n]{1,40})\]$/gm
Replacement
<div class="rc2"><span class="rc2-dot">● REC</span><span class="rc2-t">$1</span><span class="rc2-c">$2</span><span class="rc2-b">▮▮▯</span></div>
Apply to
Character messages
Matches in
Raw content (with HTML tags)

Make it look right everywhere

  • Design for the app first. It shows colours, gradients, borders, rounded corners, shadows and glows, flex rows and columns, tables, ruby text and tap-to-open panels.
  • The Web and the app follow the same CSS rules: @media queries, tilts and other transforms, layered backgrounds such as ruled paper, and @keyframes animations look the same on both. @media (min-width:0){ … } has no special meaning; it is true on both.
  • Give every decorative shape (a dot, a bar fill, an avatar circle) an &nbsp; inside, and make bars block elements (div). Empty shapes and widths on inline text don't show in the app.
  • Light cards (paper, receipts, notes) need text-shadow:none, and keep quotation marks out of them: the default dialogue colour is made for dark backgrounds.
  • Leave an empty line after a block marker, and no empty lines inside a multi-line tag.
  • Every rule in this cookbook matches in Raw content (with HTML tags): it runs before the tags expand, so it can turn markers into panels. A rule that only styles dialogue or words in replies that already contain HTML is safer in Displayed text (no HTML tags), which never touches tags, attributes or CSS.
  • Rules run top to bottom. Put the specific rule first (a TOTAL line before other receipt lines).

Every look here is a starting point. Combine two, change the words, invent a new marker. Your players will notice the difference in the first reply.