/* Real Reply の画面（ux）。紙の白 + 藍。機嫌の色: 青緑 → 琥珀 → 赤 → 炭。入力欄、お題、送信は動かさない（R14）。 */
:root {
  --paper: #F5F0E8; --ink: #23232B; --indigo: #2C3B6B; --muted: #6E6A63; --line: #E2DACB;
  --m0: #2E8F83; --m1: #E5A21B; --m2: #D9382B; --m3: #3B3B46;
  --mood: var(--m0); --mood-soft: #DDEFEB; --mood-ink: #1B5F57;
  --ok: #1F7A6D; --bad: #D9382B; --comp: #E5A21B;
  --font: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; overflow: hidden; background: var(--paper); color: var(--ink); font: 16px/1.4 var(--font); overscroll-behavior: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

#outer { position: fixed; left: 0; right: 0; top: var(--vvt, 0px); height: var(--vvh, 100dvh); background: var(--paper); transition: background .4s; }
#phone { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--paper); overflow: hidden; max-width: 100%; }
#phone[data-mood="0"] { --mood: var(--m0); --mood-soft: #DDEFEB; --mood-ink: #1B5F57; }
#phone[data-mood="1"] { --mood: var(--m1); --mood-soft: #FBEBC5; --mood-ink: #7A5200; }
#phone[data-mood="2"] { --mood: var(--m2); --mood-soft: #F9D3CE; --mood-ink: #8F1D14; }
#phone[data-mood="3"] { --mood: var(--m3); --mood-soft: #D5D5DB; --mood-ink: #2A2A33; }
@media (min-width: 700px) {
  #outer { display: grid; place-items: center; }
  #outer[data-mood="0"] { background: #E3EBE6; } #outer[data-mood="1"] { background: #EFE6CF; }
  #outer[data-mood="2"] { background: #EBCFCA; } #outer[data-mood="3"] { background: #D4D4DA; }
  #phone { width: 420px; height: min(860px, calc(var(--vvh, 100vh) - 32px)); border-radius: 28px; box-shadow: 0 18px 60px rgba(30, 30, 50, .28), 0 0 0 1px rgba(0,0,0,.06); }
  .band-fb { display: none; }
}

/* 帯 32px（左 36px は「作った話と感想」のボタン） */
.band { flex: none; height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 8px 0 0; }
.band-fb { flex: none; width: 36px; }
.band-title { flex: 1; font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--indigo); padding-left: 8px; }
.langsw { display: flex; border: 1px solid #C9C1B0; border-radius: 12px; overflow: hidden; height: 24px; }
.langsw button { border: 0; background: transparent; padding: 0 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.langsw button[aria-pressed="true"] { background: var(--indigo); color: #fff; }
.langsw.locked { display: none; }

/* 相手の欄 56px */
.partner { position: relative; flex: none; height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 12px 3px; background: var(--mood-soft); color: var(--mood-ink); transition: background .3s, color .3s; z-index: 2; }
#phone[data-mood="3"] .partner { background: var(--m3); color: #fff; }
.avatar { flex: none; width: 44px; height: 44px; }
.avatar-in { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 1.5px solid rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(0,0,0,.12); background: #fff; }
.avatar svg, .av svg, .rface svg { display: block; width: 100%; height: 100%; }
.who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.who b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { font-size: 12px; opacity: .9; font-weight: 600; white-space: nowrap; }
.status.typing::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.prog { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.dots { display: flex; gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.18); }
#phone[data-mood="3"] .dots i { background: rgba(255,255,255,.3); }
.dots i.sent { background: var(--indigo); }
#phone[data-mood="3"] .dots i.sent { background: #fff; }
.dots i.now { background: transparent; box-shadow: inset 0 0 0 2px var(--indigo); }
#phone[data-mood="3"] .dots i.now { box-shadow: inset 0 0 0 2px #fff; }
.count { font-size: 11px; font-weight: 700; opacity: .85; }
.patience { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,0,0,.1); }
.patience .fill { position: absolute; inset: 0; background: var(--mood); transform-origin: left center; transform: scaleX(1); transition: transform .08s linear, background .3s; }
.patience u { position: absolute; top: -2px; width: 2px; height: 7px; background: rgba(255,255,255,.95); box-shadow: 0 0 0 .5px rgba(0,0,0,.25); margin-left: -1px; }
.shake .avatar-in { animation: shake .35s ease-in-out; }
.rage .avatar-in { animation: shake .22s ease-in-out infinite; }
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-2.5px) rotate(-3deg); } 40% { transform: translateX(2.5px) rotate(3deg); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
.flash { animation: flash .5s ease-out; }
@keyframes flash { 0% { box-shadow: inset 0 0 0 40px rgba(217,56,43,.28); } 100% { box-shadow: inset 0 0 0 40px rgba(217,56,43,0); } }

/* 通知の帯（相手が替わる時） */
.notify { position: absolute; left: 8px; right: 8px; top: 34px; height: 54px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: rgba(35,35,43,.94); color: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.3); transform: translateY(-130%); opacity: 0; pointer-events: none; }
.notify.show { animation: banner 1.3s ease-in-out forwards; }
@keyframes banner { 0% { transform: translateY(-130%); opacity: 1; } 27% { transform: translateY(0); opacity: 1; } 92% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-130%); opacity: 1; } }
.notify .nav { flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.notify .ntext { min-width: 0; line-height: 1.25; }
.notify .ntext b { display: block; font-size: 13px; }
.notify .ntext span { display: block; font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 会話の部分（下を固定して上へ伸びる。お題と入力欄は外にあるので動かない） */
.convo { flex: 1 1 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 6px 10px 8px; position: relative; transition: background .4s;
  -webkit-mask-image: linear-gradient(transparent 0, #000 22px); mask-image: linear-gradient(transparent 0, #000 22px); }
#phone[data-mood="3"] .convo { background: rgba(59,59,70,.12); }
.row { flex: none; display: flex; align-items: flex-start; gap: 6px; margin-top: 3px; max-width: 100%; }
.row.first { margin-top: 9px; }
.row.in { justify-content: flex-start; }
.row.out { justify-content: flex-end; }
.av { flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.av.ph { visibility: hidden; box-shadow: none; }
.col { min-width: 0; display: flex; align-items: flex-end; gap: 5px; max-width: calc(100% - 38px); }
.row.out .col { max-width: 86%; }
.bubble { position: relative; padding: 8px 12px; border-radius: 16px; font-size: 16px; line-height: 1.38; word-break: break-word; overflow-wrap: anywhere; white-space: pre-wrap; background: #fff; box-shadow: 0 1px 2px rgba(60,50,30,.18); animation: pop .22s ease-out; }
.row.in .bubble.tail { border-top-left-radius: 4px; }
.row.out .bubble { background: var(--indigo); color: #fff; box-shadow: none; border-top-right-radius: 4px; }
.row.out .bubble.tail { border-top-right-radius: 16px; }
.row.in .bubble.tail::before { content: ""; position: absolute; left: -6px; top: 0; width: 10px; height: 12px; background: #fff; clip-path: polygon(100% 0, 100% 100%, 0 0); }
.row.out .bubble.tail::before { content: ""; position: absolute; right: -6px; top: 0; width: 10px; height: 12px; background: var(--indigo); clip-path: polygon(0 0, 100% 0, 0 100%); }
@keyframes pop { 0% { transform: translateY(8px) scale(.96); opacity: 0; } 100% { transform: none; opacity: 1; } }
.bubble.s1 { box-shadow: 0 0 0 2px var(--m1), 0 1px 2px rgba(60,50,30,.18); }
.bubble.s2 { box-shadow: 0 0 0 2.5px var(--m2), 0 2px 8px rgba(217,56,43,.28); font-weight: 800; color: #8F1D14; background: #FFF3F1; }
.row.in .bubble.s2.tail::before { background: #FFF3F1; }
.bubble.s3 { background: var(--m3); color: #fff; box-shadow: none; }
.row.in .bubble.s3.tail::before { background: var(--m3); }
.bubble.dots-b { letter-spacing: .12em; font-size: 20px; line-height: 1; padding: 10px 14px; }
.bubble .typo { text-decoration: underline wavy #FF8A80; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.t { flex: none; font-size: 11px; color: var(--muted); line-height: 1.2; padding-bottom: 2px; }
.readmark { align-self: flex-end; margin: 2px 4px 0 0; font-size: 11px; color: var(--muted); }
.sticker-big { width: 96px; height: 96px; animation: pop .18s ease-out, shake .5s .1s; }
.row.stk .col { align-items: flex-end; }
.typing-row .bubble { display: flex; gap: 4px; padding: 11px 13px; }
.typing-row .bubble i { width: 7px; height: 7px; border-radius: 50%; background: #9A948A; animation: bob 1s infinite; }
.typing-row .bubble i:nth-child(2) { animation-delay: .15s; } .typing-row .bubble i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%,60%,100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.toast { position: absolute; left: 50%; bottom: 140px; transform: translateX(-50%); z-index: 4; max-width: 90%; padding: 5px 12px; border-radius: 12px; background: rgba(35,35,43,.88); color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .15s; white-space: nowrap; }
.toast.show { opacity: 1; }

/* お題のカード（固定の高さ。追い打ちでも、お題の行数でも動かない） */
.prompt { position: relative; flex: none; height: 76px; margin: 0 10px; padding: 8px 12px 6px; background: #fff; border-radius: 14px; box-shadow: 0 -1px 0 rgba(0,0,0,.04), 0 1px 3px rgba(60,50,30,.18); border: 2px solid transparent; overflow: hidden; transition: border-color .3s; }
#phone[data-mood="1"] .prompt { border-color: var(--m1); } #phone[data-mood="2"] .prompt { border-color: var(--m2); } #phone[data-mood="3"] .prompt { border-color: var(--m3); }
.prompt-bar { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--ok); transition: width .12s; }
.prompt-label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin-bottom: 1px; }
.prompt-text { display: block; font-size: 18px; font-weight: 800; line-height: 1.3; color: #3A3A44; word-break: break-all; }
.prompt-text.long { font-size: 16px; line-height: 1.25; }
.prompt-text span.ok { color: var(--ok); border-bottom: 2px solid var(--ok); }
.prompt-text span.bad { color: var(--bad); background: rgba(217,56,43,.14); border-radius: 3px; }
.prompt-text span.composing { border-bottom: 2px dotted var(--comp); }
.prompt.nudge { animation: nudge 1.6s ease-in-out 1; }
@keyframes nudge { 0%,100% { background: #fff; } 50% { background: #FFF6DB; } }

/* 入力欄と送信（52px） */
.composer { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)); height: calc(56px + env(safe-area-inset-bottom, 0px)); }
.kb-open .composer { padding-bottom: 6px; height: 56px; }
#reply { flex: 1; min-width: 0; height: 44px; resize: none; padding: 11px 16px; font: 16px/22px var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 22px; outline: none; overflow: hidden; }
#reply:focus { border-color: var(--indigo); }
#reply[aria-disabled="true"] { background: #EFEAE0; }
.send { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; touch-action: manipulation; }
.send:active { transform: scale(.94); }

/* 結果（S2） */
.result { position: absolute; left: 0; right: 0; top: 32px; bottom: 0; z-index: 6; background: var(--paper); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 16px 96px; animation: rise .35s ease-out; }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.r-speed { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 6px; color: var(--indigo); }
.r-speed .num { font-size: 72px; line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.r-speed .unit { font-size: 18px; font-weight: 800; }
.r-sub { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; background: var(--indigo); color: #fff; }
.r-acc { font-size: 14px; font-weight: 700; }
.r-def { margin: 6px 0 0; font-size: 11px; line-height: 1.45; color: var(--muted); text-align: center; }
.r-hint { margin: 10px 0; text-align: center; font-size: 14px; color: var(--ink); }
.r-h { margin: 16px 0 6px; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.r-faces { display: flex; justify-content: center; gap: 14px; }
.r-face { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.rface { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0,0,0,.12); }
.r-face b { font-size: 12px; max-width: 96px; text-align: center; line-height: 1.2; }
.r-face .cnt { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.r-face .cnt.hot { background: var(--m2); color: #fff; border-color: var(--m2); }
.r-seg { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 2px 8px; align-items: center; margin: 5px 0; font-size: 13px; }
.r-seg .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-seg .sec { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.r-seg .bar { grid-column: 1 / -1; height: 7px; border-radius: 4px; background: rgba(0,0,0,.07); overflow: hidden; }
.r-seg .bar i { display: block; height: 100%; border-radius: 4px; }
.r-dict { margin-top: 8px; padding: 9px 11px; border-radius: 12px; background: #fff; font-size: 13px; line-height: 1.5; box-shadow: 0 1px 2px rgba(60,50,30,.15); }
.r-dict small { display: block; margin-top: 3px; font-size: 10.5px; color: var(--muted); }
.r-btns { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; display: flex; gap: 10px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--paper) 22%); }
.btn { flex: 1; height: 48px; border-radius: 24px; border: 2px solid var(--indigo); background: var(--indigo); color: #fff; font-weight: 800; font-size: 16px; }
.btn.ghost { background: #fff; color: var(--indigo); }
.btn.big { flex: 1.3; }

/* 結果のカードのシート（S3） */
.sheet { position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-end; }
.sheet-back { position: absolute; inset: 0; background: rgba(20,20,30,.5); }
.sheet-body { position: relative; width: 100%; padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-radius: 20px 20px 0 0; animation: sheet .3s ease-out; }
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; font-size: 22px; line-height: 1; }
.card-canvas { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.25); background: #ddd; }
.sheet-msg { min-height: 18px; margin: 6px 0 2px; font-size: 12px; color: var(--muted); }
.sheet-btns { display: flex; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.convo { z-index: 1; }
.bubble.dots-b { letter-spacing: 0; font-size: 18px; font-weight: 800; line-height: 1.2; padding: 8px 14px; }
.patience u { top: -3px; height: 6px; }
.row.out { flex-wrap: wrap; }
.readmark { flex-basis: 100%; text-align: right; margin: 0 6px 0 0; }
.notify { transform: translateY(-220%); }
@keyframes banner { 0% { transform: translateY(-220%); opacity: 1; } 27% { transform: translateY(0); opacity: 1; } 92% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-220%); opacity: 0; } }
.r-best { width: fit-content; max-width: 100%; margin: 10px auto 0; padding: 5px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.r-best.new { background: var(--comp); border-color: var(--comp); color: #3A2A00; font-size: 14px; font-weight: 900; animation: pop .4s ease-out, glow 1.6s ease-in-out 2; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(229,162,27,.35); } }
.r-segnote { margin: 4px 0; padding: 9px 11px; border-radius: 12px; background: #fff; border: 1px dashed #C9C1B0; font-size: 13px; line-height: 1.5; color: var(--ink); }
#sheet-share:not([hidden]) { display: block; }
.sheet-btns .btn { height: 44px; font-size: 14px; padding: 0 6px; }
.sheet-btns [hidden] { display: none; }

/* 5-4: 怒りの強さ。追い打ちは大きく、少し傾けて、赤い縁を脈打たせる */
.row.in .bubble.s2 { font-size: 18px; animation: pop .18s ease-out, throb .9s ease-in-out .25s 3; }
@keyframes throb { 50% { box-shadow: 0 0 0 4px var(--m2), 0 2px 14px rgba(217,56,43,.5); } }
.row.in .bubble.s3 { font-size: 20px; letter-spacing: .2em; }
#phone[data-mood="2"] .convo { background: linear-gradient(transparent 40%, rgba(217,56,43,.07)); }

/* 工程7 */
/* 1: 送れなかった自分の吹き出し。入力欄は次の連絡が届くまで薄くなる */
.row.out.unsent .bubble { background: #fff; color: var(--indigo); box-shadow: inset 0 0 0 1.5px rgba(44,59,107,.45); border: 0; opacity: .7; border-style: dashed; }
.row.out.unsent .bubble.tail::before { display: none; }
.row.out.unsent .bubble { border-top-right-radius: 16px; }
.row.out.unsent .t { color: var(--m2); font-weight: 800; font-size: 11px; opacity: 1; }
#reply[aria-disabled="true"] { opacity: .5; background: #EFEAE0; border-style: dashed; }
#reply[aria-disabled="true"] ~ .send, .composer:has(#reply[aria-disabled="true"]) .send { opacity: .45; }
/* 2: 空のまま送信を押した時、入力欄が小さく揺れる（0.2秒。文は出さない） */
#reply.nope { animation: nope .2s ease-in-out 1; }
@keyframes nope { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-4px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-3px); } 90% { transform: translateX(2px); } }
/* 3: 結果の1通ごとの行 */
.r-badge-row { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.r-title { text-align: center; font-size: 22px; font-weight: 900; color: var(--indigo); margin: 10px 0 0; }
.r-acc { display: block; width: 100%; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.4; }
.r-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin: 5px 0; padding: 5px 8px; background: #fff; border-radius: 12px; box-shadow: 0 1px 2px rgba(60,50,30,.12); }
.r-row .rf { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.r-row .rf svg { display: block; width: 100%; height: 100%; }
.r-row .who { font-size: 13px; font-weight: 800; min-width: 0; }
.r-row .who small { display: block; font-size: 12px; font-weight: 700; margin-top: 1px; }
.r-row .st-ok { color: var(--ok); } .r-row .st-typo { color: #B7790A; } .r-row .st-off { color: #B7790A; } .r-row .st-timeout { color: var(--m2); }
.r-row .secs { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); }
/* 5: 通知の帯は相手の欄の下（会話の上の端）。名前と進み具合を隠さない。お題と入力欄には重ならない */
.notify { top: 90px; height: 46px; transform: translateY(-6px); opacity: 0; }
.notify .nav { width: 30px; height: 30px; }
@keyframes banner { 0% { transform: translateY(-6px); opacity: 0; } 18% { transform: translateY(0); opacity: 1; } 92% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }
/* 6: 英語は単語の区切りで折り返す（日本語は今のまま） */
html[lang="en"] .prompt-text { word-break: normal; overflow-wrap: break-word; }
html[lang="en"] .bubble { word-break: normal; overflow-wrap: break-word; }
/* 7: 忍耐の線の目盛りの顔（いら立ち、怒り）。小さく、入力のじゃまをしない */
.pmark { position: absolute; bottom: -9px; width: 16px; height: 16px; margin-left: -8px; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.pmark svg { display: block; }
.patience u { display: none; }

/* 工程7（2回目） */
/* 3: 結果のボタンは中身の最後に置き、下に固定して不透明な地を敷く（中身に重ならず、最後までスクロールできる） */
.result { padding-bottom: 0; }
.r-btns { position: sticky; left: auto; right: auto; bottom: 0; margin: 14px -16px 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--paper); box-shadow: 0 -1px 0 var(--line); }
/* 4: 余分に打った */
#reply.over { border-color: var(--m2); box-shadow: 0 0 0 2px rgba(217,56,43,.25); }
.prompt-extra { display: none; position: absolute; right: 8px; top: 5px; padding: 1px 8px; border-radius: 9px; background: var(--m2); color: #fff; font-size: 11px; font-weight: 800; }
.prompt.has-extra .prompt-extra { display: block; }
/* 5 */
.r-hint2 { margin: -2px 0 6px; font-size: 11px; color: var(--muted); }
.pmark.p3 { margin-left: -14px; }

/* 工程7（3回目） */
/* 2: 会話の上の、日付や通知の行のような1行 */
.sys-line { align-self: center; flex: none; margin: 4px 0 6px; padding: 2px 10px; border-radius: 10px; background: rgba(0,0,0,.07); color: var(--muted); font-size: 11.5px; font-weight: 600; text-align: center; max-width: 94%; }
/* 3 */
.r-face .cnt.warm { background: var(--m1); color: #3A2A00; border-color: var(--m1); }
.r-faces { flex-wrap: wrap; }
.r-row .secs { text-align: right; font-size: 11px; line-height: 1.3; max-width: 130px; }
/* 5: 線の左端の「届いた」印、顔の印を大きく。通知の帯は線のすぐ下 */
.pmark { width: 22px; height: 22px; margin-left: -11px; bottom: -12px; }
.pmark svg { width: 100%; height: 100%; }
.pmark.p3 { margin-left: -19px; }
.pmark.p0 { left: 10px; margin-left: -4px; bottom: -11px; }
.notify { top: 104px; }

/* 工程7（5回目） */
.r-row .secs .nb { display: block; white-space: nowrap; }
.r-row .secs { max-width: none; }
.r-face .cnt.puz { background: #8E97B5; color: #fff; border-color: #8E97B5; }
.r-face { gap: 3px; }

/* 周回1: 【至急】の印、音の入り切り、追い打ちの光、相手の「…」 */
.who .nm { display: flex; align-items: center; gap: 6px; min-width: 0; }
.who .nm b { min-width: 0; }
.urg { flex: none; font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .06em; line-height: 1; padding: 3px 6px; border-radius: 4px; background: var(--m2); color: #fff; }
.urg[hidden] { display: none; }
.soundbtn { flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--indigo); display: grid; place-items: center; touch-action: manipulation; }
.soundbtn:active { background: rgba(44,59,107,.12); }
.soundbtn[aria-pressed="true"] .sx, .soundbtn[aria-pressed="false"] .sw { display: none; }
.soundbtn[aria-pressed="false"] { color: var(--muted); }
.row.in .bubble.urgent-b { font-weight: 700; }
/* 追い打ちが届いた瞬間、お題の枠の縁が一度だけ光る（box-shadow だけ。位置と大きさは変えない） */
.prompt.glow { animation: pglow .4s ease-out 1; }
@keyframes pglow { 0% { box-shadow: 0 0 0 5px var(--mood), 0 0 16px 6px var(--mood); } 100% { box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) {
  .prompt.glow { animation: pglowsoft .4s linear 1 !important; animation-duration: .4s !important; }
}
@keyframes pglowsoft { 0% { box-shadow: 0 0 0 2px var(--mood); } 100% { box-shadow: 0 0 0 0 transparent; } }
.r-pace { margin: 8px 0 0; padding: 7px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--m2); font-size: 13px; font-weight: 700; line-height: 1.45; }
.bubble .umark { color: var(--m2); font-weight: 900; letter-spacing: .02em; }

/* 周回2: 中央の大きな顔をやめる。顔は相手の欄（56px）と吹き出しの横で見せる。過去のやりとり、図鑑 */
.partner { height: 68px; padding: 0 12px 3px; }
.avatar { width: 56px; height: 56px; }
.notify { top: 116px; }
.who .status { margin-top: 1px; }
/* 吹き出しの横の顔は全部の相手の吹き出しに付く（追い打ちの機嫌の顔） */
.av { width: 32px; height: 32px; margin-top: 1px; }
.col { max-width: calc(100% - 40px); }
.sticker-big { width: 104px; height: 104px; }
/* 過去のやりとり: 会話の上のほうに薄く。打つ対象ではない（薄い、日付の区切りより上） */
.hist { flex: none; display: flex; flex-direction: column; gap: 4px; padding-top: 4px; pointer-events: none; user-select: none; }
.dsep { display: flex; align-items: center; gap: 8px; margin: 6px 4px 2px; color: var(--muted); font-size: 11px; font-weight: 700; }
.dsep::before, .dsep::after { content: ""; flex: 1; height: 1px; background: rgba(0,0,0,.14); }
.hrow { display: flex; align-items: flex-end; gap: 6px; opacity: .5; }
.hrow.out { justify-content: flex-end; }
.hav { flex: none; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; filter: grayscale(.5); }
.hav svg { display: block; width: 100%; height: 100%; }
.hb { max-width: 78%; padding: 5px 10px; border-radius: 13px; font-size: 13.5px; line-height: 1.35; background: rgba(255,255,255,.7); color: #55525a; box-shadow: none; overflow-wrap: anywhere; }
.hrow.out .hb { background: rgba(44,59,107,.16); color: #3A4565; }
/* 図鑑 */
.r-codex { margin: 10px 0 0; padding: 9px 11px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.cx-line { margin: 0; font-size: 13px; font-weight: 800; color: var(--indigo); }
.cx-item { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cx-face { flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.cx-face svg { display: block; width: 100%; height: 100%; }
.cx-text { min-width: 0; padding: 5px 10px; border-radius: 12px; background: var(--paper); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.cx-text.stk { padding: 2px 6px; background: transparent; }
.cx-stk svg { width: 40px; height: 40px; display: block; }
.cx-more { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: var(--muted); }

/* 周回2の直し: 低い画面（キーボードが出た 390×420 など）では、追い打ちが3つたまっても連絡が隠れないよう、
   相手の欄と吹き出しを詰め、過去のやりとりは出さない。お題・入力欄・送信は下に固定で動かない */
@media (max-height: 520px) {
  .hist { display: none; }
  .partner { height: 52px; gap: 8px; }
  .avatar { width: 40px; height: 40px; }
  .notify { top: 84px; }
  .convo { padding: 4px 10px 6px; }
  .row { margin-top: 2px; } .row.first { margin-top: 5px; }
  .bubble { padding: 4px 10px; font-size: 15px; line-height: 1.3; }
  .row.in .bubble.s2 { font-size: 15px; } .row.in .bubble.s3 { font-size: 16px; }
  .av { width: 24px; height: 24px; }
  .col { max-width: calc(100% - 32px); }
  .sticker-big { width: 56px; height: 56px; }
  .sys-line { margin: 2px 0 3px; }
}

/* 周回3: 結果の【至急】の行の続き、図鑑の画面 */
.cx-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cx-top .cx-line { flex: 1 1 160px; min-width: 0; }
.btn.cx-open { flex: none; height: 34px; padding: 0 14px; font-size: 13px; border-width: 1.5px; }
.cx-hint { margin: 4px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.codex { position: absolute; left: 0; right: 0; top: 32px; bottom: 0; z-index: 12; display: flex; flex-direction: column; background: var(--paper); animation: rise .25s ease-out; }
.codex[hidden] { display: none; }
.cdx-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 0 16px; }
.cdx-tt { min-width: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 16px; color: var(--indigo); }
.cdx-nw { font-style: normal; font-size: 12px; font-weight: 900; padding: 2px 9px; border-radius: 10px; background: var(--comp); color: #3A2A00; }
.cdx-nw[hidden] { display: none; }
.cdx-sub { flex: none; margin: 2px 16px 6px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.cdx-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 16px 24px; outline: none; }
.cdx-body:focus-visible, .codex .sheet-x:focus-visible, .cx-open:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.cdx-p { margin: 10px 0 14px; padding: 8px 10px 10px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(60,50,30,.15); }
.cdx-ph { display: flex; align-items: center; gap: 10px; }
.cdx-pf { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.cdx-pf svg, .cxs-f svg { display: block; width: 100%; height: 100%; }
.cdx-pn { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cdx-pn b { font-size: 14px; } .cdx-pn small { font-size: 11px; color: var(--muted); font-weight: 700; }
.cdx-pc { flex: none; font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--indigo); }
.cdx-gh { margin: 10px 0 4px; font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.cdx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.cxs { position: relative; min-width: 0; border-radius: 12px; font-size: 13px; line-height: 1.4; }
.cxs.seen { flex: 1 1 100%; display: flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; background: var(--paper); border: 1.5px solid var(--line); }
.cxs.seen.m-irritated { background: #FFF6DC; border-color: var(--m1); }
.cxs.seen.m-angry { background: #FFF3F1; border-color: var(--m2); font-weight: 800; color: #8F1D14; }
.cxs.seen.m-done { background: var(--m3); border-color: var(--m3); color: #fff; }
.cxs.seen.m-happy { background: #E6F5EB; border-color: #8FD3AB; }
.cxs-f { flex: none; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.cxs-t { flex: 1; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.cxs-t.stk svg { width: 40px; height: 40px; display: block; }
.cxs.lock { flex: 0 0 auto; min-width: 72px; padding: 5px 10px; text-align: center; background: rgba(0,0,0,.05); border: 1.5px dashed #C9C1B0; color: var(--muted); font-weight: 800; letter-spacing: .08em; }
.cxs-new { flex: none; font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .06em; padding: 2px 6px; border-radius: 6px; background: var(--comp); color: #3A2A00; }
.cxs.new { box-shadow: 0 0 0 2px var(--comp); }
@media (prefers-reduced-motion: reduce) { .codex { animation: none; } }

/* ===== 周回4: 端末らしい外枠 ===== */
:root { --sbh: 24px; --headh: 40px; --bandh: 64px; }
@media (max-height: 520px) { :root { --sbh: 12px; --headh: 20px; --bandh: 32px; } }
/* 帯 = 端末の帯（時刻、電波、電池）+ アプリの見出し。390×420 では合わせて 32px（周回3 までの帯と同じ） */
.band { display: block; height: var(--bandh); padding: 0; position: relative; z-index: 3; }
.sbar { height: var(--sbh); display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 20px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1; font-variant-numeric: tabular-nums; }
.sb-icons { display: flex; align-items: center; gap: 6px; }
.sb-icons svg { display: block; }
.head { height: var(--headh); display: flex; align-items: center; gap: 6px; padding: 0 8px 0 0; }
.band-title { font-size: 15px; }
.soundbtn { position: relative; width: 36px; height: 36px; }
.soundbtn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.langsw { height: 28px; overflow: visible; border-radius: 14px; }
.langsw button { position: relative; padding: 0 12px; }
.langsw button:first-child { border-radius: 14px 0 0 14px; } .langsw button:last-child { border-radius: 0 14px 14px 0; }
.langsw button::after { content: ""; position: absolute; left: -2px; right: -2px; top: -8px; bottom: -8px; }
/* 「作った話と感想」のボタン（固定 30px）は見出しの行の左に置く */
.dafb-btn.dafb-tl { top: calc(var(--sbh) + (var(--headh) - 30px) / 2) !important; }
@media (max-height: 520px) {
  .sbar { padding: 0 14px 0 44px; font-size: 10px; }
  .sb-icons svg { height: 9px; width: auto; }
  .head { padding-right: 6px; }
  .band-title { font-size: 12px; padding-left: 4px; }
  .soundbtn { width: 30px; height: 20px; }
  .soundbtn svg { width: 16px; height: 16px; }
  .langsw { height: 18px; border-radius: 9px; }
  .langsw button { font-size: 11px; padding: 0 9px; }
  .langsw button:first-child { border-radius: 9px 0 0 9px; } .langsw button:last-child { border-radius: 0 9px 9px 0; }
  .dafb-btn.dafb-tl { top: 1px !important; }
}
.convo, .row, .col { min-width: 0; }
.bubble { max-width: 100%; }
.row.in .col, .row.out .col { flex: 0 1 auto; }
.convo { overflow-x: hidden; }
.result, .codex { top: var(--bandh); }
/* 過去のやりとりは、会話の欄を上まで埋める（余った高さだけを使う。実際の連絡は押し下げない） */
.hist { flex: 1 1 0; min-height: 0; overflow: hidden; justify-content: flex-end; padding-top: 0; }
.hist > * { flex: none; }
.hrow { opacity: .45; }
.dsep { opacity: .8; }
/* 送った直後の自分の吹き出しは、出るのは小さく止まる（0.2秒以内） */
.bubble { animation-duration: .18s; }
@keyframes pop { 0% { transform: translateY(4px) scale(.98); opacity: .2; } 100% { transform: none; opacity: 1; } }
/* 通知の帯: 端末の上から降りる（0.3秒）。会話が切り替わると消える。相手の欄の上に重ねる（お題、入力欄、会話には重ならない） */
.notify { top: 6px; left: 8px; right: 8px; height: 54px; z-index: 30; transform: translateY(-140%); opacity: 1; background: rgba(35,35,43,.96); border: 1px solid rgba(255,255,255,.14); }
@media (max-height: 520px) { .notify { top: 4px; height: 48px; } }
.notify.show { animation: banner 1.4s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes banner { 0% { transform: translateY(-140%); } 21% { transform: translateY(0); } 92% { transform: translateY(0); } 100% { transform: translateY(-140%); } }
@media (prefers-reduced-motion: reduce) {
  .notify { transform: none; opacity: 0; }
  .notify.show { animation: bannerfade 1.4s linear forwards !important; animation-duration: 1.4s !important; }
  @keyframes bannerfade { 0% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; } }
}
.notify .nav { width: 34px; height: 34px; }
/* 時間切れの瞬間 */
.prompt-late { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 10px; background: var(--m3); color: #fff; font-size: 20px; font-weight: 900; line-height: 1.2; opacity: 0; pointer-events: none; transition: opacity .12s; border-radius: 12px; }
.prompt-late.show { opacity: 1; }
@media (max-height: 520px) { .prompt-late { font-size: 17px; } }
/* 結果の中でフォーカスが来た物が、下に固定した帯に隠れない（JS の scrollIntoView は使わない） */
.result { scroll-padding-bottom: 110px; scroll-padding-top: 8px; }
.result .btn, .result button { scroll-margin-bottom: 110px; }
.cdx-body { scroll-padding-bottom: 24px; }
/* 一覧は PC だけ */
.side { display: none; }

/* ===== PC（1024 以上）: 左に相手の一覧、右に会話。メッセージのアプリの窓 ===== */
@media (min-width: 1024px) {
  :root { --winw: min(1180px, calc(100vw - 48px)); --winh: min(800px, calc(var(--vvh, 100vh) - 48px)); --bandh: 48px; --sbh: 0px; --headh: 48px; }
  #outer { display: grid; place-items: center; }
  #outer[data-mood] { background: #D9D7D0; }
  #outer[data-mood="2"] { background: #DDCFCB; } #outer[data-mood="3"] { background: #CFCFD4; }
  #phone { display: grid; width: var(--winw); height: var(--winh); border-radius: 14px; box-shadow: 0 24px 80px rgba(30,30,50,.3), 0 0 0 1px rgba(0,0,0,.1);
    grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: 48px auto minmax(0, 1fr) auto auto;
    grid-template-areas: "band band" "side partner" "side chat" "side prompt" "side composer"; }
  .band { grid-area: band; background: #ECE7DC; border-bottom: 1px solid var(--line); }
  .sbar { display: none; }
  .head { height: 48px; padding: 0 12px 0 0; }
  .band-fb { display: block; width: 44px; }
  .band-title { font-size: 15px; padding-left: 4px; }
  .dafb-btn.dafb-tl { left: calc((100vw - var(--winw)) / 2 + 10px) !important; top: calc((var(--vvh, 100vh) - var(--winh)) / 2 + 9px) !important; }
  .side { grid-area: side; display: flex; flex-direction: column; min-height: 0; background: #F0EBE0; border-right: 1px solid var(--line); }
  .side-h { padding: 14px 18px 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
  .side-list { overflow: hidden; }
  .srow { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 14px; border-left: 4px solid transparent; --sm: #C9C1B0; }
  .srow[data-mood="0"] { --sm: var(--m0); } .srow[data-mood="1"] { --sm: var(--m1); } .srow[data-mood="2"] { --sm: var(--m2); } .srow[data-mood="3"] { --sm: var(--m3); }
  .srow.sel { background: #fff; border-left-color: var(--sm); box-shadow: 0 1px 2px rgba(60,50,30,.12); }
  .sav { flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--sm); }
  .sav svg { display: block; width: 100%; height: 100%; }
  .srow.idle .sav { box-shadow: 0 0 0 2px #D8D0C0; filter: grayscale(.4); }
  .stx { min-width: 0; flex: 1; line-height: 1.3; }
  .stx b { display: block; font-size: 14px; }
  .stx span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sdot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--m2); }
  .partner { grid-area: partner; }
  .convo { grid-area: chat; padding: 8px 28px 10px; }
  .prompt { grid-area: prompt; margin: 0 28px; }
  .composer { grid-area: composer; padding: 6px 28px 10px; height: 60px; }
  .col { max-width: min(560px, calc(100% - 40px)); } .row.out .col { max-width: min(560px, 86%); }
  .hb { max-width: min(78%, 460px); }
  .notify { left: 332px; right: 12px; top: 56px; }
  .result, .codex { top: 48px; --rpad: max(16px, calc((var(--winw) - 560px) / 2)); }
  .result { padding-left: var(--rpad); padding-right: var(--rpad); }
  .r-btns { margin-left: calc(-1 * var(--rpad)); margin-right: calc(-1 * var(--rpad)); padding-left: var(--rpad); padding-right: var(--rpad); }
  .cdx-top { padding: 12px var(--rpad) 0; } .cdx-sub { margin-left: var(--rpad); margin-right: var(--rpad); } .cdx-body { padding: 0 var(--rpad) 24px; }
  .toast { bottom: 150px; }
  .sheet-body { max-width: 560px; margin: 0 auto; border-radius: 20px; }
  .sheet { align-items: center; }
}
/* 過去のやりとりは、844 の高さでも相手の欄のすぐ下から並ぶ厚み（薄く、打つ対象ではない） */
.hist { gap: 8px; }
.hav { width: 28px; height: 28px; }
.hb { padding: 8px 13px; font-size: 15px; line-height: 1.4; }
.dsep { margin: 10px 4px 2px; font-size: 12px; }
@media (min-width: 1024px) { .hist { gap: 9px; } }
@media (min-width: 1024px) { .notify { top: 6px; } }

/* ===== 周回5 ===== */
/* 1: 通知の帯は端末の帯の下（見出しの行の下）から、相手の欄の上に降りる。左上の感想の丸、端末の時刻、音の入り切り、言語の切り替えには重ならない */
.notify { top: calc(var(--bandh) + 2px); }
@media (max-height: 520px) { .notify { top: calc(var(--bandh) + 2px); height: 48px; } }
@media (min-width: 1024px) { .notify { top: calc(var(--bandh) + 2px); left: 332px; right: 12px; } }
/* 390×420: 端末の帯の時刻は右（電波と電池の左）に置く。左は感想の丸と見出し */
@media (max-height: 520px) {
  .sbar { justify-content: flex-end; gap: 8px; padding: 0 14px; }
}
/* 目盛りの最後の印（あきらめる顔）は端で切らない */
.pmark.p3 { margin-left: -25px; }
/* 履歴の上の端は、目盛りの印（線の下へ12px出る）より下から */
.hist { margin-top: 14px; }
.status { overflow: hidden; text-overflow: ellipsis; }
/* 図鑑: 見た枠は先に1行ずつ、「？？？」の枠はその後ろにまとめて並べる（NEW の枠1つが行を占めて、枠が1つと2つに分かれない） */
.cxs.seen { order: 0; } .cxs.lock { order: 1; }
/* 3: 結果の1通ごとの行の「◯通目」と【至急】の印。【至急】の行と、上の【至急】の1行は同じ赤い線 */
.r-row .rno { font-size: 11px; font-weight: 800; color: var(--muted); margin-right: 2px; }
.r-row .urg { display: inline-block; vertical-align: 1px; margin-left: 2px; }
.r-row.r-urg { box-shadow: inset 4px 0 0 var(--m2), 0 1px 2px rgba(60,50,30,.12); background: #FFF8F6; }
.r-row.r-urg .rno { color: var(--m2); }
/* 通知の帯は、位置からふわっと（位置は動かさず、透明から）現れる。上の帯（端末の帯、感想の丸、音、言語）の上は通らない */
.notify { opacity: 0; transform: translateY(-2px); }
.notify.show { animation: banner5 1.3s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes banner5 { 0% { transform: translateY(-2px); opacity: 0; } 18% { transform: none; opacity: 1; } 92% { transform: none; opacity: 1; } 100% { transform: translateY(-2px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .notify.show { animation: bannerfade 1.3s linear forwards !important; animation-duration: 1.3s !important; } }
.r-row .who { display: block; line-height: 1.3; }
.r-row .who small { display: block; }
