-
-
-
+ {/* Sender — top-left (return address, smaller) */}
+
+
- {/* Names — sender top-left, recipient bottom-right */}
-
-
-
-
- {!compact && (
-
-
-
- )}
+ {/* Recipient — centered (mailing address, larger) */}
+
+
{/* Subtle shadow edges */}
@@ -297,7 +270,7 @@ export function EncryptedLetterContent({ event, compact, className }: EncryptedL
/>
- {/* ========================= FRONT FACE ========================= */}
+ {/* ============= FRONT FACE (flap side — shown after flip) ============= */}
- {/* Flap */}
-
-
+ {/* Paper texture */}
+
+
+ {/* V-fold crease lines (bottom corners only — top is covered by the flap) */}
+
+
+
+
+
+ {/* Flap — triangular top portion that opens upward */}
+
+
-
-
-
+
+
+
+ {/* Flap body */}
+ {/* Crease line */}
- {/* Letter content area — slides up when opened */}
+ {/* Wax seal — centered */}
+
+
+ {/* Letter content area — slides up when flap is opened */}
- {/* Inner letter sheet — flex column so the notice always stays visible */}
+ {/* Inner letter sheet */}
- {/* Nushu ciphertext — scrollable with bottom fade hint */}
+ {/* Nushu ciphertext */}
{nushuText}
- {/* Sticky fade hint at the bottom */}
+ {/* Fade hint */}
- {/* Encrypted message notice — always visible */}
+ {/* Encrypted message notice */}