/* 家常：溫暖的信紙色調，字大、按鈕大，長輩也好用 */
:root {
  --bg: #f6efe3;
  --paper: #fffaf1;
  --ink: #2b2420;
  --muted: #7a6d62;
  --line: #e4d8c6;
  --accent: #9b2c2c;
  --accent-soft: #f3dcd6;
  --mine: #f2e3c4;
  --theirs: #ffffff;
  --ok: #3f7d4e;
  --warn: #b7791f;
  font-size: 17px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}
html:lang(zh-Hans) body { font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }

.screen { position: fixed; inset: 0; display: flex; flex-direction: column; max-width: 640px; margin: 0 auto; background: var(--bg);
  padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }

/* ---------- 按鈕 ---------- */
.btn { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 12px 14px; min-height: 48px; font-size: 16px; cursor: pointer; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn.danger { color: var(--accent); border-color: var(--accent-soft); }
.btn:disabled { opacity: .5; }
.btn.wide { width: 100%; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 10px; cursor: pointer; }
.icon-btn { background: none; border: 0; font-size: 24px; min-width: 44px; min-height: 44px; cursor: pointer; border-radius: 10px; }
.icon-btn.round { border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: 20px; }
.icon-btn.send { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- 第一次使用 ---------- */
.setup-box { margin: auto; width: 100%; padding: 24px 22px; text-align: center; }
.seal { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 18px; background: var(--accent); color: #fff;
  font-size: 34px; letter-spacing: 4px; font-family: "Kaiti TC", "BiauKai", "DFKai-SB", "KaiTi", serif; box-shadow: 0 6px 18px rgba(155, 44, 44, .25); }
html:lang(zh-Hans) .seal { font-family: "Kaiti SC", "STKaiti", "KaiTi", serif; }
.tagline { font-size: 19px; margin: 16px 0 8px; }
.points { text-align: left; color: var(--muted); font-size: 15px; line-height: 1.7; padding-left: 22px; margin: 0 0 20px; }
.setup-box .warn { text-align: left; font-size: 14px; line-height: 1.6; color: #8a4b12; background: #fff4e0; border: 1px solid #f0d2a0; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; }
.setup-box .note { text-align: left; font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; }
/* 「隱私說明」「備註」兩個普通連結並排；備註是對話框，頁面本身不動 */
.setup-links { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
/* 備註對話框：三小段，每段一個小標題 */
.dlg .notes-sec + .notes-sec { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 2px; }
.dlg .notes-sec h4 { margin: 12px 0 6px; }
.dlg .notes-steps { margin: 4px 0; padding-left: 22px; line-height: 1.7; font-size: 15px; }
.dlg .notes-steps li + li, .dlg .notes-facts li + li { margin-top: 4px; }
.dlg .notes-facts { margin: 4px 0; padding-left: 20px; line-height: 1.7; font-size: 15px; }
.dlg .notes-kb { font-size: 13px; line-height: 1.7; color: var(--muted); }
.dlg .invite-btn { margin-top: 14px; }
.dlg p.muted { white-space: pre-line; }
.field { display: block; text-align: left; margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; font-size: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-family: inherit; }

/* ---------- 標題列 ---------- */
.bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--paper); }
.title { margin: 0 0 0 6px; font-size: 22px; font-family: "Kaiti TC", "BiauKai", "DFKai-SB", "KaiTi", serif; color: var(--accent); letter-spacing: 2px; }
html:lang(zh-Hans) .title { font-family: "Kaiti SC", "STKaiti", "KaiTi", serif; }
.net { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.net::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #bbb; margin-right: 5px; vertical-align: 1px; }
.net.on::before { background: var(--ok); }
.net.bad { color: var(--accent); }
.net.bad::before { background: var(--accent); }
.net.dot-only .net-t { display: none; }
.net.dot-only::before { width: 10px; height: 10px; margin: 0 0 0 4px; vertical-align: middle; }
/* 頂部連線狀態：放得下就顯示「● 已連線」；放不下（例如 320 寬英文）才只留圓點，文字在 aria-label 裡（程式量過以後加 .dot-only） */
@media (max-width: 480px) {
  .net { flex: 1 0 18px; text-align: left; }   /* 圓點一定留得下（320 寬英文：Kin Chat + Get the app 很擠） */
  .install-chip { padding: 0 8px; }
  html:lang(en) .title { letter-spacing: 0; }
}

/* ---------- 方案（免費／蓋） ---------- */
.plan { margin: 10px 12px 0; padding: 10px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.plan .plan-text { flex: 1; line-height: 1.5; }
.plan .plan-text b { font-size: 16px; }
.plan.gai { background: linear-gradient(135deg, #fff5e0, #f7e2c0); border-color: #e9cf9f; }
.plan .btn { min-height: 44px; padding: 8px 12px; font-size: 14px; }

/* ---------- 聊天列表 ---------- */
.lists { flex: 1; overflow-y: auto; padding: 4px 0 12px; -webkit-overflow-scrolling: touch; }
.sec { font-size: 14px; color: var(--muted); font-weight: 600; margin: 16px 16px 6px; }
.chat-list { list-style: none; margin: 0; padding: 0; }
.chat-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; background: var(--paper); }
.chat-item:active { background: #f3e9d8; }
.avatar { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 600; }
.avatar.grp { border-radius: 14px; }
.avatar .dot { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: var(--ok); border: 2px solid var(--paper); }
.ci-main { flex: 1; min-width: 0; }
.ci-top { display: flex; gap: 8px; align-items: baseline; }
.ci-name { flex: 1; font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-time { font-size: 12px; color: var(--muted); }
.ci-last { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.badge { flex: none; min-width: 22px; height: 22px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 13px; display: grid; place-items: center; padding: 0 6px; }
.empty { margin: 4px 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.actions { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--paper); }
.actions .btn { padding: 10px 6px; font-size: 15px; }

/* ---------- 聊天畫面 ---------- */
.who { flex: 1; min-width: 0; }
.who-name { font-size: 18px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-sub { font-size: 12px; color: var(--muted); }
.who-sub.on { color: var(--ok); }
.msgs { flex: 1; overflow-y: auto; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; -webkit-overflow-scrolling: touch; }
.day { align-self: center; font-size: 12px; color: var(--muted); background: rgba(0, 0, 0, .05); padding: 3px 10px; border-radius: 10px; margin: 8px 0 4px; }
.msg { max-width: 78%; align-self: flex-start; }
.msg.mine { align-self: flex-end; }
.msg .from { font-size: 12px; color: var(--muted); margin: 0 6px 2px; }
.bubble { background: var(--theirs); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 9px 12px; font-size: 17px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.msg.mine .bubble { background: var(--mine); border-color: #e6d1a8; border-radius: 16px 16px 4px 16px; }
.bubble.img { padding: 4px; }
.bubble img { display: block; max-width: 100%; max-height: 320px; border-radius: 12px; cursor: zoom-in; }
.bubble.voice { display: flex; align-items: center; gap: 10px; min-width: 150px; cursor: pointer; }
.bubble.voice .play { font-size: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; border: 0; cursor: pointer; }
.bubble.voice .wave { flex: 1; height: 4px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.bubble.voice .wave i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); }
.bubble.voice .len { font-size: 14px; color: var(--muted); }
.meta { font-size: 11px; color: var(--muted); margin: 2px 6px 0; text-align: right; }
.msg:not(.mine) .meta { text-align: left; }
.meta .wait { color: var(--warn); }
.meta .done { color: var(--ok); }
.notice { align-self: center; font-size: 13px; color: var(--muted); text-align: center; padding: 8px 14px; line-height: 1.6; }

.composer { display: flex; align-items: flex-end; gap: 6px; padding: 8px; border-top: 1px solid var(--line); background: var(--paper); }
.composer textarea { flex: 1; resize: none; max-height: 130px; min-height: 44px; padding: 10px 12px; font-size: 17px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink); font-family: inherit; line-height: 1.4; }
.recbar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff4f1; }
.recbar #recTime { font-variant-numeric: tabular-nums; font-size: 18px; font-weight: 600; }
.recbar .rec-tip { flex: 1; color: var(--muted); font-size: 14px; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #d33; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- 對話框 ---------- */
.dlg { border: 0; border-radius: 18px; padding: 0; width: min(92vw, 460px); max-height: 88vh; background: var(--paper); color: var(--ink); box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.dlg::backdrop { background: rgba(40, 30, 20, .45); }
#dlgBody { padding: 20px 18px 16px; overflow-y: auto; max-height: 88vh; }
.dlg h3 { margin: 0 0 10px; font-size: 20px; }
.dlg p { margin: 8px 0; line-height: 1.6; font-size: 15px; }
.dlg .muted { color: var(--muted); font-size: 14px; }
.dlg .row { display: flex; gap: 8px; margin-top: 14px; }
.dlg .row .btn { flex: 1; }
.dlg .col { display: grid; gap: 8px; margin-top: 14px; }
.codebox { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; background: #fff; border: 1px dashed var(--line); border-radius: 10px; padding: 10px; user-select: all; -webkit-user-select: all; }
.safety { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 22px; letter-spacing: 2px; text-align: center; background: #fff; border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 10px 0 0; max-height: 40vh; overflow-y: auto; }
.checks li label { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
.checks input { width: 22px; height: 22px; }
.members { list-style: none; padding: 0; margin: 8px 0 0; }
.members li { padding: 8px 2px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
.members li .tag { font-size: 12px; color: var(--muted); }
.gai-list { margin: 8px 0; padding-left: 20px; line-height: 1.8; font-size: 15px; }

.viewer { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); display: grid; place-items: center; z-index: 50; }
.viewer img { max-width: 100%; max-height: 100%; }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: rgba(40, 30, 20, .9); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 15px; z-index: 60; max-width: 86vw; text-align: center; }

/* 另一個分頁開著家常：這裡不能傳訊息 */
body.dup #composer, body.dup .actions { pointer-events: none; opacity: .4; }
/* 很長、不斷行的名字不要撐破對話框 */
.checks li label span, .members li span { min-width: 0; overflow-wrap: anywhere; }
.members li span:first-child { flex: 1; }
/* 第一次使用：底部留空間，不被「加到主畫面」卡片蓋住 */
.setup-box { padding-bottom: 140px; }

/* ---------- 密碼鎖 ---------- */
.pin { -webkit-text-security: disc; text-security: disc; letter-spacing: 6px; text-align: center; font-size: 26px !important; font-variant-numeric: tabular-nums; }
.lock-box .pin { display: block; width: 100%; max-width: 260px; margin: 18px auto 6px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.lock-box .btn { margin-top: 10px; }
.lock-box { padding-bottom: 40px; }
.lock-msg { min-height: 1.6em; margin: 4px 0 6px; color: var(--accent); font-size: 15px; line-height: 1.6; }
.veil { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; }
.dlg .warn { font-size: 14px; line-height: 1.6; color: #8a4b12; background: #fff4e0; border: 1px solid #f0d2a0; border-radius: 12px; padding: 10px 12px; }
.dlg select { display: block; width: 100%; margin-top: 6px; padding: 12px; font-size: 17px; font-family: inherit; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.dlg .lockbox { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 8px; }
.dlg ul.loss { margin: 6px 0; padding-left: 20px; line-height: 1.8; font-size: 15px; }
/* 密碼欄：看得出是密碼欄（灰色提示字＋圓點），旁邊有「顯示」 */
.pinwrap { display: flex; gap: 8px; align-items: stretch; margin-top: 6px; }
.pinwrap .pin { flex: 1; min-width: 0; margin: 0 !important; }
.pin::placeholder { -webkit-text-security: none; letter-spacing: 1px; font-size: 17px; color: #b3a596; }
.pin:placeholder-shown { -webkit-text-security: none; }
.pin.pin-show { -webkit-text-security: none; text-security: none; }
.pin-eye { flex: none; min-width: 64px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; font-size: 15px; color: var(--muted); cursor: pointer; }
.lock-pinwrap { max-width: 330px; margin: 18px auto 6px; }
.lock-pinwrap .pin { max-width: none !important; }

/* ---------- 語言切換「繁｜简｜EN」 ---------- */
.lang-seg { display: inline-flex; margin: 10px auto 0; }
.setup-box .lang-seg { display: flex; justify-content: center; }
.lang-seg button { min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid rgba(0,0,0,.15); background: transparent; color: inherit; font: inherit; font-size: 14px; cursor: pointer; opacity: .75; }
.lang-seg button:first-child { border-radius: 9px 0 0 9px; }
.lang-seg button:last-child { border-radius: 0 9px 9px 0; }
.lang-seg button + button { border-left: 0; }
.lang-seg button[aria-pressed="true"] { background: #9b2c2c; border-color: #9b2c2c; color: #fff; opacity: 1; font-weight: 700; }

/* 第一次使用、密碼鎖：小手機上內容比畫面長時可以捲動（不然「開始使用」按不到） */
#setup, #lock { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 歡迎畫面：先裝到手機（字要大） ---------- */
#welcome { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.welcome-box { text-align: center; }
.w-lead { margin: 18px 0 6px; font-size: 24px; font-weight: 700; line-height: 1.45; }
.w-lead2 { margin: 0 0 22px; font-size: 20px; line-height: 1.6; }
.w-big { min-height: 60px; font-size: 21px; }
.w-how { margin: 18px 0 6px; padding: 16px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: left; }
.w-step { display: flex; align-items: center; gap: 12px; margin: 10px 0; font-size: 20px; line-height: 1.45; }
.w-num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 20px; font-weight: 700; }
.w-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: #f3efe6; color: #1a73e8; }
.w-icon svg { width: 34px; height: 34px; }
.w-dots { font-size: 30px; font-weight: 700; letter-spacing: 2px; color: #333; }
.w-note { margin: 8px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.w-ok { font-size: 21px; font-weight: 700; line-height: 1.55; color: #1b6b3a; text-align: center; }
.w-invite { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: #8a4b12; background: #fff4e0; border: 1px solid #f0d2a0; border-radius: 12px; padding: 10px 12px; text-align: left; }
.w-web { display: block; margin: 18px auto 0; font-size: 16px; }
.w-webnote { margin: 0 auto; max-width: 30em; font-size: 14px; line-height: 1.6; color: var(--muted); }
.w-links { display: flex; justify-content: center; align-items: center; gap: 2px; margin-top: 14px; color: var(--muted); font-size: 15px; }
.w-links .link { min-height: 44px; font-size: 15px; }
/* 指向手機下方分享鍵的動畫箭頭 */
.w-arrow { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 6px); z-index: 50; transform: translateX(-50%); font-size: 44px; line-height: 1; color: var(--accent); animation: w-bob 1s ease-in-out infinite; pointer-events: none; }
.w-arrow.top { top: calc(env(safe-area-inset-top) + 4px); bottom: auto; left: auto; right: 14px; transform: none; animation-name: w-bob-up; }
@keyframes w-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }
@keyframes w-bob-up { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -8px); } }
@media (prefers-reduced-motion: reduce) { .w-arrow { animation: none; } }
/* 歡迎畫面出現時，不再另外跳出「加到主畫面」小卡 */
body.welcome-on [data-install-guide] { display: none !important; }

/* 「我有邀請連結，貼上加入」 */
.paste-big { min-height: 58px; font-size: 19px; font-weight: 700; margin: 0 0 18px; border: 2px solid var(--accent); color: var(--accent); background: #fff; }
.paste-box { margin: 0 0 18px; text-align: left; }
.paste-box p { margin: 0 0 6px; font-size: 16px; }
.paste-box textarea { width: 100%; box-sizing: border-box; font-size: 16px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; }
.w-copy { margin-top: 10px; min-height: 52px; font-size: 18px; font-weight: 700; background: #fff; }

/* 「📲 裝到手機」：瀏覽器裡（不是從主畫面打開）隨時可以回到安裝畫面 */
.install-again { margin: 10px 0 0; background: #fff; color: var(--accent); border: 2px solid var(--accent); font-weight: 700; }
.install-chip { flex: none; min-height: 44px; padding: 0 10px; font-size: 14px; font-weight: 700; border: 1.5px solid var(--accent); color: var(--accent); background: #fff; border-radius: 10px; white-space: nowrap; }
.w-back { display: block; margin: 0 0 6px; padding: 10px 4px; font-size: 17px; text-align: left; text-decoration: none; }
.bar .icon-btn, .bar .title { flex: none; }

/* ---------- 家號：救援碼、名片、好友申請 ---------- */
.rescue { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.rescue .rg { display: flex; flex-direction: column; align-items: center; padding: 8px 2px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font: 700 20px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 1px; color: var(--ink); }
.rescue .rg small { font: 12px/1 system-ui, sans-serif; color: var(--muted); margin-bottom: 4px; }
.dlg .warn { font-size: 15px; line-height: 1.6; color: #8a4b12; background: #fff4e0; border: 1px solid #f0d2a0; border-radius: 12px; padding: 10px 12px; }
.mycard { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 8px 0 12px; }
.mc-name { font-size: 18px; color: var(--muted); }
.mc-id { font: 700 28px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 2px; color: var(--accent); }
.qr { width: 220px; max-width: 70vw; height: auto; image-rendering: pixelated; }
.req-list { list-style: none; margin: 0 0 8px; padding: 0; }
.req-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; margin: 0 8px 8px; background: var(--paper); border: 1px solid var(--accent-soft); border-radius: 14px; }
.req-card .ci-main { flex: 1 1 160px; min-width: 0; }
.req-card .ci-name { white-space: normal; }
.req-btns { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.req-btns .btn { flex: 1 1 auto; min-height: 44px; }
.out-list { padding: 0 16px; font-size: 15px; }
.dlg h4 { margin: 18px 0 4px; font-size: 16px; }
.dlg .rescue + .warn { margin-top: 4px; }
.nowrap { white-space: nowrap; }
/* 安全碼變了的紅色警告、好友資料頁的安全碼放大 */
.key-warn { margin: 8px; padding: 12px; border: 2px solid var(--accent); border-radius: 12px; background: #fdecea; color: #7a1f1f; font-size: 15px; line-height: 1.5; }
.key-warn p { margin: 4px 0 8px; }
.dlg .safety { font: 700 22px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 1px; text-align: center; padding: 12px; background: #fff; border: 2px solid var(--accent-soft); border-radius: 12px; word-spacing: 6px; }
