@charset "utf-8";
/* ===== 全画面を「スマホの中のアプリ」にする（井埜さん 2026-09-16「全体的にUIをスマホに特化して、アプリも本物に近い感じで」）
   iOS のダークのアプリの型：黒地・グループ化した角丸の枠・青いボタン・大きな見出し・上にステータスバーとナビバー。
   本編（body.in-play）は phone.css の7型がそのまま。ここは本編以外（アンケート・ホーム・導入・出口・振り返り）と共通部品。 ===== */

:root{
  --canvas:#000; --card:#1c1c1e; --card2:#2c2c2e;
  --t-ink:#fff; --t-soft:#c7c7cc; --t-muted:#8e8e93;
  --hair:#3a3a3c; --hair-soft:#2c2c2e;
  --gold:#0a84ff; --gold-lt:#409cff; --gold-wash:rgba(10,132,255,.16);   /* 強調＝iOS の青 */
  --red:#ff453a; --red-lt:#ff6961; --red-wash:rgba(255,69,58,.14);
  --fill-blue:#0a6fd8; --fill-red:#d70015;   /* 白い文字を載せる塗り（4.5:1 以上。青 4.91・赤 5.38。UI/UX審査 R23 M-2） */
  --ink-old-dark:#b9bcc6; --ink-old-light:#5d5f66;   /* 前の発言の文字（opacity で薄くしない・UI/UX審査 R23 M-5） */
  --green:#30d158; --green-wash:rgba(48,209,88,.14);
  --w:390px; --radius:12px;
  --govh:48px; --stb:28px;
}
html{background:#000}
body{background:#000; padding-bottom:calc(24px + env(safe-area-inset-bottom,0px)); font-size:calc(17px * var(--fs)); line-height:1.6}

/* ---- ステータスバー（全画面の最上部・固定） ---- */
#stb{position:sticky; top:0; z-index:50; height:calc(var(--stb) + env(safe-area-inset-top,0px)); padding-top:env(safe-area-inset-top,0px);
  box-sizing:border-box; display:flex; justify-content:space-between; align-items:center; padding-left:22px; padding-right:22px;
  background:#000; color:#fff; font-size:14px; font-weight:600; font-variant-numeric:tabular-nums}
#stb .r{display:flex; align-items:center; gap:6px}
#stb i{font-style:normal}
#stb .sig{font-size:8px; letter-spacing:1px}
#stb .bat{width:24px; height:12px; border:1.5px solid rgba(255,255,255,.9); border-radius:3.5px; position:relative}
#stb .bat::after{content:''; position:absolute; left:2px; top:2px; bottom:2px; width:70%; background:#fff; border-radius:1.5px}
#stb .bat::before{content:''; position:absolute; right:-4px; top:3px; width:2px; height:5px; background:rgba(255,255,255,.7); border-radius:0 1px 1px 0}
body.in-play #stb{background:#000}
body.in-play .phone.line #stb, body.in-play .phone.sms #stb{background:#fff}
/* 本編の型ごとにステータスバーの色を合わせる（#stb は phone の外にあるので body の印で切替） */
body.ph-line #stb, body.ph-sms #stb, body.ph-safari #stb{background:#fff; color:#111}
body.ph-safari #stb{background:#f2f2f7}
body.ph-line #stb .bat, body.ph-sms #stb .bat, body.ph-safari #stb .bat{border-color:#111}
body.ph-line #stb .bat::after, body.ph-sms #stb .bat::after, body.ph-safari #stb .bat::after{background:#111}
body.ph-ios-call #stb{background:#2b2b2e}
body.ph-atm #stb{background:#0d3f75}

/* ---- ナビバー（県の帯）：iOS のナビゲーションバーの形 ---- */
#gov{position:sticky; top:calc(var(--stb) + env(safe-area-inset-top,0px)); z-index:40;
  min-height:var(--govh); padding:0 8px; background:#000;
  border-bottom:1px solid rgba(255,255,255,.12); display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:4px}
.gov-mark{font-size:14px; font-weight:600; letter-spacing:.02em; color:#fff; opacity:.95; order:2; flex:1 1 auto; text-align:center; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.gov-tools{order:3; width:auto; flex:0 0 auto; gap:2px; justify-content:flex-end}
#sizeBtn, #homeBtn, #gov .sound button{min-height:48px; padding:6px 8px; border-radius:8px; background:transparent; border:0; color:var(--gold-lt);
  font-size:calc(15px * min(var(--fs), 1.2)); font-weight:600; letter-spacing:0; white-space:nowrap; cursor:pointer}   /* 県の帯の操作も文字の大きさに連動させる（県担当者審査 S-1）。帯からあふれないよう 1.2 倍まで */
#sizeBtn:active, #homeBtn:active, #gov .sound button:active{opacity:.5}
#homeBtn{order:1}
#homeBtn::before{content:'‹ '; font-size:22px; line-height:0; vertical-align:-2px}
#gov .sound{margin:0}
#gov .sound button.on{color:var(--gold-lt)}
/* 本編の帯（phone.css の上書きより後に読むので、ここで最終形にそろえる） */
body.in-play #gov{min-height:var(--govh); padding:0 8px; gap:2px}
body.in-play #gov .gov-mark{font-size:12px; letter-spacing:0; margin:0; flex:0 1 auto}
body.in-play #gov #sizeBtn, body.in-play #gov #homeBtn, body.in-play #gov .sound button{min-height:48px; padding:6px 4px; font-size:calc(13px * min(var(--fs), 1.2)); background:transparent; border:0; color:var(--gold-lt); flex:0 0 auto}
body.in-play #gov .gov-tools{gap:2px}

/* ---- 注記：iOS のキャプション ---- */
#disclaimer{font-size:calc(12px * var(--fs)); color:var(--t-muted); padding:8px 20px 0; text-align:center}

/* ---- 本文の器 ---- */
#app{max-width:var(--w); padding:8px 16px 24px}
.page-title{font-size:calc(30px * var(--fs)); font-weight:800; letter-spacing:-.01em; margin:10px 0 8px; line-height:1.25}
.lead{font-size:calc(15px * var(--fs)); color:var(--t-muted); margin:0 0 16px}
.sec-h{font-size:calc(13px * var(--fs)); font-weight:600; color:var(--t-muted); letter-spacing:.04em; margin:22px 0 8px 16px; text-transform:none}
.note{font-size:calc(13px * var(--fs)); color:var(--t-muted); margin:10px 16px 0; line-height:1.55}
.back-link{color:var(--gold-lt); font-size:calc(17px * var(--fs)); padding:8px 0}

/* ---- ボタン：iOS の塗りボタン／グループのボタン ---- */
.btn{border:0; border-radius:12px; background:var(--card); color:var(--gold-lt); font-size:calc(17px * var(--fs)); font-weight:600; text-align:center; min-height:50px; padding:13px 16px}
.btn+.btn{margin-top:10px}
.btn-primary{background:var(--fill-blue); color:#fff}
.btn-ghost{background:transparent; color:var(--gold-lt)}
.btn-danger{background:var(--fill-red); color:#fff}
.btn:active{opacity:.7; transform:none}

/* ---- アンケート：グループ化した設定画面の形 ---- */
.q{margin:0 0 16px; padding:14px 16px 16px; border:0; border-radius:12px; background:var(--card)}
.q.missing{background:var(--red-wash); box-shadow:inset 0 0 0 1px var(--red)}
.q-head{margin-bottom:10px}
.q-no{width:22px; height:22px; background:var(--fill-blue); color:#fff; font-size:12px}
.q-title{font-size:calc(17px * var(--fs)); font-weight:600}
.chip{min-height:48px; padding:11px 14px; border:0; border-radius:10px; background:var(--card2); color:#fff; font-size:calc(16px * var(--fs)); font-weight:600}
.chip.sel{background:var(--fill-blue); color:#fff}
.chips-rows{gap:8px}
.free input,.free textarea{background:#000; border:1px solid var(--hair); border-radius:10px; color:#fff}
.free label{color:var(--t-muted); font-size:calc(14px * var(--fs))}
.err{color:var(--red-lt); font-size:calc(15px * var(--fs))}

/* ---- ホーム：グループ化したリスト（写真・題名・›） ---- */
.cards{gap:0; background:var(--card); border-radius:12px; overflow:hidden; margin-top:6px}
.tcard{border:0; border-radius:0; background:transparent; padding:10px 14px 10px 12px; gap:12px; min-height:76px; position:relative}
.tcard+.tcard::before{content:''; position:absolute; left:84px; right:0; top:0; height:1px; background:var(--hair-soft)}
.tcard:active{background:var(--card2); transform:none}
.tcard .thumb{width:60px; height:60px; border-radius:12px; overflow:hidden; position:relative; flex:0 0 auto}
.tcard .thumb img{width:100%; height:100%; object-fit:contain; display:block}
.tcard .no{position:absolute; left:0; top:0; width:20px; height:20px; border-radius:0 0 8px 0; background:rgba(0,0,0,.65); color:#fff; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center}
.tcard .nm{font-size:calc(17px * var(--fs)); font-weight:600; line-height:1.35}
.tcard .go{display:inline; color:var(--gold-lt); font-size:calc(14px * var(--fs)); font-weight:600}
.tcard::after{content:'›'; color:var(--t-muted); font-size:26px; line-height:1; margin-left:auto; padding-left:6px; flex:0 0 auto}

/* ---- 導入：写真＋大見出し＋グループの説明 ---- */
.photo{border-radius:12px; overflow:hidden; margin:0 0 14px}
.photo img{display:block; width:100%; height:auto; aspect-ratio:auto; object-fit:contain}
.situation{border:0; border-radius:12px; background:var(--card); padding:14px 16px}
.situation .st-h{font-size:calc(13px * var(--fs)); font-weight:600; color:var(--t-muted); margin-bottom:6px}
.st-start{font-size:calc(17px * var(--fs)); font-weight:600; color:#fff}
.steps{margin-top:12px}
.steps li{font-size:calc(15px * var(--fs)); color:var(--t-soft); margin-bottom:8px}
.steps .n{width:22px; height:22px; background:var(--card2); color:#fff; font-size:12px}

/* ---- 出口・振り返り ---- */
.badge{padding:6px 12px; font-size:calc(15px * var(--fs)); font-weight:700; margin:6px 0 12px}
.badge.avoid{background:var(--green-wash); color:var(--green); border:0}
.badge.harm{background:var(--red-wash); color:var(--red-lt); border:0}
.badge.limit{background:rgba(255,214,10,.16); color:#ffd60a; border:0}
.badge.warn{background:#b45309; color:#ffffff; border:0}   /* 手当てが要る（赤＝被害発生と分けた・R26 §15-6） */
.outcome{font-size:calc(17px * var(--fs)); line-height:1.7; padding:14px 16px; border:0; border-radius:12px; background:var(--card)}
.emph{margin-top:10px; padding:12px 16px; border:0; border-radius:12px; background:var(--card); font-size:calc(15px * var(--fs)); color:var(--t-soft)}
.emph.red{background:var(--red-wash); color:#fff}
.points li{padding:12px 16px; margin:0; border:0; border-radius:0; background:var(--card); font-size:calc(15px * var(--fs)); line-height:1.6; position:relative}
.points{background:var(--card); border-radius:12px; overflow:hidden}
.points li+li::before{content:''; position:absolute; left:16px; right:0; top:0; height:1px; background:var(--hair-soft)}
.points .lab{color:var(--gold-lt)}
.contacts{background:var(--card); border-radius:12px; overflow:hidden}
.contacts li{padding:0; margin:0; border:0; border-radius:0; background:transparent; font-size:calc(17px * var(--fs)); font-weight:600; position:relative}
.contacts li+li::before{content:''; position:absolute; left:16px; right:0; top:0; height:1px; background:var(--hair-soft)}
.callto{display:flex; flex-direction:column; gap:2px; padding:12px 16px; color:#fff; text-decoration:none}
.callto .tel{color:var(--gold-lt)}
.callto .desc{font-size:calc(14px * var(--fs)); font-weight:400; color:var(--t-muted)}
.callto .dial{font-size:calc(13px * var(--fs)); font-weight:600; color:var(--gold-lt)}
.ai-note{margin-top:22px; text-align:center}

/* ---- ダイアログ：iOS のアラート ---- */
.modal{background:rgba(0,0,0,.45); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px)}
.modal-box{max-width:270px; padding:18px 16px 8px; background:rgba(44,44,46,.96); border:0; border-radius:14px}
.modal-title{font-size:calc(17px * var(--fs)); font-weight:600; margin:0 0 12px}
.modal-actions .btn{background:transparent; color:var(--gold-lt); border-radius:0; border-top:1px solid rgba(255,255,255,.14); min-height:46px; padding:10px; font-weight:400}
.modal-actions .btn+.btn{margin-top:0}
.modal-actions .btn-primary{font-weight:600}
.kiosk-box{background:var(--card2); border:0; border-radius:14px}

/* ---- 会場用の「次へ」・もう一度聞く ---- */
.skip{border:0; background:var(--card2); color:var(--gold-lt); font-size:calc(15px * var(--fs))}
.replay{border-color:var(--hair); color:var(--t-muted)}

/* ---- 選択肢（本編の下）：白い角丸のリスト ---- */
.btn-choice{text-align:left; padding-left:48px}
.btn-choice .mark{background:#111; color:#fff}

/* ---- PC・タブレット：iPhone の枠の中に表示（実機ではそのまま全画面） ---- */
body.framed{width:390px; height:var(--frameh); min-height:0; margin:var(--frame-top) auto; overflow-y:auto; overflow-x:hidden; border-radius:46px;   /* style.css の body{min-height:100vh} が height に勝って枠が窓いっぱいに伸び、ページが送れていた（B の実測 1280×800 で 中身828／器800）。窓が低い時は枠ごと縮む（R26 §15-1） */
  box-shadow:0 0 0 11px #0a0a0a, 0 0 0 13px #2a2a2c, 0 24px 60px rgba(0,0,0,.6); position:relative; padding-bottom:24px}
/* 本編の間は枠の中も動かさない。padding は 0（phone.css の body.in-play より後で、同じ強さ以上で上書き・査読#1） */
body.framed.in-play{padding-bottom:0; overflow:hidden}
body.framed .phone{height:calc(var(--frameh) - var(--govh) - var(--stb))}
body.framed::-webkit-scrollbar{width:0; height:0}
html:has(body.framed){background:#1f1f22; height:100%; overflow:hidden}
body.framed #app, body.framed #disclaimer{max-width:none}
body.framed .modal{position:absolute}
body.framed .kiosk-ask{position:absolute}
@media (min-width:760px){ :root{--w:390px} body{font-size:calc(17px * var(--fs))} .msg,.subtitle{font-size:calc(19px * var(--fs))} body.in-play #app{max-width:none} }

/* ---- 本編：アプリの上帯は「上の段」（.pn-upper）の中。sticky はやめた（R26 §2-1・§15-2） ---- */
.phone.line .pn-top{background:#fff}
.phone.sms .pn-top{background:#f2f2f7}
.phone.atm .pn-top{background:#0d3f75}

/* 県の帯：文字を大きくしても『群馬県・群馬県警察』が切れないよう、操作の余白を詰める（県担当者審査 R11 N-21） */
html[data-size="l"] #gov #sizeBtn, html[data-size="l"] #gov #homeBtn, html[data-size="l"] #gov .sound button{padding:6px 3px}
html[data-size="xl"] #gov #sizeBtn, html[data-size="xl"] #gov #homeBtn, html[data-size="xl"] #gov .sound button{padding:6px 2px; font-size:calc(13px * 1.08)}
html[data-size="l"] #homeBtn::before, html[data-size="xl"] #homeBtn::before{content:'‹ '}
#gov .gov-mark{overflow:visible; text-overflow:clip; flex:0 0 auto}

/* 2026-09-21: 体験画面を上端から表示。共通UIは体験外の末尾だけ。 */
:root{--govh:0px; --stb:0px; --frame-top:0px; --frameh:100dvh; --frame-bot:0px}
#gov{position:static; top:auto; min-height:0; margin:24px auto 0; max-width:430px; padding:12px 16px; border-top:1px solid #333}
body.in-play #gov, body.in-play #disclaimer{display:none}
body.framed{height:100dvh; margin:0 auto; border-radius:0; box-shadow:none}
body.framed .ask-dim, body.framed .pn-situ, body.framed .fx{border-radius:0}
#disclaimer{margin:0 auto; max-width:430px; padding:8px 16px 16px}

/* A transfer sheet belongs to a bank screen, never above chat text. */
.phone.line .pn-body > .ui.pin{position:relative;top:auto;z-index:auto}
.phone[data-surface="feed"]{background:#fff;color:#111}
.phone[data-surface="feed"] .pn-body{padding:0 0 16px}
.phone[data-surface="feed"] .photo{border-radius:0;margin:0;width:100%}
.phone[data-surface="invest"]{background:#f2f5f9;color:#142238}
.phone[data-surface="bank"]{background:#f5f7fa;color:#142238}
.phone[data-surface="invest"] .media-head{background:#152b49;color:#fff}
.phone[data-surface="bank"] .media-head{background:#fff;color:#153867;border-bottom:3px solid #153867}
.phone .media-head{min-height:68px;padding:12px 16px;gap:12px}
.phone .media-head .nm{text-align:left;white-space:normal}
.phone .media-head .sub{font-size:calc(13px * var(--fs));color:inherit;opacity:1}
.media-badge{flex:none;font-size:12px;font-weight:700;background:#06a65a;color:#fff;border-radius:8px;padding:7px}
.phone[data-surface="feed"] .media-badge{background:#111}
.phone[data-surface="invest"] .media-badge{background:#274e79}
.phone[data-surface="bank"] .media-badge{background:#153867}
.phone[data-surface="bank"] .ui,.phone[data-surface="invest"] .ui{border-radius:12px;box-shadow:none;width:100%;margin:0 0 16px}
.phone[data-surface="bank"] .field{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 0}
.phone[data-surface="bank"] .field .v{max-width:100%;overflow-wrap:anywhere;text-align:left}
.phone[data-surface="invest"] .ui-b{padding:20px}
.phone[data-surface="invest"] .ui-line{font-size:calc(20px * var(--fs));line-height:1.5}
.phone .pn-lower[hidden]{display:none}
@keyframes mediaEnter{from{opacity:.65;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
.phone.media-enter .pn-upper,.phone.media-enter .pn-body{animation:mediaEnter .18s ease-out}
@media(prefers-reduced-motion:reduce){.phone.media-enter .pn-upper,.phone.media-enter .pn-body{animation:none}}

/* 操作は全画面で一つずつ。外側のクリックで実行しない。 */
body.in-play .fx.operation{top:0;bottom:0;background:#f5f7fa;padding:0;align-items:stretch;overflow:hidden}
body.in-play .fx.operation .fx-box{width:100%;max-width:430px;height:100%;margin:0 auto;padding:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;overflow:hidden}
.operation-head{flex:none;padding:20px 18px;background:#153867;color:#fff;font-size:calc(19px * var(--fs));font-weight:700}
body.in-play .fx.operation .fx-screen{min-height:0;flex:1;overflow-y:auto;padding:24px 20px;border:0;border-radius:0;display:flex;flex-direction:column;gap:20px;text-align:left;background:#f5f7fa}
.operation .operation-button{display:block;width:100%;min-height:54px;border:0;border-radius:10px;background:#1763b8;color:white;padding:14px;font:inherit;font-weight:700;cursor:pointer;flex:none;white-space:normal}
.operation .operation-button:disabled{opacity:.65}
.operation .operation-state{font-size:calc(22px * var(--fs));line-height:1.5;overflow-wrap:anywhere}
.operation .operation-label,.operation .field .k{color:#455268;font-size:calc(14px * var(--fs))}
.operation .field{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px 0;border-bottom:1px solid #d4dbe4}
.operation .field .v{font-size:calc(18px * var(--fs));color:#142238;overflow-wrap:anywhere}
.operation .fx-amount{font-size:clamp(24px,8vw,38px);color:#142238;margin:0;text-align:left;overflow-wrap:anywhere}
.operation .fx-img{margin:0;flex:none}.operation .fx-img img{max-height:40dvh;width:100%;object-fit:contain;border-radius:10px}
.operation .operation-context{font-size:calc(17px * var(--fs));line-height:1.6;margin:0}
.operation .operation-message{padding:16px;border-radius:12px;background:#8de05a;color:#111}
.operation[data-kind="chat"] .operation-head{background:#06a65a}
.operation[data-kind="chat"] .fx-screen{background:#8cabd9!important}
.operation[data-kind="call"] .operation-head{background:#242428}
.operation[data-kind="call"] .operation-button{background:#267842}
.operation[data-kind="atm"] .operation-head{background:#0d3f75}
.operation-spinner{width:32px;height:32px;border:4px solid #d4dbe4;border-top-color:#153867;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* 通話操作は会話を圧迫しない最小の一列。使用しない機能は生成しない。 */
.phone.ios-call:not(.ringing) .pn-lower{display:flex;align-items:center;justify-content:center;gap:24px;padding:6px 16px 12px}
.phone.ios-call .pn-callbtns{display:flex;gap:12px;padding:0;margin:0}
.phone.ios-call .pn-callbtns .cb{min-width:48px;min-height:48px;font-size:12px;gap:2px}
.phone.ios-call .pn-callbtns .cb i{width:36px;height:32px;font-size:18px;border-radius:8px}
.phone.ios-call .pn-end{padding:0;margin:0;min-height:48px;min-width:48px}
.phone.ios-call .pn-end i{width:48px;height:48px;font-size:22px}
.phone.ios-call.choosing .pn-lower{display:none}
.phone.bank-foreground{background:#f5f7fa;color:#142238}
.phone.bank-foreground .pn-callhead{background:#245a43;padding:8px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.phone.bank-foreground .pn-callhead .who{font-size:14px;margin:0;color:#fff}
.phone.bank-foreground .pn-callhead .st{font-size:13px;margin:0;color:#fff}
.phone.bank-foreground .pn-callhead .who-sub{display:none}
.bank-fronthead{background:#fff;color:#153867;font-size:19px;font-weight:700;padding:16px;border-bottom:3px solid #153867}
.phone.bank-foreground .pn-body > .bank-background{display:none}
.phone.bank-foreground .pn-body > .ui.pin{position:relative;top:auto;background:white;color:#142238;border:1px solid #d4dbe4}
.phone.bank-foreground .ui .ui-h{background:#e9eef5;color:#142238}
.phone.bank-foreground .ui .ui-b{background:white;color:#142238}
.phone.bank-foreground .field{display:flex;flex-direction:column;align-items:flex-start;padding:12px 0;gap:4px}
.phone.bank-foreground .field .k{color:#455268}.phone.bank-foreground .field .v{color:#142238;max-width:100%;text-align:left;overflow-wrap:anywhere}
.phone.bank-foreground .pn-lower{background:#172b43}

/* 判断の選択肢は不透明な白いシート。会話の背景色を透かさない。 */
.phone .ask-wrap.sheet{background:#fff;color:#111;border-top:1px solid #d8dee7;box-shadow:0 -3px 16px rgba(0,0,0,.12)}
.phone .ask-wrap.sheet .ask-h,.phone .ask-wrap.sheet .ask-title,.phone .ask-wrap.sheet .askhead{color:#263449}
.phone .ask-wrap.sheet .situ-re{color:#33445d;border:1px solid #a9b5c5;background:#fff;opacity:1}
.phone .ask-wrap.sheet .sheet-end{color:#a22620;border:1px solid #b6433d;background:#fff}
.phone .ask-wrap.sheet .btn{opacity:1}

#app .phone .ask-wrap.sheet{background:#fff;color:#111}
#app .phone .ask-wrap.sheet::before{background:#c4ccd6}
#app .phone.bank-foreground .subtitle{color:#172b43;background:#fff;border:1px solid #bcc7d6;opacity:1}
#app .phone.bank-foreground .subtitle.me{background:#e2f0e8;color:#172b43}
#app .phone.bank-foreground .subtitle .sp{color:#455268;opacity:1}
#app .phone.bank-foreground .ui .field .k{color:#455268}

body.in-play .fx.media-gate{top:0;bottom:0;padding:24px;display:flex;align-items:center;justify-content:center;background:#101923;overflow-y:auto}
.media-gate-card{width:100%;max-width:360px;background:#fff;color:#172638;border-radius:20px;padding:28px 24px}
.media-gate-icon{display:inline-flex;padding:12px;border-radius:14px;background:#e8f0f9;color:#174b83;font-weight:800;font-size:20px}
.media-gate-title{font-size:calc(22px * var(--fs));line-height:1.4;margin:20px 0 12px}
.media-gate-reason{font-size:calc(17px * var(--fs));line-height:1.7;margin:0 0 24px}
.media-gate .operation-button{display:block;width:100%;border:0;border-radius:12px;min-height:54px;background:#1763b8;color:#fff;padding:14px;font:inherit;font-weight:700;cursor:pointer}
.bank-menu-transfer{display:flex;flex-direction:column;gap:8px;width:100%;padding:22px;text-align:left;border:1px solid #b4c9e0;border-radius:12px;background:white;color:#153867;font:inherit;cursor:pointer}
.bank-menu-transfer strong{font-size:24px}.bank-menu-transfer span{font-size:15px;color:#455268}

body.in-play .fx.operation .fx-screen{align-items:stretch;justify-content:flex-start}
.operation .fx-img{width:100%}

/* 2026-09-21 v2: readable operations and a separate physical world. */
.experience .operation-state{margin:0;font-size:calc(24px * var(--fs));line-height:1.5;color:#172638}
.experience .operation-context{font-size:calc(18px * var(--fs));color:#26394d}
.experience .operation-button,.media-gate .operation-button{font-size:calc(18px * var(--fs));min-height:56px;line-height:1.5}
.experience .operation-button{margin-top:auto}
.experience .operation-button~.operation-button{margin-top:0}
.experience .field .k{font-size:calc(16px * var(--fs))}
.experience-call{padding:12px 18px;background:#17663b;color:#fff;font-size:18px}
.experience-url{font-size:16px;border:1px solid #a7b3c0;border-radius:9px;padding:12px;background:white;color:#22364a;overflow-wrap:anywhere}
.experience[data-kind="web"] .operation-head{background:#e4e9ef;color:#172638}
.experience[data-kind="contacts"] .operation-head{background:#f0f2f5;color:#172638}
.experience[data-kind="dial"] .operation-button{background:#17663b}
body.in-play .world-scene{background:#e7ded0}
body.in-play .world-scene .fx-box{max-width:650px;background:#efe7db}
.world-scene .operation-head{background:#473c31}
body.in-play .world-scene .fx-screen{background:#f4eee5}
.world-photo{width:100%;height:auto;flex:none;overflow:hidden;border-radius:10px;position:relative;aspect-ratio:4/3;max-height:40dvh}
.world-photo img{display:block;position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 35%;background:none}
.experience-object{width:min(100%,300px);min-height:126px;position:relative;margin:8px auto;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:22px;border-radius:12px;background:#f9f4e8;border:2px solid #b6a485;color:#3b3024;box-shadow:0 12px 18px #4b39251a}
.object-name{font-size:22px;font-weight:700;text-align:center}.object-detail{font-size:18px}
.experience-object.envelope{border-radius:3px;background:linear-gradient(150deg,transparent 49%,#c4b08b 50%,transparent 51%) top left/50% 45px no-repeat,linear-gradient(210deg,transparent 49%,#c4b08b 50%,transparent 51%) top right/50% 45px no-repeat,#e9d6b0;padding-top:48px}
.experience-object.card,.experience-object.moneycard{background:#1a567a;border:0;color:white;min-height:155px}
.experience-object.othercard{background:#f1eadf;border:2px solid #b8a98e}
.experience-object.cash{border:8px double #8e9b83;background:#e1e5d7}
.experience-object.stamp{border-radius:35px;width:100px;background:#794a30;color:white;border-color:#55311e}
.experience-object.empty{background:transparent;border:0;box-shadow:none}
#app .phone.irl{background:#f0e9df;color:#2c241d}
#app .phone.irl .pn-scene.world-visit{height:clamp(130px,23dvh,210px);position:relative;overflow:hidden}
#app .phone.irl .world-visit img{height:100%;width:100%;object-fit:contain;object-position:center 35%}
.visit-place{position:absolute;top:10px;left:12px;background:#fff;color:#34291f;padding:8px 12px;border-radius:6px;font-size:18px;font-weight:700}
#app .phone.irl .pn-body{background:#f0e9df}
#app .phone.irl .subtitle{background:#fff;color:#30271f;border:1px solid #cfc2b1;font-size:calc(19px * var(--fs));line-height:1.7}
#app .phone.irl .subtitle .sp{color:#53412e}
#app .phone .ask-wrap.sheet .btn{min-height:54px}
.experience .operation-button:focus-visible,.media-gate .operation-button:focus-visible{outline:4px solid #f2b83d;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.operation-spinner{animation:none}}
#app .phone.emoney-foreground{background:#f4eee5;color:#172638}
#app .phone.emoney-foreground .pn-callhead{background:#17663b;color:white;padding:10px 16px;display:flex;gap:10px;align-items:center}
#app .phone.emoney-foreground .pn-callhead .who{font-size:16px;margin:0}
#app .phone.emoney-foreground .pn-callhead .who-sub,#app .phone.emoney-foreground .pn-avatar,#app .phone.emoney-foreground .pn-lower{display:none}
#app .phone.emoney-foreground .pn-body{background:#f4eee5}
#app .phone.emoney-foreground .bank-fronthead{padding:18px;font-size:20px;font-weight:700}
/* 判断する材料を暗くしない。文字サイズを縮める代わりに長い選択肢はスクロールする。 */
#app .phone .ask-dim{background:transparent;backdrop-filter:none}
#app .phone .ask-wrap.sheet{max-height:66dvh;overflow-y:auto;overscroll-behavior:contain}
#app .phone .ask-wrap.sheet .choices .btn,#app .phone .ask-wrap.sheet .choices .btn .lbl{font-size:calc(18px * var(--fs));line-height:1.55}
#app .phone .ask-wrap.sheet .sheet-foot .sheet-end,#app .phone .ask-wrap.sheet .sheet-foot .situ-re{font-size:15px;min-height:54px;height:auto;line-height:1.5}
#app .phone.irl .prop{border:1px solid #b7a387;background:#e9d6b0;color:#34291f}
#app .phone.irl .prop .prop-h{background:#e9d6b0;color:#34291f}
#app .phone .more-below{height:auto;min-height:48px;padding:10px;font-size:17px;line-height:1.4;background:#e7eef7;color:#183d69;border-top:1px solid #a6b6c9;text-align:center}
#app .phone.reading-expanded{padding-bottom:0!important}
#app .phone.reading-expanded .ask-wrap.sheet,#app .phone.reading-expanded .ask-dim,#app .phone.reading-expanded .pn-lower{display:none!important}
#app .phone.reading-expanded .pn-body{flex:1;min-height:0}

/* v3: validation remains next to the keypad, including expanded mode. */
#app .input-feedback{font-size:18px;line-height:1.5;color:#722900;background:#fff2d8;border:2px solid #a55b00;border-radius:8px;padding:12px;margin:10px 0}
#app .input-feedback[hidden]{display:none}
#app .phone.reading-expanded .ui.pin{position:static}
/* v4: distinct video presentation and received image viewer. */
body.in-play .fx.evidence-view{inset:0;background:#17232e;padding:0;overflow-y:auto;display:block}
.evidence-box{max-width:520px;min-height:100%;margin:auto;padding:20px 18px;display:flex;flex-direction:column;gap:20px;color:#fff}
.evidence-channel{font-size:18px;font-weight:700;border-bottom:1px solid #65717d;padding:0 0 14px}
.evidence-heading{font-size:24px;line-height:1.5;margin:16px 0}
.evidence-file{background:#fff;border-radius:12px;color:#1b2b3b;padding:24px;display:flex;flex-direction:column;gap:10px;font-size:20px}
.evidence-file span{font-size:18px;color:#435365}
.badge-video{position:relative;height:min(390px,48dvh);flex:none;overflow:hidden;border-radius:10px}
.badge-video img{width:100%;height:100%;object-fit:contain;object-position:center}
.evidence-caption{position:static;margin:0;padding:0;font-size:18px;line-height:1.5}
.badge-wallet{padding:18px;background:#17191b;border:2px solid #777;border-radius:12px;box-shadow:0 6px 20px #0004}
.badge-identity{background:#f7f5ed;color:#182434;padding:20px;border-radius:4px}
.badge-identity h2,.warrant-paper h2{font-size:28px;margin:0 0 22px;text-align:center}
.evidence-field{display:flex;flex-direction:column;gap:6px;padding:14px 0;border-top:1px solid #bdc1c4;font-size:18px;line-height:1.6;overflow-wrap:anywhere}
.evidence-field strong{font-size:calc(21px * var(--fs));font-weight:600}
.evidence-demo{display:block;font-size:14px;line-height:1.5;color:#58636d;margin:12px 0}
.warrant-paper{background:#fffef8;color:#182434;padding:24px 20px;box-shadow:0 4px 12px #0004}
.evidence-view .operation-button{margin-top:auto;display:block;width:100%;min-height:56px;background:#1763b8;color:white;border:0;border-radius:10px;padding:16px;font-size:19px;font-weight:700}
.evidence-links{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0}
.evidence-reopen{min-height:50px;padding:12px;border:1px solid #6984a2;border-radius:8px;background:#edf3f9;color:#153d67;font-size:17px;line-height:1.4}
@media(min-height:750px){.evidence-links{grid-template-columns:1fr 1fr}}

.badge-video img{object-fit:contain;background:#242426}
.evidence-box{padding-bottom:100px}
.evidence-view .operation-button{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 36px);max-width:484px;box-shadow:0 0 0 8px #17232e;z-index:2}
.world-photo img[src$="visitor_gen.jpg"]{object-position:center 15%}

/* v5: all content surfaces can be expanded, including card-only bank/web views. */
#app .phone.irl .world-visit img{object-position:center 15%}
#app .phone.reading-expanded .prop.folded .prop-b{display:block}
#app .situ-tap{font-size:calc(18px * var(--fs));min-height:54px;color:#124c9b;background:#edf3fb;border-radius:8px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#app .phone .ui .field,#app .phone .ui .field .v{font-size:calc(18px * var(--fs));line-height:1.5}
#app .phone .ui .field .k{font-size:calc(16px * var(--fs));line-height:1.5}
#app .phone.irl .pn-scene.world-visit{display:grid;grid-template-columns:120px 1fr;grid-template-rows:1fr 1fr;height:140px;min-height:140px;background:#e5dbcd}
#app .phone.irl .world-visit img{grid-column:1;grid-row:1 / 3;width:120px;height:140px;object-fit:contain;object-position:center}
#app .phone.irl .world-visit .visit-place{grid-column:2;grid-row:1;position:static;align-self:end;background:none;margin:0;padding:10px 12px 4px;font-size:calc(16px * var(--fs));line-height:1.4}
#app .phone.irl .world-visit .ov{grid-column:2;grid-row:2;position:static;align-self:start;background:none;color:#34291f;padding:4px 12px 10px;font-size:calc(16px * var(--fs));line-height:1.4}
/* v6: low-priority controls stay with the action area; no global top bar. */
.session-menu{display:block;min-height:48px;padding:10px 14px;font:inherit;font-size:16px;line-height:1.4;background:transparent;border:1px solid #8b9baa;border-radius:8px;color:#234467;cursor:pointer}
.pn-lower>.session-menu{margin:4px 12px;background:#f1f4f8;flex:none}
#app .phone .ask-wrap.sheet .sheet-foot>.session-menu{display:flex;width:100%;height:auto;min-height:48px;margin-top:8px;font-size:16px}
#app .phone.reading-expanded .pn-lower{display:flex!important}
#app .phone.reading-expanded .pn-lower>:not(.session-menu){display:none!important}
.session-menu-dialog{z-index:20000!important}
.session-menu-dialog .modal-box{max-height:calc(100dvh - 32px);overflow:auto}
.menu-sizes{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.menu-sizes .btn{width:auto;flex:1;min-width:75px;padding:12px 6px;font-size:17px}
.menu-sizes [aria-pressed="true"]{background:#164f84;color:#fff;border-color:#164f84}
.session-menu-dialog .btn{min-height:52px}
.fx-screen>.session-menu,.media-gate-card>.session-menu,.situ-card>.session-menu{margin-top:12px;width:100%;flex:none;background:#edf2f7;color:#234467}
#app .phone.choosing:not(.reading-expanded) .pn-lower>.session-menu{display:none}
.session-menu-dialog .menu-sizes .btn[aria-pressed="true"]{background:#164f84;color:#fff;border:2px solid #9ecaff}
.session-menu-dialog .menu-sizes .btn[aria-pressed="false"]{background:#1e1e20;color:#75b8ff;border:2px solid transparent}
.session-menu-dialog .menu-sizes .btn{margin:0;flex-basis:100%;min-height:48px}
.session-menu-dialog .note{color:#ddd}
/* Keep expansion reachable even when Safari's header is taller than Chromium's. */
#app .phone .ask-wrap.sheet{max-height:min(66dvh,calc(100% - var(--upperh,80px) - 112px))}
/* Non-play footer wraps instead of pushing controls outside a small screen. */
body:not(.in-play) #gov{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}
body:not(.in-play) #gov .gov-mark{flex-basis:100%;order:0;text-align:center;white-space:normal}
body:not(.in-play) #gov #homeBtn{max-width:100%;white-space:normal}
body:not(.in-play) #gov .gov-tools{flex:0 1 auto;flex-wrap:wrap;max-width:100%}
/* The ATM notice must scroll with the content, never cover the keys. */
#app .phone .pn-body>.atm-poster{position:relative;top:auto;width:100%;max-width:100%}
/* Read at the user's pace when speech is muted or unavailable. */
.read-next{display:block;width:100%;min-height:52px;background:#1763b8;color:#fff;border:0;border-radius:8px;padding:12px;font:inherit;font-size:calc(18px * var(--fs));font-weight:700}
.skipbox:has(.read-next){display:flex;flex-direction:column;gap:6px;flex:none}
.skipbox:has(.read-next) .skip{font-size:16px;min-height:44px;white-space:normal;line-height:1.4}
#app .phone .ask-wrap.sheet .sheet-scroll{position:sticky;top:0;z-index:5;display:block;width:100%;min-height:48px;padding:10px 8px;background:#e7eef7;color:#163f69;border:1px solid #adc0d5;border-radius:8px;font:inherit;font-size:17px;font-weight:600;line-height:1.4;margin:0 0 10px;box-shadow:0 -12px 0 12px #fff}
#app .phone .ask-wrap.sheet .sheet-scroll[hidden]{display:none}
#app .phone .ask-wrap.sheet{scroll-padding-top:64px}
#app .phone .ask-wrap.sheet .btn{scroll-margin-top:64px}

/* SNS広告は画像と操作をひと続きに読み、選択肢で写真を覆わない。 */
#app .phone[data-surface="feed"]{display:block;overflow-y:auto;padding-bottom:0!important}
#app .phone[data-surface="feed"] .pn-body{height:auto;max-height:none;overflow:visible;padding-bottom:16px}
#app .phone[data-surface="feed"] .ask-wrap.sheet{position:relative;inset:auto;max-height:none;overflow:visible;box-shadow:none;border-radius:0;padding:16px}
#app .phone[data-surface="feed"] .more-below{display:none!important}
#app .phone[data-surface="feed"] .inline-photo .cap{position:static;background:#fff;color:#555;padding:8px 16px;font-size:16px}
#app .phone[data-surface="feed"] .inline-photo img{height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
/* 写真は切り抜かず、通話枠の中で全体を見せる。 */
#app .phone.video .pn-video img{object-fit:contain;background:#20242b}
.session-menu-dialog .modal-box{background:#fff;color:#172536;border-radius:16px;padding:20px}
.session-menu-dialog .modal-title{color:#172536;font-size:22px;margin:0 0 8px}
.session-menu-dialog .note{color:#536171;font-size:16px;margin:0 0 18px}
.session-menu-dialog .menu-label{font-size:17px;margin:0 0 8px}
.session-menu-dialog .menu-sizes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.session-menu-dialog .menu-sizes .btn{width:100%;min-width:0;min-height:48px;padding:10px 4px;font-size:18px}
.session-menu-dialog .menu-sizes .btn[aria-pressed="false"]{background:#f1f4f8;color:#243b53;border:1px solid #c1ccd8}
.session-menu-dialog .btn{font-size:18px;border-radius:8px}
.session-menu-dialog .btn:not(.btn-primary){background:#f1f4f8;color:#243b53}
.session-menu-dialog .menu-sizes .btn[aria-pressed="true"]{background:#164f84;color:white}

/* v7: 一画面につきスクロールは一つ。本文を覆う選択肢・縮小段階を廃止。 */
#app .phone{display:block;overflow-y:auto;overflow-x:hidden;padding-bottom:0!important;scroll-padding:16px 0 100px}
#app .phone .pn-body{height:auto;max-height:none;min-height:0;overflow:visible;flex:none}
#app .phone .ask-wrap.sheet{position:relative;inset:auto;width:100%;max-height:none;height:auto;overflow:visible;transform:none;box-shadow:none;border-radius:0;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px))}
#app .phone .ask-wrap.sheet::before,#app .phone .more-below,#app .phone .ask-dim{display:none!important}
#app .phone .ask-wrap.sheet .choices{display:flex;flex-direction:column;gap:12px}
#app .phone .ask-wrap.sheet .choices .btn{margin:0;padding:16px;min-height:56px;height:auto}
#app .phone .ask-wrap.sheet .ask-h{display:block;font-size:calc(18px * var(--fs));margin:0 0 12px}
#app .phone .ask-wrap.sheet .sheet-foot{position:static;display:flex;flex-direction:column;gap:8px;margin-top:20px}
#app .phone .ask-wrap.sheet .sheet-foot>*{width:100%;margin:0;height:auto}
#app .phone .pn-body>.ui.pin,#app .phone .pn-body>.ios-noti{position:static;max-height:none}
#app .phone .skipbox{position:sticky;bottom:0;z-index:10;background:#f4f6f9;color:#1b2e43;padding:10px 16px;margin:0}
#app .phone.choosing .skipbox{display:none!important}
#app .phone .pn-video{max-height:260px}
#app .phone .inline-photo img{height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
#app .phone .inline-photo .cap{position:static;padding:8px 12px;font-size:16px;background:#fff;color:#536171}

#modal .modal-box{background:#fff;color:#172536;border-radius:16px;padding:24px 20px}
#modal .modal-title{color:#172536;font-size:calc(20px * var(--fs));line-height:1.5}
#modal .btn{border-radius:8px;margin-top:12px;min-height:52px;font-size:18px}
#modal #modalStay{background:#1763b8;color:#fff;border:0}
#modal #modalHome{background:#fff;color:#a22620;border:1px solid #c6ccd3}

/* 設定は体験内の操作から分離し、常に上端の同じ場所へ。 */
.experience-settings{display:none}
body.in-play .experience-settings{position:fixed;top:0;left:50%;transform:translateX(-50%);width:min(100%,430px);height:44px;display:flex;align-items:center;justify-content:flex-end;background:#f4f5f7;border-bottom:1px solid #d9dfe5;z-index:15000;padding:0 8px;box-sizing:border-box}
body.in-play .experience-settings .session-menu{display:inline-flex;width:auto;min-width:72px;height:44px;min-height:44px;margin:0;padding:0 8px;align-items:center;justify-content:center;border:0;border-radius:0;background:transparent;color:#445469;font-size:15px;font-weight:600;gap:6px}
body.in-play #app{padding-top:44px}
body.in-play #app .phone{height:calc(100dvh - 44px)}
body.in-play .fx,body.in-play .pn-situ{top:44px!important;height:calc(100dvh - 44px)!important;bottom:0!important}
#app .phone[data-surface="feed"] .ad-cta{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px;padding:14px 18px;margin:0;border:0;border-radius:0;background:#e7eff8;color:#164f84;font:inherit;font-size:calc(18px * var(--fs));font-weight:700;text-align:left;cursor:pointer}
.ad-arrow{font-size:28px;margin-left:12px;line-height:1}
#app .phone[data-surface="feed"] .inline-photo{cursor:pointer}
#app .phone[data-surface="feed"] .ask-wrap.sheet{display:none}
#app .phone[data-surface="feed"] .pn-body>.ui.notice{border:0;border-radius:0;margin:0;padding:12px 16px}

body.framed.in-play .experience-settings{width:390px;max-width:100%}
body.in-play .experience-settings{border:0;box-shadow:inset 0 -1px #d9dfe5}

.setup-panel{padding:8px 0 24px}
.setup-step{font-size:14px;line-height:1.6;color:#536171;margin:0 0 16px}
.setup-heading{font-size:20px;margin:24px 0 12px;color:#172536}
.setup-options{display:flex;gap:8px}
.setup-option{flex:1;min-width:0;min-height:52px;padding:12px 6px;border:1px solid #aebdcc;border-radius:8px;background:#fff;color:#243b53;font:inherit;font-size:18px;font-weight:700}
.setup-option[aria-pressed="true"]{background:#164f84;color:white;border:2px solid #164f84}
.setup-preview{padding:16px;background:#f1f5fa;border:1px solid #cad5e2;border-radius:8px;margin-top:14px}
.setup-preview-label{display:block;font-size:14px;color:#536171;margin-bottom:8px}
.setup-preview p{font-size:calc(18px * var(--fs));line-height:1.65;color:#172536;margin:0}
.setup-help{font-size:16px;line-height:1.6;color:#536171;margin:12px 0}
.setup-panel>.btn-primary{margin-top:24px;min-height:56px}

body.in-setup #gov .gov-tools{display:none}
body.in-setup{background:#f6f8fb;color:#172536}
body.in-setup #app{background:#f6f8fb}
body.in-setup .page-title{color:#172536}
body.in-setup .lead{color:#45576b}
body.in-setup #gov,body.in-setup #disclaimer{background:#f6f8fb;color:#536171;border-color:#d7dfe8}
body.in-setup #gov .gov-mark{color:#536171}

/* 場面説明はアプリ画面ではなく、疑似体験のガイドとして独立させる。 */
body.in-play .pn-situ,body.in-play .fx.media-gate{background:#fff8e9!important;backdrop-filter:none!important;padding:28px 20px!important;overflow-y:auto!important;align-items:center;justify-content:center}
body.in-play .pn-situ .situ-card,body.in-play .media-gate-card{width:100%;max-width:360px;max-height:100%;overflow-y:auto;background:transparent;color:#332c20;border:0;border-radius:0;box-shadow:none;padding:0 0 8px;text-align:left}
.guide-label{display:inline-block;background:#ead8ac;color:#513a13;font-size:16px;font-weight:700;line-height:1.4;border-radius:4px;padding:7px 10px;margin:0 0 24px}
body.in-play .situ-card .situ-h{color:#332c20;font-size:calc(23px * var(--fs));font-weight:700;line-height:1.45;margin:0 0 20px}
.guide-stage{font-size:16px;color:#6b583a;margin:0 0 8px}
body.in-play .media-gate-title{color:#332c20;margin:0 0 20px}
body.in-play .situ-card .situ-t,body.in-play .media-gate-reason{color:#332c20;font-size:calc(18px * var(--fs));line-height:1.8;white-space:pre-line;margin:0 0 28px}
#app .situ-card .situ-tap,body.in-play .media-gate .operation-button{background:#594525;color:white;border:0;border-radius:8px;min-height:56px;padding:14px 16px;font-size:calc(18px * var(--fs));font-weight:700;line-height:1.5;margin:0}
body.in-play .situ-card .situ-x{color:#594525}
body.in-play .situ-card .situ-h::before{content:none}

/* v10: 実際の媒体ごとに操作画面を描き分ける。 */
body.in-play .experience[data-kind="contacts"] .operation-head{background:#f3f5f7;color:#172536;border-bottom:1px solid #ccd5df}
body.in-play .experience[data-kind="contacts"] .fx-screen{background:#fff}
.experience .operation-button.contact-row{display:flex;justify-content:space-between;align-items:center;background:white;color:#173e69;border-radius:0;border-bottom:1px solid #d3dce6;text-align:left;font-size:calc(20px * var(--fs));padding:18px 8px}
.contact-arrow{margin-left:12px;color:#6c7b8a}
body.in-play .experience[data-kind="dial"] .operation-head,body.in-play .experience[data-kind="call"] .operation-head,body.in-play .experience[data-kind="video"] .operation-head{background:#25262a;color:#fff}
body.in-play .experience[data-kind="dial"] .fx-screen,body.in-play .experience[data-kind="call"] .fx-screen,body.in-play .experience[data-kind="video"] .fx-screen{background:#25262a;color:#fff;text-align:center;align-items:stretch}
.experience[data-kind="dial"] .operation-state,.experience[data-kind="call"] .operation-state,.experience[data-kind="video"] .operation-state{color:#fff}
.operation-avatar{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:50%;background:#505866;color:white;font-size:36px;align-self:center}
.experience[data-kind="dial"] .operation-button,.experience[data-kind="video"] .operation-button{background:#24763a}
body.in-play .experience[data-kind="sms"] .operation-head{background:#f2f4f7;color:#172536;border-bottom:1px solid #cbd5df}
body.in-play .experience[data-kind="sms"] .fx-screen{background:white}
.experience[data-kind="sms"] .operation-message{background:#edf0f4;color:#172536;border-radius:16px;padding:16px;font-size:calc(18px * var(--fs))}
body.in-play .experience[data-kind="bank"] .fx-screen,body.in-play .experience[data-kind="cardapp"] .fx-screen{background:#fff}
.experience[data-kind="bank"] .operation-fields,.experience[data-kind="cardapp"] .operation-fields{border:1px solid #ccd8e4;border-radius:8px;padding:0 16px;background:#f7faff}
body.in-play .experience[data-kind="atm"] .fx-screen{background:#e5f0f9}
.experience[data-kind="atm"] .operation-button{background:#0d4b81;border:2px solid white;box-shadow:0 2px 0 #b0bac4;border-radius:6px}
#app .phone[data-choice-medium="dm"] .ask-wrap.sheet,#app .phone[data-choice-medium="group"] .ask-wrap.sheet{background:#eef4fa}
#app .phone[data-choice-medium="dm"] .choices .btn,#app .phone[data-choice-medium="group"] .choices .btn{border-left:4px solid #298845}
#app .phone[data-choice-medium="irl"] .ask-wrap.sheet{background:#f7f1e7}

.guide-preview{margin:0 0 20px;padding:10px;background:#fffdf8;border:1px solid #e0d3b7;border-radius:8px;pointer-events:none}
.guide-preview img{display:block;width:100%;height:180px;object-fit:contain}
.guide-preview figcaption{font-size:14px;color:#6b583a;text-align:center;margin-top:8px}
body.in-play .experience[data-kind="contacts"] .operation-button.contact-row{margin-top:0}

/* 一つのスクロール面で上端から下端まで到達できる。中央寄せで長いガイドを切らない。 */
body.in-play .pn-situ,body.in-play .fx.media-gate{display:block!important;overflow-y:auto!important;overscroll-behavior:contain;touch-action:pan-y;box-sizing:border-box;-webkit-overflow-scrolling:touch}
body.in-play .pn-situ[hidden]{display:none!important}
body.in-play .pn-situ .situ-card,body.in-play .media-gate-card{height:auto;max-height:none;overflow:visible;margin:0 auto;transform:none}
#app .phone{touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
body.in-play .experience-settings{width:min(100%,var(--w,430px))}
body.in-play .fx.media-gate .media-gate-card{box-sizing:border-box}
.feed-post{display:block;margin:0;padding:18px 16px;background:white;border-bottom:8px solid #edf0f4;color:#243342}
.feed-author{font-size:17px;font-weight:700;margin-bottom:8px}
.feed-post p{font-size:calc(17px * var(--fs));line-height:1.65;margin:0}
.feed-meta{font-size:13px;color:#677685;margin-top:10px}
.feed-ad-label{padding:12px 16px 8px;font-size:14px;color:#627080;background:white}

/* 本編の器を表示領域に固定し、フォーカス移動でページ全体がずれるのを防ぐ。 */
body.in-play #app{position:fixed;top:44px;bottom:0;left:0;right:0;margin:0 auto;width:min(100%,390px);max-width:390px;height:auto;padding:0;overflow:hidden;transform:none}
body.in-play #app .phone{height:100%;width:100%;min-height:0;scroll-padding-top:calc(var(--upperh,80px) + 12px)}
#app .phone .pn-upper{position:sticky;top:0;z-index:20;background:inherit}
body.in-play .pn-situ,body.in-play .fx{left:0!important;right:0!important;width:min(100%,390px)!important;margin-left:auto;margin-right:auto;transform:none!important}
body.in-play #app .phone{padding:0!important;margin:0;border:0;border-radius:0}

/* v12: conversation and transition controls belong to the current screen. */
#app .phone .action-receipt{margin:16px 12px;padding:14px 16px;background:#eef4f8;color:#243c50;border-left:4px solid #668197;border-radius:8px}
#app .phone .action-receipt small{font-size:16px;font-weight:700}#app .phone .action-receipt p{margin:6px 0 0;font-size:calc(18px * var(--fs));line-height:1.6}
#app .phone .chat-invitation,#app .phone .media-launch{margin:16px 12px;padding:16px;background:#fff;color:#172c40;border:1px solid #cbd5df;border-radius:14px}
.chat-invitation-from{font-size:16px;margin-bottom:8px}.chat-invitation strong{display:block;font-size:20px}
#app .phone .media-launch-context{font-size:calc(17px * var(--fs));line-height:1.6;margin:0 0 14px}
#app .phone .media-launch .operation-button,#app .phone .chat-invitation .operation-button{margin-top:16px;min-height:54px;width:100%;font-size:calc(18px * var(--fs));white-space:normal;background:#087544;color:white;border-radius:10px;padding:14px}
#app .phone .skip[hidden]{display:none!important}

/* v13: native feed/ad structure and distinct media surfaces. */
#app .phone[data-surface="feed"] .skipbox{display:none!important}
#app .phone[data-surface="feed"] .pn-body{gap:0;padding:0;background:#e9edf1}
#app .phone .feed-post{padding:0;margin:0 0 10px;border:0;background:#fff}
.feed-person{display:flex;gap:10px;align-items:center;padding:14px 16px}
.feed-person>div{min-width:0}.feed-person strong{display:block;font-size:calc(16px * var(--fs));line-height:1.4}.feed-person small{display:block;font-size:14px;color:#687580;margin-top:3px}
.feed-avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#e2efe6;color:#35724d;font-weight:700}.ad-avatar{background:#e4eafa;color:#244ea0}
#app .phone .feed-post p{padding:0 16px 12px;font-size:calc(16px * var(--fs));line-height:1.5}
#app .phone .feed-post .feed-photo{display:block;width:100%;height:auto;object-fit:contain}
#app .phone .feed-meta{padding:10px 16px;color:#697783;font-size:14px}
#app .phone .feed-ad{margin:0 0 10px;background:#fff;border:0}
#app .phone .ad-copy{margin:0;padding:0 16px 14px;font-size:calc(21px * var(--fs));line-height:1.5;font-weight:750;color:#152334}
#app .phone .ad-destination{padding:16px;background:#f0f3f7;border-bottom:1px solid #dae0e7}.ad-destination>small{display:block;font-size:13px;color:#697783}.ad-destination>strong{display:block;font-size:calc(18px * var(--fs));margin:4px 0 14px}
#app .phone[data-surface="feed"] .ad-cta{background:#1766d2;color:#fff;border-radius:7px;min-height:54px;padding:14px 18px;font-size:calc(18px * var(--fs));margin:0}
#app .phone[data-surface="feed"] .ad-cta:disabled{opacity:.55}
#app .phone[data-surface="dm"] .media-head,#app .phone[data-surface="group"] .media-head{background:#edf3fa;color:#152332;border-bottom:1px solid #bccadb;padding:12px 16px;gap:12px}
.chat-back{font-size:32px;line-height:1;color:#152332;flex:0 0 16px}
#app .phone[data-surface="dm"] .media-head .nm,#app .phone[data-surface="group"] .media-head .nm{font-size:calc(18px * var(--fs));line-height:1.3}
#app .phone[data-surface="dm"] .media-head .sub,#app .phone[data-surface="group"] .media-head .sub{font-size:13px;color:#647383;margin-top:3px}
#app .phone[data-surface="bank"] .media-head{background:#fff;border-bottom:4px solid #1652a0;color:#123663}
#app .phone[data-surface="bank"] .ui{border:1px solid #cad6e4;border-radius:6px;background:#fff}
#app .phone[data-surface="bank"] .field{border-bottom:1px solid #e1e7ee;padding:14px 0}.phone[data-surface="bank"] .field .k{color:#5a6e85;font-size:16px}
#app .phone[data-surface="invest"] .ui{border-top:4px solid #2d8b8a;background:#fff}.phone[data-surface="invest"] .ui-line{font-variant-numeric:tabular-nums}

/* A single reading control; do not offer skip during operation/transition waits. */
#app .phone .skip{display:none!important}
body.in-play .fx.media-gate{padding:24px!important}
.guide-app-icon{width:64px;min-height:64px;padding:8px;box-sizing:border-box;display:grid;place-items:center;border-radius:15px;background:#1651a0;color:white;font-size:20px;font-weight:750;margin:18px 0 16px;overflow-wrap:anywhere;text-align:center}
.guide-app-icon.dm,.guide-app-icon.group,.guide-app-icon.chat{background:#06a94d}
.guide-app-icon.invest{background:#183550}.guide-app-icon.sms{background:#319b43}
.guide-stage{margin-bottom:8px}.media-gate-title{margin-top:0}

/* Keep the current app header above scrolling messages and choice panels. */
#app .phone .pn-body{position:relative;z-index:0}
#app .phone .ask-wrap.sheet{z-index:1}

/* v15：会話の本人・相手と、グループ参加の状態を区別。 */
.chat-membership{margin:18px auto;padding:10px 16px;max-width:90%;width:fit-content;border-radius:20px;background:#edf3f9;color:#324458;font-size:1rem;text-align:center;}
.experience .operation-message.me{margin-left:auto;background:#d9f8bf;border-radius:18px 4px 18px 18px;max-width:90%;}
.experience .operation-message:not(.me){max-width:90%;border-radius:4px 18px 18px 18px;}
.message-speaker{display:block;font-size:.8em;font-weight:700;margin-bottom:8px;color:#334155;}
.experience[data-kind="invest"] .operation-head{background:#13243d;color:white;}
.experience[data-kind="invest"] .operation-button{background:#156b62;color:white;}

/* v17：金額の変化、グループ招待、緊張感のある体験ガイド */
.investment-balance .balance-caption{margin:0 0 6px;color:#43546a;font-size:1rem}
.investment-balance .balance-before{font-size:1.35em;font-weight:700}.balance-arrow{font-size:1.5em;margin:8px 0;color:#61748d}
.investment-balance .balance-now{font-size:1.65em;font-weight:800;color:#102842;overflow-wrap:anywhere}
.investment-balance .balance-gain{margin-top:18px;background:#e1f3ee;color:#135c4c;border-radius:8px;padding:14px;font-weight:700}
.line-group-invite .operation-head{background:white!important;color:#15222f!important;border-bottom:1px solid #e5e9ed}
.line-group-invite .fx-screen{background:white!important}.line-group-invite .operation-state{font-size:1.1em;text-align:center}
.group-profile{text-align:center;padding:24px 0}.group-avatar{display:grid;place-items:center;width:100px;height:100px;margin:0 auto 24px;border-radius:28px;background:#e3f4ec;color:#087743;font-size:28px;font-weight:800}
.group-profile h3{font-size:1.35em;line-height:1.5;margin:0 0 14px}.group-profile p{font-size:1em;line-height:1.65;color:#445366}.group-profile .group-invite-help{font-size:.9em;margin-top:24px}
.line-group-invite .operation-button{background:#06a855!important;color:white!important}
body.in-play .pn-situ,body.in-play .fx.media-gate{background:#080f1c!important;color:#f4f7fc}
body.in-play .pn-situ .situ-card,body.in-play .media-gate-card{color:#f4f7fc}
body.in-play .guide-label{background:#163252;color:#add4ff;border:1px solid #365c87}
body.in-play .guide-stage{color:#acc4df}
body.in-play .situ-card .situ-h,body.in-play .media-gate-title,body.in-play .situ-card .situ-t,body.in-play .media-gate-reason{color:#f4f7fc}
#app .situ-card .situ-tap,body.in-play .media-gate .operation-button{background:#1767bc;color:white;border:1px solid #5898de}
body.in-play .situ-card .situ-x{color:#d5e8ff}

.feed-ad .ad-copy{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}

/* v17：証拠画面は見出し・内容・戻る操作を別領域にし、重ねない。 */
body.in-play .fx.evidence-view{overflow:hidden!important}
.evidence-view .evidence-box{height:100%;min-height:0;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:16px 16px max(16px,env(safe-area-inset-bottom));gap:16px}
.evidence-view .evidence-channel{margin:0;padding-bottom:12px;line-height:1.5}
.evidence-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:16px}
.evidence-content .badge-video{flex:none}.evidence-content .warrant-paper{flex:none}
.evidence-view .operation-button{position:static!important;transform:none!important;width:100%!important;max-width:none!important;min-height:56px;margin:0!important;box-shadow:none!important;box-sizing:border-box}

/* v17：結果・振り返りを最後まで読める共通レイアウト */
body[data-view="exit"],body[data-view="debrief"]{background:#080f1c;color:#f4f7fc}
body[data-view="exit"] #app,body[data-view="debrief"] #app{max-width:640px;margin:0 auto;padding:24px 18px 32px;box-sizing:border-box}
.result-title{margin:0 0 20px}.result-label{font-size:1rem;color:#b8cce3;margin:0 0 14px}
body[data-view="exit"] .outcome{background:#142237;border:1px solid #2a405c;border-radius:12px;padding:20px;margin:20px 0}
body[data-view="exit"] .outcome p{margin:0 0 16px;font-size:calc(18px * var(--fs));line-height:1.8}.outcome p:last-child{margin-bottom:0!important}
.result-actions{display:grid;gap:12px}.result-actions .btn{margin:0;font-size:calc(18px * var(--fs));padding:16px;min-height:56px;line-height:1.6;white-space:normal}
.result-actions .btn-secondary{background:#142237;color:#d9eaff;border:1px solid #7396bd}
body[data-view="debrief"] .points{padding:0;margin:20px 0;list-style:none}
body[data-view="debrief"] .points li{display:block;background:#142237;border:1px solid #2a405c;border-radius:12px;padding:20px;margin:0 0 14px;font-size:calc(18px * var(--fs));line-height:1.8}
body[data-view="debrief"] .points .lab{display:block;color:#a9d0ff;font-size:1rem;margin-bottom:8px}
body[data-view="debrief"] .sec-h{font-size:calc(21px * var(--fs));line-height:1.6;margin:28px 0 16px}
body[data-view="exit"] #gov,body[data-view="debrief"] #gov{position:static;display:flex;flex-direction:column;max-width:640px;box-sizing:border-box;margin:0 auto;padding:20px 16px;background:transparent;border-top:1px solid #2a405c;gap:16px}
body[data-view="exit"] .gov-tools,body[data-view="debrief"] .gov-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;width:100%}
body[data-view="exit"] .gov-mark,body[data-view="debrief"] .gov-mark{order:0}
body[data-view="exit"] #disclaimer,body[data-view="debrief"] #disclaimer{max-width:640px;box-sizing:border-box;margin:0 auto;padding:18px;color:#b9c8db}

/* v17: 通話内容を銀行の帳票に混ぜず、通話画面として読む */
#app .phone.bank-foreground:not(.bank-conversation) .pn-body>.subtitle{display:none!important}
#app .phone.bank-conversation{background:#172b43;color:white}
#app .phone.bank-conversation .pn-body>.ui,#app .phone.bank-conversation .bank-fronthead{display:none!important}
#app .phone.bank-conversation .pn-body>.subtitle.latest{display:block!important;background:#223b55;color:white;border:1px solid #7992ad}
#app .phone.bank-conversation .subtitle.latest .sp{color:#b9d7f8}
#app .phone.bank-conversation .pn-callhead:after{content:'通話の内容';font-size:16px;color:white}
#app .phone.video .pn-video{position:relative;max-height:none;min-height:240px;background:#111923}
#app .phone.video .pn-video>img{display:block;width:100%;height:auto;max-height:48svh;object-fit:contain}
#app .phone.video .pn-video .ov{position:absolute;top:0;left:0;right:0;padding:14px;background:linear-gradient(#000b,transparent);color:white}
#app .phone.video .selfv{position:absolute;right:12px;bottom:12px;width:92px;height:64px;display:grid;place-items:center;background:#253241;border:1px solid #708093;border-radius:10px;color:#fff;font-size:12px}
.warrant-paper{background:#f8f6ef!important;color:#202020!important;border:1px solid #c6c2b7;border-radius:0!important;padding:24px!important;font-family:'Yu Mincho','Hiragino Mincho ProN',serif;box-shadow:0 4px 14px #0004}
.warrant-paper h2{text-align:center;letter-spacing:.35em;font-size:28px!important;margin:28px 0!important}
.warrant-number{text-align:right;font-size:14px}.warrant-lead,.warrant-body{font-size:18px;line-height:1.9}
.warrant-paper .evidence-field{border-bottom:1px solid #aaa;padding:16px 0}.warrant-paper .evidence-field strong{font-weight:500}
.warrant-sign{font-size:18px;text-align:right;line-height:1.9;margin-top:30px}.warrant-training{font-family:sans-serif;font-size:14px;line-height:1.6;border-top:1px solid #aaa;padding-top:14px;margin-top:30px}
/* 動画領域を固定ヘッダーにしない。本文・選択肢を覆わない。 */
#app .phone.video .pn-upper{position:relative;top:auto;z-index:auto}
#app .phone.video .pn-video{display:flex;flex-direction:column;padding:0;overflow:hidden}
#app .phone.video .pn-video .ov{position:relative;order:-1;background:#111923;padding:14px 16px;box-sizing:border-box}
#app .phone.video .pn-video .ov .who{font-size:20px;line-height:1.5;padding-right:0}
#app .phone.video .selfv{top:auto!important;bottom:12px!important;right:12px!important}
/* 会話履歴の途中を固定帯で覆わず、全内容を一続きにスクロールする。 */
#app .phone .pn-upper{position:relative;top:auto;z-index:auto}
body[data-view="debrief"] .sec-h{color:#c7d9ee}
body[data-view="debrief"] .points{background:transparent;box-shadow:none}
body[data-view="debrief"] .points li{box-shadow:none}

.guide-app-icon{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;min-width:64px;box-sizing:border-box;font-size:20px!important;display:inline-flex;align-items:center;justify-content:center}
#app .phone.video .pn-video{height:auto!important;min-height:0!important;max-height:none!important;flex:none!important}
#app .phone.video .pn-video>img{flex:none!important;width:100%!important;object-fit:contain!important}
#app .phone.video .pn-video .ov{flex:none!important}

.experience[data-kind="video"] .fx-screen{background:#13202d!important;color:#fff!important;text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}
.experience[data-kind="video"] .operation-avatar{width:88px;height:88px;border-radius:24px;background:#254257;color:white;display:grid;place-items:center;margin:24px auto 0;font-size:40px}
.video-incoming-name{font-size:calc(22px * var(--fs));font-weight:700;line-height:1.6;margin:0}
.experience[data-kind="video"] .operation-state{color:#d4e2ee!important;font-size:calc(18px * var(--fs));margin:0}
.experience[data-kind="video"] .operation-button{background:#087f48!important;color:#fff!important;margin-top:32px;max-width:320px}
/* 実際のアプリ画面と、体験のための通話字幕を区別する。 */
#app .phone.ios-call:not(.bank-foreground) .subtitle,#app .phone.video .subtitle{font-weight:500;border-radius:10px;line-height:1.7}
#app .phone.ios-call:not(.bank-foreground) .subtitle.latest:before,#app .phone.video .subtitle.latest:before,#app .phone.bank-conversation .subtitle.latest:before{content:'通話の字幕';display:block;color:#b7cce1;font-size:14px;font-weight:500;margin-bottom:8px;letter-spacing:.05em}
#app .phone.atm .subtitle.latest:before{content:'電話でのやりとり';display:block;color:#c0d7eb;font-size:14px;font-weight:500;margin-bottom:8px}

/* v18: system notices are not outgoing messages; phone subtitles are not LINE bubbles. */
.experience .operation-system-note{padding:14px 16px;margin:0;background:#e9eef5;color:#1c3048;border:1px solid #c8d3e1;border-radius:8px;font-size:calc(18px * var(--fs));line-height:1.65;text-align:left}
.experience[data-kind="chat"] .operation-message:not(.me){background:#fff;color:#172536}
.experience[data-kind="call"] .operation-message,.experience[data-kind="call"] .operation-message.me{max-width:100%;margin:0;padding:16px;background:#36383e;color:#fff;border:1px solid #626771;border-radius:8px;text-align:left}
.experience[data-kind="call"] .message-speaker{color:#c4dfff}
.experience[data-kind="call"] .operation-context,.experience[data-kind="dial"] .operation-context,.experience[data-kind="video"] .operation-context{color:#e0e7ef}

.experience[data-kind="call"] .operation-head .operation-state{font-size:calc(18px * var(--fs));line-height:1.45;margin:0;text-align:center}

/* SMSの確認段階では、まだ選べないURLを操作可能に見せない。 */
.sms-link[aria-disabled="true"]{color:#566473!important;text-decoration:none!important;cursor:default;pointer-events:none}

/* v20: 話者を識別できるLINEトーク、操作を妨げないタップ領域 */
.chat-app-label{font-size:12px;font-weight:800;color:#078c45;border:1px solid #078c45;border-radius:5px;padding:3px 5px;margin-right:8px}
.msg-row.with-avatar{position:relative;padding-left:46px;min-height:44px}
.chat-avatar{position:absolute;left:0;top:20px;width:36px;height:36px;border-radius:50%;overflow:hidden;background:#e6e9ee;color:#607c94;border:2px solid #fff}
.chat-avatar svg{width:100%;height:100%}.chat-avatar.assistant{background:#f3d9d8;color:#8e565b}.chat-avatar.teacher{background:#d9e5ee;color:#34536d}.chat-avatar.learner{background:#e8e2d4;color:#71805a}.chat-avatar.learner-alt{background:#dfdcf0;color:#786b93}
.media-gate button,.situ-card button,.read-next{touch-action:manipulation}
body.in-play #modal,body.in-play #callModal{z-index:21000}
.phone.ios-call{background:linear-gradient(160deg,#344552,#14222f 60%,#101922)!important}
.phone.ios-call .pn-callhead .who{font-weight:500;letter-spacing:.02em}
.phone.ios-call .pn-avatar{background:#526472;color:#eef3f6;border:0;box-shadow:none}
.phone.ios-call .pn-callbtns .cb{background:rgba(255,255,255,.17);border-radius:50%}
.phone.ios-call .subtitle{border-radius:12px;background:rgba(0,0,0,.24);border:0;color:#fff}
.phone.ios-call .subtitle .sp{color:#c9d7e4}

#app .phone.ios-call:not(.bank-foreground):not(.reading-expanded) .subtitle.old{display:none!important}
#app .phone.ios-call:not(.ringing):not(.bank-foreground) .pn-avatar{display:none}
#app .phone.ios-call:not(.bank-foreground) .pn-callhead{padding:18px 16px 12px;text-align:center}
#app .phone.ios-call:not(.bank-foreground) .pn-callhead .who{font-size:calc(22px * var(--fs))}
#app .phone.ios-call:not(.bank-foreground) .pn-callhead .st{font-size:16px;color:#d7e0e8}
#app .phone .choice-instruction{font-size:calc(16px * var(--fs));color:#31445a;line-height:1.5;margin:0 0 12px;font-weight:700}
#app .phone .ask-wrap .btn:not(.btn-ghost){border:2px solid #2166a8;box-shadow:none}
#app .phone .ask-wrap .btn .lbl:after{content:' ›';color:#2166a8;font-weight:800}
#app .phone .subtitle .replay{font-size:16px;padding:8px 12px;min-height:44px}
#app .phone .situ-re{font-size:16px;min-height:44px}

.dialogue-replies{padding:16px;background:#f3f6fa;border-radius:12px;margin-top:16px}.reply-prompt{color:#2a4159;font-size:16px;font-weight:700;margin:0 0 10px}.dialogue-replies .reply-option{margin:10px 0 0;text-align:left}

.conversation-photo{margin:16px 0}.conversation-photo img{display:block;width:100%;height:auto;object-fit:contain;border-radius:8px}.conversation-photo figcaption{font-size:16px;line-height:1.5;margin-top:8px}#app .phone[data-focus-object="1"] .pn-scene{display:none}

/* 金額入力は相手の指示を読んだ後に開始。キーと入力結果を一画面に保つ。 */
#app .phone:not(.choosing) .pad-only{display:none!important}
#app .phone.choosing:has(.pad-only) .pn-body>.subtitle,#app .phone.choosing:has(.pad-only) .pn-body>.msg-row{display:none!important}
#app .phone.choosing .pad-only{padding:12px;margin:8px 0;box-sizing:border-box}
#app .phone.choosing .pad-only .numlabel{margin:0 0 6px;font-size:20px;line-height:1.3}
#app .phone.choosing .pad-only .numamt{height:56px;min-height:56px;box-sizing:border-box;padding:8px 12px;font-size:30px;margin:0 0 8px;line-height:1.2}
.atm-number-prompt{font-size:16px;line-height:1.5;color:#23415e;background:#eaf2f8;padding:8px;margin:0 0 8px}
#app .phone.choosing .pad-only .padhere{display:none}
#app .phone.choosing .pad-only .numpad{padding:0;border:0;gap:8px;margin:0;box-shadow:none}
#app .phone.choosing .pad-only .atmkey{height:56px;min-height:56px;font-size:24px;line-height:1;padding:0;border-radius:8px;touch-action:manipulation;box-shadow:none!important}
#app .phone.choosing .pad-only .atmkey[disabled]{background:#d5dce3;color:#63707d}
#app .phone.choosing:has(.pad-only) .choice-instruction{display:none}

/* ATM操作と通話の会話を視覚的に切り替える。 */
#app .phone.atm:not(.choosing):not(.replying):not(.composing){background:#182735!important}
#app .phone.atm:not(.choosing):not(.replying):not(.composing) .pn-body{background:#182735!important}
#app .phone.atm:not(.choosing):not(.replying):not(.composing) .pn-body>.ui,#app .phone.atm:not(.choosing):not(.replying):not(.composing) .atmpad,#app .phone.atm:not(.choosing):not(.replying):not(.composing) .atm-poster{display:none!important}
#app .phone.atm:not(.choosing):not(.replying):not(.composing) .pn-upper:after{content:'電話の相手と話しています';display:block;background:#182735;color:white;text-align:center;font-size:18px;padding:18px 12px}
#app .phone.atm:not(.choosing):not(.replying):not(.composing) .subtitle.old{display:none!important}
#app .phone.atm:not(.choosing):not(.replying):not(.composing) .subtitle{background:#263b4d!important;border:0;color:white;font-weight:400;box-shadow:none}
#app .phone.atm.choosing .pn-body>.subtitle{display:none!important}
#app .phone.atm .atm-callbar{position:static}

.chat-avatar img{width:100%;height:100%;object-fit:cover;display:block}

.operation-message.with-avatar{position:relative;margin-left:44px!important}.operation-message.with-avatar .chat-avatar{left:-44px;top:0}.replay[disabled]{display:none}

#app .phone.atm .pn-upper{position:sticky;top:0;z-index:12;background:#0b3a63}
#app .phone.atm .callbar{min-height:52px;box-sizing:border-box;margin:0;padding:4px 12px;align-items:center}
@media(max-height:620px){#app .phone.choosing .pad-only .atmkey{height:48px;min-height:48px;font-size:22px}#app .phone.choosing .pad-only .numamt{height:48px;min-height:48px;font-size:26px}.atm-number-prompt{padding:6px;font-size:15px}}

.bank-entry-request{font-size:18px;color:#29435a;line-height:1.5;background:#edf3fa;padding:12px;border-radius:8px}.bank-entry-label{display:block;font-size:18px;font-weight:700;margin:20px 0 8px}.bank-amount-input{width:calc(100% - 36px);box-sizing:border-box;border:2px solid #59738f;border-radius:8px;padding:12px;font-size:30px;min-height:60px;text-align:right;color:#183953;background:white}.bank-entry-yen{display:inline-block;width:30px;text-align:center;font-size:22px}.bank-entry-cancel{min-height:48px;background:white;border:1px solid #a43f3f;color:#9b2626;border-radius:8px;font:inherit;padding:10px;margin-top:12px;width:100%}
.caller-avatar{display:inline-flex;width:44px;height:44px;background:#627180;border-radius:50%;color:#dae4ee;margin-bottom:6px;overflow:hidden}.caller-avatar svg,.caller-avatar img{width:100%;height:100%;object-fit:cover}

/* 入力と通貨単位を同じ行に置く。会話先はスクロール中も維持する。 */
.bank-amount-row{display:flex;align-items:center;gap:8px}.bank-amount-row .bank-amount-input{flex:1;min-width:0;width:0}.bank-amount-row .bank-entry-yen{flex:0 0 30px}
#app .phone.line .pn-upper,#app .phone.sms .pn-upper{position:sticky;top:0;z-index:12;background:#f6f7fa}
.world-scene .operation-head{background:#182b3d}
@media(max-height:620px){
 #app .phone.atm.choosing .pn-top{padding:6px 12px;min-height:0}
 #app .phone.atm.choosing .pn-top .nm{font-size:20px;line-height:1.2}
 #app .phone.atm.choosing .pn-top .sub{display:none}
 #app .phone.atm.choosing .atm-callbar{min-height:44px;padding:4px 8px}
 #app .phone.atm.choosing .pad-only{scroll-margin-top:90px}
}
@media(max-height:620px){#app .phone.atm.choosing .pad-only{padding-top:24px;scroll-margin-top:102px}}
/* 数字キーには下部の固定選択欄がないため、旧100pxの退避領域を設けない。 */
body.in-play #app .phone.atm.choosing{scroll-padding-bottom:0}
#app .phone.atm.choosing .pad-only{scroll-margin-top:0}
#app .phone.atm.choosing:has(.pad-only) .atm-poster{display:none}

/* 場面転換は操作前の見本。実際の押せる画面と混同させない。 */
.app-preview{margin:4px 0 20px;border:1px solid #526a80;border-radius:14px;overflow:hidden;background:#f4f7fa;color:#16324e;pointer-events:none;font-size:16px;text-align:left}
.preview-head{background:#173b65;color:white;padding:12px 16px;font-weight:700}.app-preview.dm,.app-preview.group,.app-preview.chat{background:#8eabd2}.app-preview.dm .preview-head,.app-preview.group .preview-head,.app-preview.chat .preview-head{background:#f2f6fb;color:#172c40}
.preview-chat-row{display:flex;align-items:flex-start;gap:10px;padding:18px 12px}.preview-chat-row .chat-avatar{width:32px;height:32px;flex:0 0 32px}.preview-bubble{background:white;border-radius:4px 15px 15px 15px;padding:12px;font-size:16px;color:#17212b}.preview-compose{background:#f5f6f8;color:#647181;padding:10px 14px;font-size:14px}
.preview-field{padding:13px;margin:10px;background:white;border:1px solid #d4dee8;border-radius:6px;font-size:16px}.app-preview figcaption{font-size:13px;padding:8px 12px;background:#dae5ef;color:#334d64;text-align:center;line-height:1.5}
.app-preview.call,.app-preview.video{background:#172b3d;color:white;text-align:center}.app-preview.call .chat-avatar,.app-preview.video .chat-avatar{display:block;width:42px;height:42px;margin:12px auto}.preview-contact{font-size:17px}.preview-call-control{display:grid;place-items:center;border-radius:50%;background:#ba332b;width:38px;height:38px;margin:10px auto;color:white}.preview-card{padding:16px;background:#153855;color:white;margin:12px;border-radius:8px}
.guide-preview{background:#13283b!important;border-color:#42647e!important}.guide-preview figcaption{color:#d4e3ee!important}.guide-preview img{height:auto;max-height:210px;object-fit:contain}
.media-gate-card:has(.app-preview) .guide-app-icon,.media-gate-card:has(figure) .guide-stage{display:none!important}
@media(max-height:620px){.guide-preview img{max-height:150px}.app-preview .preview-chat-row{padding:12px}.app-preview .preview-compose{display:none}.media-gate-card .media-gate-title{font-size:26px!important;margin:12px 0!important}.media-gate-card .media-gate-reason{font-size:18px!important;line-height:1.6!important}}

.training-card{box-sizing:border-box;position:relative;width:min(100%,300px);aspect-ratio:1.586;margin:16px auto;padding:18px;border-radius:13px;color:#fff;background:linear-gradient(125deg,#0c345c,#2c7295);box-shadow:0 6px 12px #091a302b;font-family:Arial,sans-serif;text-align:left;overflow:hidden;flex:none}
.card-bank{font-size:19px;font-weight:700;letter-spacing:1px}.card-chip{width:34px;height:26px;border:1px solid #b69851;background:linear-gradient(90deg,transparent 45%,#aa8c43 46%,#aa8c43 49%,transparent 50%),linear-gradient(0deg,#d3bc76 30%,#9d7e36 31%,#d3bc76 34%,#e2d19a 65%,#9d7e36 66%,#d3bc76 69%);border-radius:5px;margin-top:12px}.card-kind{position:absolute;right:18px;top:65px;font-size:12px;letter-spacing:1px}.card-digits{font-size:19px;letter-spacing:1px;margin-top:12px;white-space:nowrap}.card-holder{font-size:11px;letter-spacing:1px;margin-top:8px}.card-demo{position:absolute;right:12px;bottom:10px;font-size:10px;color:inherit;opacity:.8}.training-card.credit{background:linear-gradient(125deg,#292f3c,#626c7b)}
.training-card.moneycard{background:linear-gradient(150deg,#1b5799,#2871b1 65%,#72c2e1)}.training-card.back{padding-top:12px;background:#e8eef4;color:#233343}.card-magnetic{height:30px;background:#171b20;margin:0 -18px 10px}.card-back-title{font-size:10px;margin-bottom:5px}.card-signature{padding:9px 6px;background:repeating-linear-gradient(3deg,#fafaf5,#fafaf5 3px,#e3e2d6 4px);font-size:14px;letter-spacing:1px;white-space:nowrap}.card-barcode{height:17px;width:95px;margin-top:9px;background:repeating-linear-gradient(90deg,#25313e 0 2px,transparent 2px 4px,#25313e 4px 5px,transparent 5px 8px)}
.card-reference{padding:12px;background:#edf2f7;border-radius:10px}.card-reference-label{margin:0;font-size:15px;color:#334b60}.card-flip{width:100%;min-height:48px;border:1px solid #617a90;background:white;color:#193e61;font-size:16px;padding:10px;border-radius:8px}.card-reference .training-card{margin:12px auto}
.app-preview .chat-avatar{position:static!important;transform:none!important;left:auto!important;top:auto!important;margin:0!important}
.app-preview.call .chat-avatar,.app-preview.video .chat-avatar{margin:12px auto!important}

.card-reference>summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;font-weight:700;font-size:16px;line-height:1.5;padding:4px;box-sizing:border-box}.training-card.moneycard.back .card-magnetic{background:#2065a4;color:white;font-size:13px;letter-spacing:2px;padding:6px 18px;height:auto;box-sizing:border-box}
.phone.emoney-foreground .pn-callhead .who,.phone.bank-foreground .pn-callhead .who{font-size:18px!important;white-space:nowrap;word-break:normal}

body.in-play .fx.outgoing-call{background:linear-gradient(#344b5c,#142531);color:white;display:flex;align-items:stretch;padding:0}.outgoing-panel{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:flex-start;padding:60px 24px 40px;box-sizing:border-box}.outgoing-origin{font-size:17px;color:#c5d3de;margin:0 0 18px}.outgoing-number{font-size:32px;font-weight:500;white-space:nowrap;margin:0 0 16px}.outgoing-status{font-size:18px;color:#d4e2eb}.outgoing-panel .outgoing-start{margin-top:auto!important;min-height:64px!important;width:180px!important;border-radius:40px!important;background:#168642!important;color:white!important;font-size:24px!important;border:0;box-shadow:none}

/* v23: 相手の発言と自分の直前の返答を同時に読める。 */
#app .phone.ios-call:not(.bank-foreground):not(.reading-expanded) .subtitle.old.conversation-previous{display:block!important;font-size:calc(16px * var(--fs));line-height:1.5;padding:12px 14px;margin-bottom:12px;background:rgba(255,255,255,.08);color:#e1e9f1}
#app .phone.ios-call .subtitle .sp{display:block!important;font-size:14px;margin-bottom:6px}
#app .phone.ios-call .subtitle.me{background:#244c53;border-left:3px solid #70c5b0}
#app .phone.ios-call .subtitle.latest:before{display:none!important}

#app .phone.safari .native-form-action{width:100%;min-height:52px;padding:14px;background:#1264a3;color:#fff;border:0;border-radius:6px;font-size:calc(18px * var(--fs));text-align:center}
#app .phone.safari .native-form-action .mark{display:none}
#app .phone.safari .native-form-action .lbl{padding:0}
#app .phone.sms .ask-h{font-size:16px;line-height:1.5;padding:0;margin:0}
#app .phone.sms .ask-wrap{padding:14px 16px}
#app .phone.sms .situ-re{font-size:14px;padding:10px;margin-top:14px}
#app .phone.safari .ui-b{padding:12px}
#app .phone.safari .ui-line{margin:8px 0;line-height:1.5}

#app .phone.sms .pn-body>.ui{background:#e9e9eb;border:0;border-radius:18px;max-width:96%;margin:12px 0;padding:0}
#app .phone.sms .sms-link{font-size:calc(16px * var(--fs));padding:10px 0;min-height:44px;box-sizing:border-box;overflow-wrap:anywhere}
#app .phone.sms .ask-wrap .ask-h{font-size:14px;line-height:1.5;font-weight:500;margin:0;padding:0}

/* v24: 体験の判断は同じ場所・同じ形で比較する。A/Bの試験記号は付けない。 */
#app .phone .ask-wrap .mark{display:none}
#app .phone .ask-wrap .btn .lbl{padding:0}
#app .phone .ask-wrap .btn .lbl:after{content:none}
#app .phone.safari .ask-wrap.sheet{background:#eaf0f6;border-top:1px solid #cbd6e2;padding:16px}
#app .phone.safari .ask-wrap.sheet .ask-h{font-size:16px;text-align:left;margin:0 0 12px;font-weight:600}
#app .phone.safari .ask-wrap.sheet .choices .btn{padding:14px 16px;min-height:52px;font-size:calc(17px * var(--fs));text-align:left;border:1px solid #8096ad;border-radius:10px;background:#fff;color:#172b42}
#app .phone.safari .ask-wrap.sheet .sheet-foot{margin-top:12px}
#app .phone.safari .ask-wrap.sheet .situ-re{font-size:14px;min-height:44px;padding:8px;border:0;background:transparent;text-align:left}
.carrier-brand{padding:14px 16px;background:white;color:#12527e;font-size:19px;font-weight:800;border-bottom:1px solid #dce4eb;text-align:left}
#app .phone.safari .site-head,.carrier-web .site-head{background:#eef4f8;color:#213a4f;padding:14px 16px;font-size:18px;text-align:left;font-weight:700}
.carrier-web .operation-head{padding:0;background:white;border:0}
.carrier-web .pn-urlbar{display:flex;gap:10px;align-items:center;padding:10px 12px;background:#eef0f5;color:#272b30;font-size:13px;font-weight:400}
.carrier-web .pn-urlbar .url{flex:1;min-width:0;border:1px solid #d7dbe2;border-radius:10px;background:#fff;padding:10px 8px;overflow-wrap:anywhere}
.carrier-web .fx-screen{background:#fff;padding:20px 16px;justify-content:flex-start;gap:16px}
.carrier-web .operation-state{font-size:22px;margin:0 0 8px;color:#213a4f}
.carrier-web .operation-context{font-size:15px;line-height:1.5;margin:0;color:#4e6171}
.carrier-web .operation-fields{border:0;padding:0;background:#fff;margin:0}
.carrier-web .operation-fields .field{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px 0;border:0}
.carrier-web .operation-fields .k{font-size:15px;color:#243b50}
.carrier-web .operation-fields .v{display:block;padding:14px;border:1px solid #aebfce;border-radius:7px;font-size:18px;text-align:left;background:#f9fbfd}
.carrier-web .operation-button{position:static;margin:8px 0 0;width:100%;min-height:52px;border-radius:7px;background:#1264a3;font-size:18px}

/* 体験の判断：選択→確認。アプリ内の即時操作と区別する。 */
#app .phone .ask-wrap.decision-panel{background:#eaf0f6;border-top:1px solid #cbd6e2;padding:16px}
#app .phone .decision-panel .choice-instruction{display:none}
#app .phone .decision-panel .ask-h{font-size:calc(17px * var(--fs));text-align:left;margin:0 0 12px;color:#223951}
#app .phone .ask-wrap .decision-option{display:flex;align-items:center;gap:12px;padding:14px 16px;min-height:56px;border:2px solid #8c9bab;border-radius:10px;background:#fff;color:#1d3043;text-align:left;font-size:calc(17px * var(--fs));font-weight:600}
#app .phone .decision-option .lbl{flex:1;min-width:0}
.decision-circle{display:block;flex:0 0 22px;width:22px;height:22px;border:2px solid #6a7f94;border-radius:50%;background:white;box-sizing:border-box}
#app .phone .ask-wrap .decision-option.selected{border-color:#1264a3;background:#e3f1ff;box-shadow:0 0 0 1px #1264a3}
.decision-option.selected .decision-circle{border:6px solid #1264a3;background:white}
.decision-confirm{width:100%;min-height:52px;margin-top:14px;padding:12px 16px;border:0;border-radius:8px;background:#1264a3;color:#fff;font-size:calc(18px * var(--fs));font-weight:700;touch-action:manipulation}
.decision-confirm:disabled{background:#d7e0e8;color:#5c6d7e}
.decision-option:focus-visible,.decision-confirm:focus-visible{outline:3px solid #146fb7;outline-offset:3px}

.chat-operation-head,.finance-operation-head{display:flex;align-items:center;gap:12px;text-align:left!important;padding:14px 16px!important}
.chat-operation-head{background:#fff!important;color:#172536!important;border-bottom:1px solid #d5dfe8}
.chat-operation-head .chat-avatar,.call-operation-head .chat-avatar{width:40px;height:40px;flex:none;border-radius:50%;object-fit:cover}
.app-identity-text{font-size:18px;line-height:1.4;font-weight:700}
.app-identity-text small{display:block;font-size:13px;line-height:1.5;font-weight:400;opacity:.85;margin-top:2px}
.call-operation-head{text-align:center;padding:18px 16px!important;display:flex;align-items:center;flex-direction:column;gap:6px}
.call-operation-name{font-size:20px;font-weight:600;line-height:1.4}
.call-operation-status{font-size:14px;color:#d4dee8}
.finance-app-symbol{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:8px;background:rgba(255,255,255,.16);border:1px solid currentColor;font-size:14px}
.experience[data-kind="bank"] .finance-operation-head{background:#163c63;color:white}
.transfer-progress{display:flex;list-style:none;padding:0;margin:0 0 16px;gap:4px;counter-reset:transfer}
.transfer-progress li{counter-increment:transfer;flex:1;font-size:13px;text-align:center;color:#64778b;padding:10px 2px;border-bottom:3px solid #d6e0e9}
.transfer-progress li:before{content:counter(transfer) ' ';font-weight:700}
.transfer-progress li.current{color:#164f7f;border-color:#164f7f;font-weight:700}
body.in-play .carrier-web .fx-screen{background:#fff}
/* 過去の媒体別装飾より判断部品の指定を優先する。 */
#app .phone .ask-wrap.sheet.decision-panel{background:#eaf0f6;border-top:1px solid #cbd6e2;padding:16px}
#app .phone .ask-wrap.sheet.decision-panel .ask-h{font-size:calc(17px * var(--fs));font-weight:600;text-align:left;margin:0 0 12px}
#app .phone .ask-wrap.sheet .choices .decision-option{display:flex;align-items:center;gap:12px;padding:14px 16px;min-height:56px;font-size:calc(18px * var(--fs));line-height:1.5;font-weight:600;border:2px solid #879aad;border-radius:10px;background:#fff;color:#1d3043;text-align:left}
#app .phone .ask-wrap.sheet .choices .decision-option.selected{border-color:#1264a3;background:#e3f1ff;box-shadow:0 0 0 1px #1264a3}
#app .phone[data-surface="bank"] .field,#app .phone.bank-foreground .field,.experience[data-kind="bank"] .operation-fields .field{display:grid;grid-template-columns:minmax(70px,.65fr) minmax(0,1.35fr);align-items:start;gap:12px;padding:12px 0}
#app .phone[data-surface="bank"] .field .k,#app .phone.bank-foreground .field .k,.experience[data-kind="bank"] .operation-fields .field .k{font-size:calc(15px * var(--fs));line-height:1.5;color:#4d6277}
#app .phone[data-surface="bank"] .field .v,#app .phone.bank-foreground .field .v,.experience[data-kind="bank"] .operation-fields .field .v{font-size:calc(18px * var(--fs));line-height:1.5;text-align:left;overflow-wrap:anywhere;max-width:100%;min-width:0}

#app .phone.atm .atmpad-h{display:none}

/* v25: 媒体ごとの実在UIに合わせる。選択の操作系は共通のまま。 */
.app-icon{display:block;width:24px;height:24px;flex:none}
.interface-icon,.chat-header-menu{display:inline-flex;align-items:center;justify-content:center;flex:none;color:inherit}
.chat-header-menu{margin-left:auto;width:30px;height:36px;pointer-events:none}
#app .phone.line .pn-top,#app .phone[data-surface="dm"] .media-head,#app .phone[data-surface="group"] .media-head{background:#f5f6f8;color:#17212d;border-bottom:1px solid #d4d9df;padding:12px 16px;gap:12px;min-height:60px}
#app .phone.line .pn-top .nm{font-size:calc(18px * var(--fs));font-weight:700;line-height:1.3;flex:1}
#app .phone.line .pn-top .sub{font-size:12px;font-weight:400;color:#53616f;margin-top:4px}
#app .phone[data-surface="dm"],#app .phone[data-surface="group"],body.in-play .experience[data-kind="chat"] .fx-screen{background:#91adca}
#app .phone.line .msg{font-size:calc(18px * var(--fs));line-height:1.65;box-shadow:0 1px 1px #00000012;padding:12px 14px}
#app .phone.line .msg.them{border-radius:3px 17px 17px 17px;background:#fff}
#app .phone.line .msg.me{border-radius:17px 3px 17px 17px;background:#9de975}
#app .phone.line .msg-meta{font-size:12px;color:#263b51;line-height:1.45;margin-top:5px}
#app .phone .chat-avatar{overflow:hidden;border:1px solid #ffffff70}
.experience[data-kind="chat"] .operation-state{font-size:14px!important;font-weight:500!important;align-self:center;border-radius:20px;padding:6px 12px;background:#59799b;color:white;margin:0 0 12px}
.experience[data-kind="chat"] .operation-message{font-size:calc(18px * var(--fs));line-height:1.65;border:0;box-shadow:0 1px 1px #0001;padding:12px 14px;text-align:left}
.experience[data-kind="chat"] .operation-message.me{background:#9de975}
.message-time{display:block;font-size:11px;font-weight:400;color:#4a6074;margin-top:5px;text-align:right}
.experience[data-kind="chat"] .operation-button{background:#06a95b;color:#fff;border-radius:9px;font-size:calc(17px * var(--fs));border:0}
.group-member-preview{display:flex;justify-content:center;gap:8px;margin:18px 0}
.group-member-preview .chat-avatar{position:static!important;width:40px;height:40px;flex:none;border:2px solid white;border-radius:50%;overflow:hidden;background:#7895a9}
.group-member-preview .chat-avatar img{width:100%;height:100%;object-fit:cover}
.group-member-preview .chat-avatar svg{width:100%;height:100%}
.line-group-invite .operation-button{background:#06a95b!important}

/* 音声通話：連絡先、字幕、通話操作を別の領域として見せる。 */
#app .phone.ios-call:not(.bank-foreground):not(.emoney-foreground){background:linear-gradient(155deg,#34485b,#17222e 72%);color:#fff}
#app .phone.ios-call:not(.bank-foreground):not(.emoney-foreground) .pn-callhead{background:transparent;padding:20px 18px 14px}
#app .phone.ios-call .caller-avatar{display:block;width:48px;height:48px;border-radius:50%;margin:0 auto 8px;background:#708394;color:#e4edf4;overflow:hidden}
#app .phone.ios-call .caller-avatar svg{width:100%;height:100%}
#app .phone.ios-call:not(.bank-foreground) .pn-callhead .who{font-size:calc(21px * var(--fs));font-weight:500;margin:4px 0}
#app .phone.ios-call:not(.bank-foreground) .pn-callhead .st{font-size:14px;letter-spacing:.05em;color:#cdd9e4}
#app .phone.ios-call:not(.bank-foreground) .subtitle,#app .phone.video .subtitle{background:#ffffff0c!important;color:#fff;border:0!important;border-radius:8px;padding:14px 16px;font-size:calc(18px * var(--fs));line-height:1.65;box-shadow:none}
#app .phone.ios-call:not(.bank-foreground) .subtitle.me,#app .phone.video .subtitle.me{background:#ffffff19!important;border-left:3px solid #9dc6e6!important}
#app .phone.ios-call .subtitle .sp,#app .phone.video .subtitle .sp{color:#b8d3e8!important;font-size:13px;font-weight:500;margin:0 0 6px;display:block}
#app .phone.ios-call .pn-lower,#app .phone.video .pn-lower{display:flex;align-items:center;justify-content:center;gap:40px;background:transparent;padding:14px 18px}
#app .phone.ringing .pn-lower{display:block}
#app .phone .pn-callbtns{padding:0;margin:0;display:flex;justify-content:center}
#app .phone .pn-callbtns .cb{display:flex;align-items:center;justify-content:center;flex-direction:column;background:transparent;border-radius:0;font-size:12px;gap:5px;min-width:60px;min-height:60px}
#app .phone .pn-callbtns .control-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ffffff28;color:#fff}
#app .phone .pn-callbtns .cb-act .control-icon{background:#fff;color:#263544}
#app .phone .pn-end{display:grid;place-items:center;min-width:60px;min-height:60px;padding:0;margin:0}
#app .phone .pn-end .control-icon{display:grid;place-items:center;background:#ed454d;color:#fff;width:56px;height:56px;border-radius:50%}
#app .phone .pn-answer .control-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;margin:0 auto 10px;background:#ef454d;color:white}
#app .phone .pn-answer .acc .control-icon{background:#2ac568}
#app .phone .pn-answer .app-icon{width:30px;height:30px}
body.in-play .experience[data-kind="call"] .operation-head,body.in-play .experience[data-kind="call"] .fx-screen,body.in-play .experience[data-kind="dial"] .fx-screen,body.in-play .experience[data-kind="dial"] .operation-head{background:#223342}
.experience[data-kind="call"] .operation-message,.experience[data-kind="call"] .operation-message.me{border:0;background:#ffffff10;border-radius:8px;line-height:1.65;font-size:calc(18px * var(--fs))}
.experience[data-kind="call"] .operation-message.me{border-left:3px solid #9dc6e6;background:#ffffff18}
.call-operation-head .chat-avatar{background:#708394;color:#e4edf4;width:48px;height:48px;overflow:hidden}
.experience[data-kind="contacts"] .contact-row{display:flex!important;align-items:center;gap:14px;border:0!important;border-bottom:1px solid #dfe4e9!important;border-radius:0!important;box-shadow:none!important;padding:18px 0!important;text-align:left}
.contact-row .chat-avatar{position:static;width:40px;height:40px;flex:none;border-radius:50%;background:#e4eaf0;color:#718495}
.contact-row .chat-avatar svg{width:100%;height:100%}
.contact-row .contact-arrow{margin-left:auto}

/* 取引画面：数値と操作の階層。通話の字幕を帳票に混在させない。 */
#app .phone[data-surface="bank"] .media-head,.experience[data-kind="bank"] .finance-operation-head{background:#153d66!important;color:#fff!important}
#app .phone[data-surface="invest"] .media-head,.experience[data-kind="invest"] .finance-operation-head{background:#102d3b!important;color:#fff!important}
#app .phone[data-surface="bank"] .media-head .sub,#app .phone[data-surface="invest"] .media-head .sub{color:#d2e3f0}
#app .phone .media-badge,.finance-app-symbol{display:grid;place-items:center;width:36px;height:36px;border:0!important;background:transparent!important}
#app .phone[data-surface="bank"] .ui,#app .phone.bank-foreground .ui{border-radius:0;border:0;border-bottom:1px solid #d9e1e9;background:#fff;box-shadow:none}
#app .phone[data-surface="bank"] .ui-h{background:#f0f4f8;color:#153d66;padding:12px 16px;font-size:16px;border:0}
.experience[data-kind="bank"] .operation-fields{background:#fff;border:0;border-top:1px solid #d5dde5;border-bottom:1px solid #d5dde5;border-radius:0;padding:0}
.experience[data-kind="bank"] .operation-fields .field{border-bottom:1px solid #e5eaf0;padding:16px 0}
.experience[data-kind="bank"] .operation-state{font-size:calc(22px * var(--fs));color:#163954}
.experience[data-kind="bank"] .operation-button{background:#164f80;border-radius:6px;min-height:52px;font-size:calc(18px * var(--fs))}
.bank-amount-row{background:#fff;border:2px solid #557997;border-radius:6px;padding:4px 12px}
.bank-amount-row .bank-amount-input{border:0!important;box-shadow:none;font-variant-numeric:tabular-nums;text-align:right;font-size:30px}
.bank-entry-request{font-size:16px;line-height:1.6;background:#eef4f9;padding:12px;border-left:3px solid #648eaf}
#app .phone.atm .atmpad{border-radius:8px;border:2px solid #afc3d5;box-shadow:0 3px 0 #adc1d4}
#app .phone.atm .atmkey{border-radius:5px;font-variant-numeric:tabular-nums}
#app .phone.atm .callbar{background:#1c583f;border:0}

/* 現物：紙や訪問場面を文字だけの茶色い札で代用しない。 */
.physical-prop{margin:14px 0;background:#fff;border-radius:8px;overflow:hidden;color:#26313c}
.physical-prop img{display:block;width:100%;max-height:260px;object-fit:contain;background:#e6e2dc}
.physical-prop figcaption{padding:10px 14px;font-size:15px;line-height:1.5}
#app .phone.irl{background:#17232e}
#app .phone.irl .subtitle{background:#fff;border:0;border-radius:8px;color:#26313c;box-shadow:none;font-size:calc(18px * var(--fs))}
#app .phone.irl .subtitle.me{border-left:3px solid #7caccc;background:#eaf1f5}
#app .phone.irl .subtitle .sp{font-size:13px;color:#526b7a}
#app .phone.video .pn-video .selfv{background:#25303a;border:1px solid #80909c;border-radius:8px;font-size:11px}
#app .phone.safari .carrier-brand,.carrier-web .carrier-brand{font-size:20px;font-weight:800;letter-spacing:.04em;color:#086b98}
#app .phone.safari .ui.warn .ui-h{background:#fce9e6;color:#ac302d;border:0}
#app .phone.safari .field-in{margin:12px 0}
#app .phone.safari .field-in input{border:1px solid #9cabb7;border-radius:4px;background:#fff;min-height:48px;font-size:16px}
@media(prefers-reduced-motion:reduce){.media-enter{animation:none!important}}
.balance-breakdown{margin:22px 0 16px;border-top:1px solid #dce6e9}
.balance-breakdown>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #dce6e9;flex-wrap:wrap}
.balance-breakdown dt{color:#4e6572;font-size:calc(15px * var(--fs))}
.balance-breakdown dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums;font-size:calc(18px * var(--fs))}
.balance-breakdown>div:last-child dd{color:#116657}
#app .phone[data-surface="invest"] .investment-balance{border:0;border-radius:0;border-top:1px solid #d4e1e4}
#app .phone[data-surface="invest"] .investment-balance .balance-now{font-size:calc(32px * var(--fs));font-weight:700;letter-spacing:-.02em}
.operation-avatar .app-icon{width:40px;height:40px;margin:auto}
#app .phone.ios-call .pn-lower,#app .phone.video .pn-lower{flex-direction:row}
#app .phone.ringing .pn-lower{flex-direction:column}
#app .phone.bank-foreground .caller-avatar,#app .phone.emoney-foreground .caller-avatar{display:none}
#app .phone.bank-foreground:not(.bank-conversation){background:#f1f4f7}
#app .phone.bank-foreground .pn-callhead .who{font-size:14px!important;white-space:normal}
#app .phone[data-surface="feed"] .media-badge{color:#1c3044}
.pn-urlbar .aa{white-space:nowrap;flex:none;font-size:13px}
.chat-operation-head .chat-avatar{position:static!important;display:block;width:38px;height:38px;flex:0 0 38px;overflow:hidden;border-radius:50%}
.chat-operation-head .app-identity-text{min-width:0}
.chat-operation-head .chat-avatar svg,.chat-operation-head .chat-avatar img{width:100%;height:100%;object-fit:cover}
body.in-play .line-group-invite .fx-screen{background:#fff!important;color:#243440}
.line-group-invite .operation-state{background:transparent!important;color:#586b78!important}
.line-group-invite .group-profile{color:#243440}
.line-group-invite .group-avatar{background:#e1f5eb!important;color:#077848!important;border-radius:22px}
.reference-web .carrier-brand{color:#283b53;border-bottom:3px solid #283b53}
.reference-web .site-head{background:#f0f2f5}
.card-code-sms .operation-head{background:#f2f2f7!important;color:#202832!important;text-align:center;border-bottom:1px solid #d8dde4}
.card-code-sms .fx-screen{background:#fff!important}
.card-code-sms .operation-state{font-size:14px!important;color:#596a7c!important;text-align:center;font-weight:400}
.card-code-sms .operation-message{font-size:calc(18px * var(--fs));line-height:1.7;background:#e9e9eb!important;color:#202832;border-radius:18px!important;padding:14px 18px}
.card-code-sms .operation-message p{margin:0 0 14px}
.card-code-sms .operation-message p:last-child{margin:0}
.call-operation-head .chat-avatar{position:static!important}

/* v26: 投稿する欄と、体験の進行・判断の欄を分ける。 */
#app .phone.composing{display:flex;flex-direction:column;overflow:hidden}
#app .phone.composing .pn-upper{flex:none}
#app .phone.composing .pn-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
#app .phone.composing .pn-lower,#app .phone.composing .ask-wrap:empty{display:none}
#app .phone .reply-composer{flex:none;margin-top:auto;background:#fff;border-top:1px solid #c6cdd5;padding:12px 14px max(12px,env(safe-area-inset-bottom));max-height:45%;overflow-y:auto}
#app .phone .reply-composer .reply-prompt{color:#44566a;font-size:16px;margin:0 0 8px}
#app .phone .reply-composer .reply-option{background:#087a42;color:#fff;text-align:left;margin:6px 0 0;border-radius:8px;font-size:calc(17px * var(--fs));line-height:1.5}
#app .phone .experience-controls{background:#101c2c;border-top:3px solid #6682a4;padding:10px 14px}
#app .phone .experience-controls:has(.read-next)::before{content:'体験の進行';display:block;color:#acc4df;font-size:14px;font-weight:600;margin-bottom:6px}
#app .phone .experience-controls .read-next{background:transparent;border:1px solid #acc4df;color:#f4f7fc}
#app .phone .ask-wrap[data-control-owner="experience"]::before{content:'体験の選択';display:block!important;color:#53667b;font-size:14px;font-weight:700;margin-bottom:8px}
body.in-play .experience .operation-composer{flex:none;background:#fff;border-top:1px solid #bdc9d5;padding:12px 16px max(12px,env(safe-area-inset-bottom));max-height:45%;overflow-y:auto}
body.in-play .experience .operation-composer .reply-prompt{color:#43546a;font-size:16px;margin:0 0 8px}
body.in-play .experience .operation-composer .operation-button{position:static;margin:0;background:#087a42;color:#fff;box-shadow:none;font-size:calc(17px * var(--fs));text-align:left}
#app .phone .ask-wrap[data-control-owner="experience"]::before{position:static;inset:auto;transform:none;width:auto;height:auto;background:none;border:0;border-radius:0;box-shadow:none;text-align:left;line-height:1.5;padding:0;letter-spacing:normal}
/* v27: 相談中の読み進める操作も、電話アプリの操作に見せない。 */
body.in-play .experience .operation-guide{flex:none;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:#101c2c;border-top:3px solid #6682a4;max-height:44%;overflow-y:auto}
body.in-play .experience .operation-guide:not(:has(button)){display:none}
.operation-guide-label{font-size:14px;font-weight:600;color:#acc4df;margin-bottom:6px;text-align:left}
body.in-play .experience .operation-guide .operation-button{position:static;margin:0;background:transparent;color:#f4f7fc;border:1px solid #acc4df;box-shadow:none;min-height:52px;line-height:1.5}
body.in-play .experience.line-contact-profile .fx-screen{background:#fff!important;color:#172b42}
.contact-profile{padding:28px 0;text-align:center}
.contact-profile .chat-avatar{position:static!important;width:88px;height:88px;margin:0 auto 20px;font-size:42px}
.contact-profile h2{font-size:calc(22px * var(--fs));line-height:1.5;margin:0 0 12px}
.contact-profile p{font-size:calc(16px * var(--fs));line-height:1.6}

/* Keep each spoken turn readable inside the independently scrolling conversation. */
body.in-play .experience .fx-screen>.operation-message{flex-shrink:0}

.training-card.othercard{background:linear-gradient(130deg,#ead8b4,#d3bd96);color:#403b32;border:1px solid #b8a079}
/* 対面の会話はLINEの送信色を使わず、写真に続く字幕として示す。 */
body.in-play .experience.world-scene .operation-message{background:#fff!important;color:#213345!important;border:1px solid #c9d2dc;border-left:4px solid #657a91;border-radius:6px;max-width:100%;align-self:stretch}
body.in-play .experience.world-scene .operation-message.me{background:#e8eef5!important;border-left-color:#326598}
.contact-profile{flex:none}
.contact-profile .chat-avatar{display:block;flex:none}

/* v28: 着信と通話中を別状態にし、各操作を一つだけ表示する。 */
#app .phone.ios-call.ringing{display:flex;flex-direction:column;min-height:100%;background:linear-gradient(160deg,#283945,#101b26)}
#app .phone.ios-call.ringing .pn-upper{flex:none;background:transparent}
#app .phone.ios-call.ringing .pn-callhead{padding:clamp(24px,6vh,54px) 18px 16px;background:transparent}
#app .phone.ios-call.ringing .caller-avatar{width:64px;height:64px;margin:0 auto 20px}
#app .phone.ios-call.ringing .pn-callhead .who{font-size:clamp(24px,6.3vw,32px);line-height:1.3;overflow-wrap:anywhere;text-decoration:none}
#app .phone.ios-call.ringing .pn-body{flex:1;min-height:28px;background:transparent;padding:0}
#app .phone.ios-call.ringing .pn-lower{display:block;flex:none;margin:0;padding:20px 18px max(36px,env(safe-area-inset-bottom));background:transparent}
#app .phone.ringing .pn-callbtns,#app .phone.ringing .pn-end{display:none!important}
#app .phone.ringing .ask-wrap:empty{display:none}
#app .phone.ringing .pn-answer{display:flex;justify-content:space-around;gap:24px;margin:0;padding:0;background:transparent}
#app .phone.ringing .pn-answer .cb{flex:1;min-width:0;font-size:18px;line-height:1.4;gap:8px}
#app .phone.ringing .pn-answer .control-icon{width:68px;height:68px;margin-bottom:4px}

#app .phone .pn-end{display:flex;flex-direction:column;gap:5px;background:transparent;border:0}
#app .phone .pn-end .end-label{font-size:12px;line-height:1.4;color:#fff}
#app .phone .skipbox:not(:has(.read-next)):not(:has(.skip:not([hidden]))){display:none}
#app .phone.ios-call:not(.bank-foreground):not(.emoney-foreground) .pn-body{background:transparent}

/* v29: 下に続く判断操作を見つけるための、体験側の案内。 */
#app .choice-navigation{position:absolute;bottom:0;left:0;right:0;z-index:35;background:#101c2c;border-top:2px solid #6682a4;padding:7px 14px max(10px,env(safe-area-inset-bottom));color:#c2d5ec}
#app .choice-navigation[hidden]{display:none}
#app .choice-navigation>span{display:block;font-size:13px;line-height:1.4;margin-bottom:4px}
#app .choice-navigation>button{display:block;width:100%;min-height:48px;background:transparent;border:1px solid #acc4df;border-radius:8px;color:#fff;font:inherit;font-size:18px;font-weight:700;padding:8px 10px}
body.in-play #app .phone.has-choice-navigation{padding-bottom:94px!important}

/* v33: アプリの操作と体験ガイドを分け、次の操作をスクロールの外に保つ。 */
body.in-play .experience .native-actions{flex:none;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #d4dde4;background:#fff;max-height:40%;overflow-y:auto}
body.in-play .experience .native-actions:empty,body.in-play .experience .operation-guide:has(>.operation-guide-label:only-child){display:none}
body.in-play .experience .native-actions .operation-button{margin:0;width:100%}
body.in-play .experience[data-kind="chat"] .native-actions{background:#fff}
body.in-play .experience[data-kind="invest"] .native-actions{background:#f7fbfb}
body.in-play .experience.world-scene .native-actions{background:#101c2c;border-top:2px solid #6682a4}
body.in-play .fx.media-handoff{display:flex;align-items:center;justify-content:center;background:#081423;padding:24px 20px;overflow:auto;box-sizing:border-box}
.handoff-panel{width:100%;margin:auto;color:#f3f7fc}
.handoff-label{font-size:14px;letter-spacing:.03em;color:#a7c5e8;margin:0 0 20px}
.handoff-panel h2{font-size:calc(24px * var(--fs));line-height:1.4;margin:0 0 18px}
.handoff-reason{font-size:calc(18px * var(--fs));line-height:1.7;margin:0 0 28px}
.handoff-panel .operation-button{width:100%;min-height:52px;padding:14px;border:1px solid #82b4e5;border-radius:8px;background:#1764aa;color:#fff;font:inherit;font-weight:700;line-height:1.5}
/* 通話が始まったら番号の大きな着信表示を縮め、相手と会話を主役にする。 */
#app .phone.ios-call:not(.ringing):not(.bank-foreground):not(.emoney-foreground) .pn-callhead{position:relative;text-align:left;padding:12px 14px 12px 66px;min-height:78px;box-sizing:border-box}
#app .phone.ios-call:not(.ringing) .pn-callhead .caller-avatar{position:absolute;left:14px;top:16px;width:36px;height:36px;margin:0}
#app .phone.ios-call:not(.ringing) .pn-callhead .who{font-size:16px;line-height:1.4;margin:0}
#app .phone.ios-call:not(.ringing) .pn-callhead .who-sub{display:none}
#app .phone.ios-call:not(.ringing) .pn-callhead .st{font-size:13px;line-height:1.5;margin:2px 0}
.current-speaker{font-size:16px;line-height:1.5;color:#e2edf7}
.phone.ringing .current-speaker{display:none}
#app .phone.ios-call:not(.ringing) .pn-lower{padding:8px 16px;gap:30px}
#app .phone.ios-call:not(.ringing) .pn-lower .control-icon{width:44px;height:44px}
#app .phone.ios-call:not(.ringing) .pn-end{min-height:44px}
#app .phone .choice-instruction{display:none}
#app .phone .ask-h{margin-top:0}
@media(max-height:650px){body.in-play .experience .finance-operation-head{padding:10px 14px}body.in-play .experience .operation-state{margin-top:12px}body.in-play .experience .experience-call{padding:8px 12px;font-size:16px}}

/* 対面の最初の発言では訪問者の写真を飛ばさず、同じ画面で確かめられる。 */
body.in-play .experience.world-conversation .operation-head{padding:12px 16px;font-size:20px}
body.in-play .experience.world-conversation .world-photo{max-height:24dvh}
body.in-play .experience.world-conversation .operation-state{font-size:calc(20px * var(--fs));margin:4px 0 12px}
body.in-play .experience.world-conversation .operation-message{padding:14px;margin-top:12px}
body.in-play .experience.world-conversation .message-speaker{font-size:16px;line-height:1.5}

/* v34: 聞き直しは進行ボタンと分け、再生中の1件だけを表示する。 */
.replay-stop{display:block;min-height:44px;margin-top:8px;padding:8px 14px;border:1px solid #9daebb;border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:16px}
body[data-view="intro"] #app{padding-bottom:calc(112px + env(safe-area-inset-bottom))}
.intro-actions{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:650px;box-sizing:border-box;padding:12px 18px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #cbd5df;z-index:30}
.intro-actions .btn{width:100%;min-height:52px}
.bank-entry-help{font-size:16px;line-height:1.6;color:#344d61;margin:10px 0 16px}
.bank-amount-input::placeholder{font-size:20px;color:#667886;opacity:1}

/* v35: 読み進める操作を会話本文から外し、半透明の下部パネルに固定。 */
#app .phone .skipbox:has(.read-next){position:fixed;bottom:0;right:auto;z-index:25;box-sizing:border-box;max-height:40dvh;overflow-y:auto;margin:0;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:rgba(14,30,46,.9);color:#fff;border-top:1px solid rgba(178,202,225,.6);box-shadow:0 -4px 16px rgba(12,25,40,.1);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#app .phone .experience-controls:has(.read-next)::before{display:none;content:none}
#app .phone.has-reading-dock{padding-bottom:calc(var(--reading-dock-height,100px) + 16px)!important;scroll-padding-bottom:calc(var(--reading-dock-height,100px) + 16px)}
#app .phone .skipbox .read-next{margin:0;width:100%;min-height:52px;background:#fff;color:#173d62;border:1px solid #b5cee5;border-radius:10px;font-size:calc(17px * var(--fs));line-height:1.5;padding:12px 16px;box-sizing:border-box}
#app .phone .ask-wrap:empty{display:none!important}
#app .phone:not(.choosing) .ask-wrap[data-control-owner="experience"]::before{display:none!important;content:none}
body.in-play .experience .operation-guide{background:rgba(14,30,46,.9);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid rgba(178,202,225,.6)}
body.in-play .experience .operation-guide-label{display:none}
body.in-play .experience .operation-guide .operation-button{background:#fff;color:#173d62;border:1px solid #b5cee5;font-size:calc(17px * var(--fs));padding:12px 16px}

/* v36: 電話と機械を文字付きで明示。入力DOMは保持して戻れる。 */
#app .machine-switch{display:flex;gap:8px;padding:10px;background:#edf2f7;position:relative;z-index:15}
#app .machine-switch button{flex:1;min-height:48px;border:2px solid #22689c;border-radius:8px;background:white;color:#16496f;font-size:16px;font-weight:700;padding:8px;touch-action:manipulation}
#app .machine-switch button[aria-pressed=true]{background:#155d99;color:white}
#app .phone.atm .pn-upper:after{display:none!important}
#app .phone[data-machine-view=phone] .pn-body>.ui,#app .phone[data-machine-view=phone] .atmpad,#app .phone[data-machine-view=phone] .atm-poster,#app .phone[data-machine-view=phone] .ask-wrap,#app .phone[data-machine-view=phone] .bank-fronthead{display:none!important}
#app .phone[data-machine-view=phone] .pn-body>.subtitle.latest{display:block!important}
#app .phone[data-machine-view=phone] .pn-body>.subtitle.old{display:none!important}
#app .phone[data-machine-view=machine] .pn-body>.subtitle{display:none!important}
#app .phone[data-machine-view=machine] .pn-body>.ui,#app .phone[data-machine-view=machine] .atmpad,#app .phone[data-machine-view=machine] .atm-poster{display:block!important}
#app .phone[data-machine-view=machine] .pn-body{background:#eef3f7!important}
#app .phone[data-machine-view=machine] .bank-fronthead{display:block!important}
#app .phone.bank-foreground .pn-callhead{display:flex!important;flex-wrap:wrap;padding:8px 12px!important;gap:6px 12px!important;min-height:0!important}
#app .phone.bank-foreground .pn-callhead .current-speaker{font-size:16px!important}
#app .phone.bank-foreground .pn-callhead .caller-number{font-size:16px!important}
#app .phone.bank-foreground .bank-fronthead{padding:12px;font-weight:700;background:white;color:#174267}
#app .phone.bank-foreground .pn-callhead .who,#app .phone.bank-foreground .pn-callhead .who-sub{display:none!important}
#app .phone.bank-foreground .pn-callhead .current-speaker{order:0;margin:0!important;flex:1}
#app .phone.bank-foreground .pn-callhead .st{order:1;font-size:16px!important;margin:0!important}
#app .phone.bank-foreground .ui[data-bank]>.ui-h{font-size:18px;padding:12px}
#app .phone.bank-foreground .ui[data-bank] .operation-context{font-size:16px;margin:0 0 12px}
#app .phone.bank-foreground .ui[data-bank] .field{padding:12px 0}
#app .phone.bank-foreground .ui[data-bank] .field .v{font-size:20px}
#app .phone[data-machine-view=phone] .transfer-progress{display:none}

/* v37: 通話を遮らない状況補足と、字幕が指す書類の同時表示。 */
#app .scene-context{font-size:calc(15px * var(--fs));line-height:1.6;border-left:3px solid #7392aa;padding:10px 12px;margin:12px 0;background:#263948;color:#e6edf5}
#app .phone.showing-evidence .pn-upper{position:sticky;top:0;z-index:14;background:#13212d}
#app .call-evidence{padding:8px 12px;background:#263644;position:relative}
#app .call-evidence>img{display:block;width:100%;height:300px;max-height:44dvh;object-fit:contain}
#app .shared-warrant{background:#faf7ee;color:#152432;padding:10px 14px;border:1px solid #d8d0bd;border-radius:3px}
#app .shared-warrant small{font-size:11px;color:#53606b}
#app .shared-warrant h2{font-size:24px;margin:2px 0 8px;text-align:center}
#app .shared-warrant-field{display:flex;gap:12px;justify-content:space-between;font-size:15px;line-height:1.5;border-top:1px solid #cbc8bd;padding:5px 0}
#app .shared-warrant-field strong{text-align:right}
#app .evidence-enlarge{display:block;margin:6px 0 0 auto;min-height:44px;padding:8px 14px;border:1px solid #aac0d2;border-radius:6px;background:#edf4fa;color:#173b57;font-size:15px}
#app .phone.showing-evidence .subtitle.old{display:none!important}
#app .phone.showing-evidence .subtitle.latest{margin-top:12px}
@media(max-height:650px){#app .shared-warrant{padding:5px 10px}#app .shared-warrant h2{font-size:20px;margin:0 0 3px}#app .shared-warrant-field{font-size:14px;padding:3px 0}}

/* v40: 数字キーまでスクロールしても入力金額を確認できる。 */
#app .machine-input-total{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:#fff;color:#113e66;border-bottom:2px solid #b8ccdf}
#app .machine-input-total span{font-size:14px;line-height:1.4}
#app .machine-input-total strong{font-size:24px;white-space:nowrap;font-variant-numeric:tabular-nums}
#app .phone:not(.choosing) .machine-input-total,#app .phone[data-machine-view=phone] .machine-input-total{display:none}

/* ===== 段3b（2026-09-23）：上帯・移動・場所・結末のお金（play.js）。既存の部品の色・大きさは変えない ===== */
.phone.play-screen{display:flex; flex-direction:column}
.phone.app-screen{background:#f5f7fa; color:#111}
.appbar{flex:none; display:flex; flex-direction:column; gap:2px; padding:8px 14px 8px; background:#fff; color:#111; border-bottom:1px solid #d9dee4; min-height:56px}
.phone.dark .appbar{background:rgba(0,0,0,.55); color:#fff; border-bottom-color:rgba(255,255,255,.18)}
.phone.line .appbar{background:#fff}
.phone.atm .appbar{background:#0d3f75; color:#fff; border-bottom-color:#0a2f57}
.appbar-medium{font-size:calc(12px * min(var(--fs),1.2)); font-weight:700; letter-spacing:.06em; opacity:.8}
.appbar-main{display:flex; align-items:center; gap:10px; min-width:0}
.appbar .chat-avatar.appbar-avatar{position:static!important; left:auto; top:auto; transform:none; flex:0 0 36px; width:36px; height:36px}
.appbar-text{display:flex; flex-direction:column; min-width:0}
.appbar-party{font-size:calc(17px * min(var(--fs),1.3)); line-height:1.3; overflow-wrap:anywhere}
.appbar-status{font-size:calc(13px * min(var(--fs),1.2)); opacity:.85; line-height:1.35}
.appbar-keep{flex:none; padding:6px 14px; font-size:calc(13px * min(var(--fs),1.2)); background:#e8f3ea; color:#154a22; border-bottom:1px solid #c6dfcb}
.phone.dark .appbar-keep{background:#1f3a26; color:#e3f5e7; border-bottom-color:#2c5536}
.phone .play-photo{margin:0; border-radius:12px; overflow:hidden; flex:none}
.phone .play-photo img{display:block; width:100%; height:auto; max-height:34vh; object-fit:contain; background:#000}
.phone .play-narr{align-self:center; max-width:92%; text-align:center}
.phone .ask-wrap.play-ask{flex:none; max-height:62%; overflow-y:auto; padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px))}
.phone .ask-wrap.play-ask .btn{width:100%; min-height:52px; text-align:left}
.phone .ask-wrap.play-ask .btn + .btn{margin-top:8px}
.play-foot{margin-top:10px}
.play-reread{width:100%; min-height:48px; border:1px solid #9aa9b8; border-radius:8px; background:transparent; color:inherit; font-size:calc(14px * min(var(--fs),1.3))}
.play-dock{flex:none; padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px)); background:rgba(255,255,255,.96); border-top:1px solid #d4dde4}
.phone.dark .play-dock{background:rgba(16,28,44,.96); border-top-color:#435a75}
.play-dock .operation-button{width:100%; min-height:56px; margin:0}
.play-dock .operation-button.play-act{font-size:calc(18px * min(var(--fs),1.3)); font-weight:700; line-height:1.4; padding:12px 16px; border:0; border-radius:12px; background:#1f5fae; color:#fff}   /* 移動・場所の画面の1つのボタン（段3b） */
.place-card{display:flex; flex-direction:column; gap:10px; background:#fff; color:#111; border-radius:14px; padding:12px; box-shadow:0 1px 3px rgba(0,0,0,.18)}
.place-photo{margin:0; border-radius:10px; overflow:hidden}
.place-photo img{display:block; width:100%; height:auto; max-height:38vh; object-fit:cover}
.place-caption{margin:0; font-size:calc(17px * var(--fs)); line-height:1.6; font-weight:600}
.phone .play-pad{align-self:stretch}
.play-op .play-gate, .play-op .play-pre{font-weight:600}
.play-section{display:flex; flex-direction:column; gap:8px; padding-bottom:10px; border-bottom:1px solid #dde3ea}
.play-section-title{margin:0; font-size:calc(16px * var(--fs))}
.fx.play-history .fx-box{max-width:420px; max-height:82vh; display:flex; flex-direction:column; text-align:left}
.play-history-title{margin:0 0 10px; font-size:calc(18px * var(--fs))}
.play-history-list{flex:1 1 auto; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:8px; margin-bottom:12px}
.play-history-row{display:flex; flex-direction:column; gap:2px; padding:8px 10px; border-radius:8px; background:rgba(255,255,255,.08)}
.play-history-row.me{background:rgba(199,154,27,.18)}
.play-history-who{font-size:calc(12px * var(--fs)); font-weight:700; opacity:.8}
.play-history-text{font-size:calc(16px * var(--fs)); line-height:1.6}
.play-history-close{width:100%; min-height:52px}

/* 段3b-2：写真は枠いっぱい（黒い帯を出さない）。会話 180px・移動と場所 220px まで。結末は今のまま */
#app .phone .play-photo{background:none}
#app .phone .play-photo img{width:100%; height:180px; max-height:none; object-fit:cover; background:none}
#app .phone .play-photo.play-photo-move img{height:220px}
#app .place-card .place-photo{margin:0; border-radius:10px; overflow:hidden}
#app .place-card .place-photo img{display:block; width:100%; height:220px; max-height:none; object-fit:cover}

/* 段3b-3：選択肢が下にはみ出す時の固定の案内（v40 の .more-below と同じ色・線） */
.play-more-below{position:fixed; left:50%; transform:translateX(-50%); bottom:0; width:min(100%,430px); z-index:14000; min-height:48px; padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px)); border:0; border-top:1px solid #a6b6c9; background:#e7eef7; color:#183d69; font:inherit; font-size:calc(17px * min(var(--fs),1.3)); font-weight:700; line-height:1.4; text-align:center; box-shadow:0 -4px 12px rgba(0,0,0,.12)}
body.framed .play-more-below{width:390px; max-width:100%}
.play-more-below[hidden]{display:none}

/* 段3b-4：ATM・銀行アプリを電話をつないだまま操作する時の通話中の帯（画面の上に固定・下の操作は帯の高さ分下げる＝帯は流れの中の1段） */
.op-callband{flex:none; display:flex; flex-direction:column; gap:4px; padding:8px 12px 10px; background:#17412a; color:#fff; border-bottom:1px solid #0e2a1b}
.op-callband-head{display:flex; align-items:center; gap:8px; font-size:calc(14px * min(var(--fs),1.2))}
.op-callband-icon .app-icon{width:18px; height:18px}
.op-callband-party{flex:1 1 auto; min-width:0; font-weight:700; overflow-wrap:anywhere}
.op-callband-time{font-variant-numeric:tabular-nums; opacity:.9}
.op-callband-lines{display:flex; flex-direction:column; gap:4px}
.op-callband-line{margin:0; font-size:calc(15px * min(var(--fs),1.3)); line-height:1.45; opacity:.72}
.op-callband-line:last-child{opacity:1}
.op-callband-line.me{color:#ffe7a3}
.op-callband-who{display:block; font-size:calc(12px * min(var(--fs),1.2)); font-weight:700; opacity:.85}
.fx.with-callband .fx-box{display:flex; flex-direction:column}
.phone .pn-body > .op-callband{margin:-8px -8px 4px; border-radius:0}
.play-tell{background:#fff !important; color:#17412a !important; border:2px solid #17412a !important}
.op-callband, .op-callband-head{text-align:left}
.op-callband-head{justify-content:flex-start}
#app .phone.play-screen.showing-evidence .play-photo{display:none}

/* 段3b-5（2026-09-23）：v40 の画面に戻した部品の足り分。読み返し＝白地に濃い文字（相手は左・本人は右）。SNS 広告＝本文と「いいね」の列 */
.fx.play-history .fx-box{background:#fff; color:#111}
.play-history-title{color:#172536}
.play-history-row{align-self:flex-start; max-width:86%; background:#eef1f5; color:#111; border-radius:14px; padding:8px 12px}
.play-history-row.me{align-self:flex-end; background:#d6f0c2; color:#111}
.play-history-row.narr{align-self:center; background:#f5f5f5; color:#333; font-size:.95em}
.play-history-who{color:#3d4b5c; opacity:1}
.play-history-row.me .play-history-who{color:#2c4a1c}
.play-history-text{color:#111}
#app .phone .feed-ad .ad-body{margin:0; padding:0 16px 12px; font-size:calc(16px * var(--fs)); line-height:1.55; color:#1f2a36}
#app .phone .feed-ad .feed-person{position:relative}
#app .phone .feed-ad .feed-more{margin-left:auto; color:#667; font-size:20px; line-height:1}
#app .phone .feed-actions{display:flex; justify-content:space-around; padding:10px 8px 12px; border-top:1px solid #e3e7ec; color:#4a5866; font-size:calc(14px * min(var(--fs),1.2))}
#app .phone .feed-ad .ad-destination{display:flex; flex-direction:column; gap:4px; padding:12px 16px}
#app .phone .feed-ad .ad-destination small{color:#5b6773; font-size:13px}
#app .phone .feed-ad .ad-destination strong{font-size:calc(16px * var(--fs)); color:#1b2733}
#app .phone .feed-ad .ad-destination .ad-cta{margin-top:8px}
#app .phone .chat-invitation.play-dock{flex:none; border-top:1px solid #cbd5df; background:#fff}
/* 段3b-5：文字のコントラスト 4.5 以上（移動の一言・古い吹き出しの時刻・LINE の緑のボタン）。色の系統は v40 のまま濃さだけ上げた */
#app .phone.line .narr, #app .phone.line .play-narr{background:rgba(12,28,48,.72); color:#fff}
#app .phone[data-surface="bank"] .play-narr, #app .phone[data-surface="invest"] .play-narr, #app .phone.app-screen .play-narr, #app .phone.irl .play-narr{background:#33475e; color:#fff}
#app .phone.line .msg-row.old .msg-meta{color:#1f344b !important}
.line-group-invite .operation-button, body.in-play .line-group-invite .operation-button, .experience[data-kind="chat"] .operation-button{background:#087544!important; color:#fff!important}
/* 段3b-5：場所の画面（v40 の world-scene）の写真は枠いっぱい（段3b-2 の黒帯0 を保つ）。人物・手元が切れないよう中央よりやや上 */
body.in-play .fx.play-place .world-photo{background:none}
body.in-play .fx.play-place .world-photo{height:220px;aspect-ratio:auto;max-height:40dvh}
body.in-play .fx.play-place .world-photo img{display:block; width:100%; height:100%; max-height:none; object-fit:cover; object-position:50% 35%}
/* 段3b-5：残りのコントラスト（4.5 以上）。いまの道の帯・入力欄の飾り・連絡先の矢印・通話中の振込の段 */
#app .phone .route-note{background:#3a3a3c}
#app .phone .pn-input .ic2{color:#6d6d72} #app .phone .pn-input .ph{color:#636366}
#app .contact-row .contact-arrow, .fx .contact-row .contact-arrow{color:#4f5d6b}
#app .phone.dark .transfer-progress li, .fx .phone.dark .transfer-progress li{color:#c9d6e3} #app .phone.dark .transfer-progress li.current{color:#fff; border-color:#fff}
#app .experience .message-time, .fx .message-time{color:#4a5a6a}
/* 段3b-6：資産照会の板（v40 と同じ白地） */
body.in-play .fx .ui.investment-balance{background:#fff!important; color:#111!important; border:0; border-radius:4px}
body.in-play .fx .ui.investment-balance .ui-h{background:#f1f3f5!important; color:#333!important; border-bottom:2px solid #333}
body.in-play .fx .ui.investment-balance .balance-caption, body.in-play .fx .ui.investment-balance dt{color:#4a5563!important}
body.in-play .fx .ui.investment-balance .balance-now, body.in-play .fx .ui.investment-balance dd{color:#111!important}
body.in-play .fx .ui.investment-balance dl div:last-child dd{color:#1d6b45!important}
/* 段3b-6：ビデオ通話の相手の映像は画面の高さの3割まで（顔は切らない・丸ボタンと返事の欄を画面内に残す） */
/* 段3b-6：通話・ビデオ通話は丸ボタンと赤い終了を常に画面内に（本文の段だけが動く・選ぶ板は下で最大55%） */
#app .phone.play-screen.ios-call:not(.ringing), #app .phone.play-screen.video{display:flex!important; flex-direction:column!important; overflow:hidden!important}
#app .phone.play-screen.ios-call:not(.ringing) > .pn-body, #app .phone.play-screen.video > .pn-body{flex:1 1 auto!important; min-height:60px; overflow-y:auto!important}
#app .phone.play-screen.ios-call:not(.ringing) > .pn-upper, #app .phone.play-screen.video > .pn-upper, #app .phone.play-screen.ios-call > .pn-lower, #app .phone.play-screen.video > .pn-lower, #app .phone.play-screen.ios-call > .skipbox, #app .phone.play-screen.video > .skipbox{flex:none!important}
#app .phone.play-screen.ios-call > .ask-wrap.sheet, #app .phone.play-screen.video > .ask-wrap.sheet{flex:none!important; max-height:55%!important; overflow-y:auto!important}
#app .phone.play-screen.ios-call.choosing > .pn-body, #app .phone.play-screen.video.choosing > .pn-body{min-height:120px}
#app .phone.play-screen.ios-call > .ask-wrap.sheet, #app .phone.play-screen.video > .ask-wrap.sheet{max-height:50%!important}

/* ===== 段3d（2026-09-23・設計書 段3_設計書_直し_v2.md）===== */
/* R1：通話の字幕も前のやり取りを残す（トークの続き）。ATM の数字キーの間と、手帳を見せている間だけは今の1行 */
#app .phone.play-screen:not(.showing-evidence):not(.atm.choosing) .pn-body>.subtitle.old{display:block!important;font-size:calc(16px * var(--fs));line-height:1.55;opacity:1}
#app .phone.play-screen.ios-call .pn-body>.subtitle.old,#app .phone.play-screen.video .pn-body>.subtitle.old{background:rgba(255,255,255,.06)!important;color:#dbe5ee}
/* 本人の行動（言葉の無い選択肢）＝本人の側の札。状況の説明ではない */
.play-me-act{align-self:flex-end;max-width:86%;margin:6px 0 6px auto;padding:8px 12px;border:1.5px dashed #6d8aa5;border-radius:12px;background:#fff;color:#1d3247;font-size:calc(15px * var(--fs));line-height:1.5;display:flex;flex-direction:column;gap:2px}
.play-me-act-h{font-size:12px;font-weight:700;color:#4a6581}
.phone.dark .play-me-act{background:#1d3043;color:#eaf1f7;border-color:#8fb0cc}
.phone.dark .play-me-act-h{color:#b9cfe2}
/* アプリ自身の表示（通話を終了しました・残高が確認できません 等）と体験用の注記 */
.play-sys{align-self:center;margin:6px auto;padding:6px 14px;border-radius:14px;background:#e3e8ee;color:#243447;font-size:calc(15px * var(--fs));line-height:1.5;text-align:center;max-width:92%}
.play-label{margin:4px 0;color:#4d5b69;font-size:calc(14px * var(--fs));line-height:1.5}
.fx.world-scene .play-sys{background:#f3ece2;color:#3a2f22}
/* R3：状況の説明のポップアップ（後ろのアプリが薄く透ける・2026-09-17 の決まり） */
body.in-play .fx.play-situ{background:rgba(12,22,34,.46)!important;-webkit-backdrop-filter:none;backdrop-filter:none;display:flex;align-items:center;justify-content:center;padding:24px;z-index:16000}
.play-situ-card{width:100%;max-width:340px;background:#fff;color:#16222e;border-radius:16px;padding:20px 20px 16px;box-shadow:0 10px 30px rgba(0,0,0,.28);text-align:left}
.play-situ-h{margin:0 0 10px;font-size:14px;font-weight:700;color:#8a5a00;letter-spacing:.06em}
.play-situ-text{margin:0 0 10px;font-size:calc(18px * var(--fs));line-height:1.65;color:#16222e}
.play-situ-close{display:block;width:100%;min-height:52px;margin-top:8px;border:0;border-radius:12px;background:#1f5fae;color:#fff;font:inherit;font-size:calc(17px * min(var(--fs),1.3));font-weight:700}
/* 移動：アプリのいまの表示・リンクの吹き出し・トーク一覧・通知 */
.play-appidle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin:0;min-height:60vh;background:#fff;color:#33475e;text-align:center;border-radius:0}
.play-appidle-icon{width:44px;height:44px}
.play-appidle-name{font-size:calc(18px * var(--fs))}
.play-appidle-status{font-size:calc(15px * var(--fs));color:#51647a}
.play-linkrow{display:flex;align-items:flex-start}
.play-linkcard{display:flex;flex-direction:column;max-width:78%;background:#fff;border:1px solid #cfd8e2;border-radius:14px;overflow:hidden;color:#16222e}
.play-linkcard img{display:block;width:100%;height:110px;object-fit:cover}
.play-linkcard-text{display:flex;flex-direction:column;gap:2px;padding:10px 12px}
.play-linkcard-text strong{font-size:calc(16px * var(--fs))}
.play-linkcard-url{font-size:13px;color:#1d5fb4;word-break:break-all}
.play-linkcard.play-live{outline:3px solid #1f5fae;outline-offset:2px;cursor:pointer}
.play-linkdock .play-linkdock-h{margin:0 0 8px;font-size:calc(15px * var(--fs));color:#26394d}
.play-linkdock .play-linkcard-open{width:100%;min-height:52px;border:0;border-radius:12px;background:#1f5fae;color:#fff;font:inherit;font-size:calc(17px * min(var(--fs),1.3));font-weight:700}
body.in-play .fx.play-talklist{background:#fff!important;-webkit-backdrop-filter:none;backdrop-filter:none;display:block;padding:0;overflow-y:auto}
.play-talklist-box{background:#fff;color:#111;min-height:100%}
.play-talklist-head{padding:14px 16px;border-bottom:1px solid #e3e7ec;font-size:calc(20px * var(--fs))}
.play-talklist-rows.play-dock{background:#fff;border:0;padding:0}
.play-talkrow{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 16px;border:0;border-bottom:1px solid #eef1f4;background:#fff;color:#111;font:inherit;text-align:left}
.play-talkrow .chat-avatar,.play-talkrow>span:first-child{flex:none}
.play-talkrow-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.play-talkrow-text strong{font-size:calc(17px * var(--fs))}
.play-talkrow-pre{font-size:calc(14px * var(--fs));color:#4b5a69;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.play-talkrow-badge{flex:none;min-width:24px;height:24px;border-radius:12px;background:#15803d;color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center}
.play-talkrow.play-act{background:#f2fbf5}
.play-notify-wrap.play-dock{position:fixed;top:52px;left:50%;transform:translateX(-50%);width:min(calc(100% - 16px),414px);z-index:15500;background:transparent;border:0;padding:0}
.play-notify{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:12px 14px;border:0;border-radius:16px;background:rgba(245,247,250,.98);color:#111;box-shadow:0 8px 24px rgba(0,0,0,.25);font:inherit;text-align:left}
.play-notify-top{display:flex;justify-content:space-between;width:100%;font-size:13px;color:#4b5a69}
.play-notify-app{font-weight:700;color:#06a44a}
.play-notify-who{font-size:calc(16px * var(--fs))}
.play-notify-text{font-size:calc(15px * var(--fs));line-height:1.45;color:#1f2d3a}
.play-notify-hint{display:inline-block;margin:8px 4px 0;padding:6px 10px;border-radius:10px;background:#fff;color:#1d3247;font-size:calc(15px * var(--fs));box-shadow:0 2px 8px rgba(0,0,0,.18)}
body.in-play .fx.play-talklist{top:44px!important}
/* R6：［下にも選べる行動があります］の帯の高さぶん、板の下を空ける（帯の下に最後のボタンが隠れない） */
#app .phone.has-more-below .ask-wrap.sheet,#app .phone.has-more-below .dialogue-replies{padding-bottom:84px!important}
/* R7：一時停止中の表示 */
.pause-veil{position:fixed;inset:0;z-index:19000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:0;background:rgba(10,18,28,.72);color:#fff;font:inherit;cursor:pointer}
.pause-veil-h{font-size:calc(26px * min(var(--fs),1.3))}
.pause-veil-sub{font-size:calc(18px * min(var(--fs),1.3))}
/* R6：通話の画面で選ぶ・返す間は丸ボタンの段を下げる（［電話を切る］は選ぶ板の中にある）。本文の段に直前の台詞が入るように */
#app .phone.play-screen.ios-call.choosing > .pn-lower,#app .phone.play-screen.video.choosing > .pn-lower,
#app .phone.play-screen.ios-call.replying > .pn-lower,#app .phone.play-screen.video.replying > .pn-lower{display:none!important}
#app .phone.play-screen.ios-call > .ask-wrap.sheet,#app .phone.play-screen.video > .ask-wrap.sheet{max-height:none!important;flex:0 1 auto!important;min-height:0}
/* R6：ATM で選ぶ間も、電話の相手の直前の1行は見せる（数字キーの盤の間は上の帯に出ている）。盤の間は本人の行動の札も下げる */
#app .phone.play-screen.atm.choosing:not(:has(.pad-only)) .pn-body>.subtitle.latest{display:block!important}
#app .phone.play-screen.choosing:has(.pad-only) .pn-body>.play-me-act{display:none!important}
/* R6：文字 特大・幅 320 でも、返信欄が本文の段を押しつぶさない（返信欄は中で送れる） */
#app .phone .reply-composer{max-height:30%;padding-top:8px}
#app .phone .reply-composer .reply-prompt{margin:0 0 4px;font-size:14px}
#app .phone .reply-composer .reply-option{padding:10px 12px}
.play-talkrow .chat-avatar{position:static!important;flex:none;width:44px;height:44px}
.play-talklist-head strong{display:block}
.fx .play-notify-wrap.play-dock{top:52px}
/* 70代の読み v1（2026-09-23） */
body.in-play .fx.play-callshell .fx-box{background:#0f1a26;color:#fff}
body.in-play .fx.play-callshell .fx-screen{background:#0f1a26!important;color:#fff}
body.in-play .fx.play-callshell .operation-head{background:#0f1a26;color:#fff;flex-direction:column;align-items:center;gap:4px;padding:24px 12px 12px}
body.in-play .fx.play-callshell .call-operation-name{font-size:calc(22px * min(var(--fs),1.3));color:#fff}
body.in-play .fx.play-callshell .call-operation-status,body.in-play .fx.play-callshell .call-operation-number{color:#b8d3e8}
body.in-play .fx.play-callshell .operation-message{background:rgba(255,255,255,.08);color:#fff;border:0;border-radius:10px}
body.in-play .fx.play-callshell .operation-message.me{background:rgba(255,255,255,.16);border-left:3px solid #9dc6e6}
body.in-play .fx.play-callshell .message-speaker{color:#b8d3e8}
body.in-play .fx.play-face .operation-head{flex-direction:column;align-items:center}
.result-limit-head{margin:0 0 6px;font-weight:700;color:#8a5a00;font-size:calc(17px * var(--fs))}
.play-end-photo img{max-height:170px;object-fit:cover}
body.in-play .fx.play-callshell .operation-head{padding:10px 12px 6px;gap:2px}
body.in-play .fx.play-callshell .call-operation-name{font-size:calc(19px * min(var(--fs),1.15))}
body.in-play .fx.play-callshell .call-operation-number,body.in-play .fx.play-callshell .call-operation-status{font-size:13px}
body.in-play .fx.play-callshell .operation-head .chat-avatar{width:36px;height:36px}
/* Fable v3 型β：選択肢＝本人の吹き出しと同じ形（見出しなし・1回押し） */
#app .phone .ask-wrap.play-bubbles{background:transparent;border:0;box-shadow:none;padding:6px 14px 12px;position:relative;inset:auto;max-height:none;overflow:visible}
#app .phone .ask-wrap.play-bubbles .play-you{align-self:flex-end;text-align:right;font-size:13px;font-weight:700;color:#4a6581;margin:0 4px 6px}
#app .phone.dark .ask-wrap.play-bubbles .play-you,#app .phone.ios-call .ask-wrap.play-bubbles .play-you,#app .phone.video .ask-wrap.play-bubbles .play-you{color:#b9cfe2}
#app .phone .ask-wrap.play-bubbles .choices{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
#app .phone .ask-wrap.play-bubbles .play-opt{max-width:88%;width:auto;min-height:52px;margin:0;padding:12px 16px;text-align:left;border-radius:18px 4px 18px 18px;background:#fff;color:#0e3b22;border:2px solid #2f9e57;font-size:calc(17px * var(--fs));line-height:1.5;font-weight:600;display:flex;flex-direction:column;gap:2px}
#app .phone.ios-call .ask-wrap.play-bubbles .play-opt,#app .phone.video .ask-wrap.play-bubbles .play-opt,#app .phone.irl .ask-wrap.play-bubbles .play-opt,#app .phone.atm .ask-wrap.play-bubbles .play-opt,#app .phone.app-screen .ask-wrap.play-bubbles .play-opt{color:#0f2f55;border-color:#2e6fb8}
#app .phone .ask-wrap.play-bubbles .play-opt.picked{background:#9de975;border-color:#9de975}
#app .phone .ask-wrap.play-bubbles .play-opt-note{font-size:calc(13px * var(--fs));font-weight:400;color:#4d5b69}
#app .phone .ask-wrap.play-bubbles .sheet-foot{display:flex;flex-direction:column;gap:8px;margin-top:14px}
#app .phone .ask-wrap.play-bubbles .sheet-foot>*{width:100%;min-height:48px;font-size:15px}
#app .phone.play-screen.ios-call > .ask-wrap.play-bubbles,#app .phone.play-screen.video > .ask-wrap.play-bubbles{flex:0 1 auto;min-height:0;overflow-y:auto}
.msg-row .chat-avatar.play-face-av{overflow:hidden;border-radius:50%}
.msg-row .chat-avatar.play-face-av img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
#app .phone.irl .msg{background:#f0f2f5;color:#16222e}
.contact-row .contact-number{display:block;font-size:12px;color:#51647a;margin-left:auto;margin-right:8px}
.play-end-photo img{object-position:50% 15%!important}
/* 型δ：体験中はカードの「体験用」の刻印を出さない（振り返り・ホームで断る） */
body.in-play .training-card .card-demo{display:none!important}
#app .phone.play-screen.ios-call > .ask-wrap.play-bubbles,#app .phone.play-screen.video > .ask-wrap.play-bubbles{flex:0 0 auto!important;max-height:52%;overflow-y:auto}
#app .phone.play-screen.ios-call > .pn-body,#app .phone.play-screen.video > .pn-body{flex:1 1 0!important}
#app .phone .pn-body > .conversation-photo img{max-height:170px;width:100%;object-fit:cover}
#app .phone.play-screen.ios-call > .ask-wrap.play-bubbles,#app .phone.play-screen.video > .ask-wrap.play-bubbles{flex:0 1 auto!important;min-height:150px;max-height:52%}
#app .phone.play-screen.ios-call > .ask-wrap.play-bubbles,#app .phone.play-screen.video > .ask-wrap.play-bubbles{min-height:196px}
#app .phone .ask-wrap.play-bubbles .play-you{margin-bottom:2px}
#app .phone .ask-wrap.play-bubbles .play-opt{padding:10px 14px}
html[data-size="xl"] #app .phone.play-screen.ios-call > .ask-wrap.play-bubbles,html[data-size="xl"] #app .phone.play-screen.video > .ask-wrap.play-bubbles{min-height:170px}
html[data-size="xl"] #app .phone.play-screen.ios-call .pn-callhead{padding-top:6px;padding-bottom:6px}
/* 上帯は、どの画面でも送った時に画面の上に残る（K9） */
#app .phone.safari .pn-upper,#app .phone.app-screen .pn-upper,#app .phone.irl .pn-upper{position:sticky;top:0;z-index:12;background:inherit}
#app .phone.app-screen .pn-upper{background:#fff}
#app .phone.irl .pn-upper .pn-scene.world-visit img{height:110px;object-fit:cover;object-position:50% 25%}
#app .phone .callbar .callbar-end{min-height:44px;min-width:44px}
#app .phone.app-screen .pn-body>.ui.pin,#app .phone.app-screen .pn-body>.ui .bank-fronthead{position:relative!important;top:auto!important}
#app .phone.play-screen.ios-call > .ask-wrap.play-bubbles,#app .phone.play-screen.video > .ask-wrap.play-bubbles,html[data-size="xl"] #app .phone.play-screen.ios-call > .ask-wrap.play-bubbles,html[data-size="xl"] #app .phone.play-screen.video > .ask-wrap.play-bubbles{min-height:120px}
/* 70代の読み v3（2026-09-24） */
#app .phone .ask-wrap.play-bubbles::before{content:none!important;display:none!important}
.play-onscreen{margin:0 0 8px;font-size:calc(16px * var(--fs));font-weight:600;color:#26394d}
#app .phone.app-screen .pn-body>.subtitle{background:#223b55!important;color:#fff!important;border:0!important}
#app .phone.app-screen .pn-body>.subtitle .sp{color:#cfe2f5!important}
#app .phone.app-screen .pn-body>.subtitle.old{background:#2c4661!important;color:#eef4fa!important}
.op-callband .op-callband-line,.op-callband .op-callband-text{color:#fff!important}
.op-callband .op-callband-who{color:#cfe2f5!important}
#app .phone.irl .pn-body>.subtitle{background:#fff;color:#1d2833}
.play-next-you{margin:18px 0 4px;padding:12px 14px;border-left:4px solid #b3261e;background:#fff5f4;color:#5a1510;font-size:calc(18px * var(--fs));font-weight:700}
body.in-play .fx.play-callshell .call-operation-timer{color:#b8d3e8;font-size:13px}
body.in-play .fx.play-callshell .operation-button.play-endcall{background:#d93a31!important;color:#fff!important;border:0!important;border-radius:28px}
body.in-play .fx.play-face .play-staff{aspect-ratio:auto;height:150px;max-height:150px}
body.in-play .fx.play-face .play-staff img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 45%;border-radius:10px}
.play-tenkey{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:6px 0}
.play-tenkey-key{min-height:48px;border:1px solid #b9c6d4;border-radius:10px;background:#fff;color:#16222e;font:inherit;font-size:20px;font-weight:700}
body.in-play .fx.play-face .play-staff{height:96px;max-height:96px}
html[data-size="xl"] body.in-play .fx.play-face .play-staff,html[data-size="l"] body.in-play .fx.play-face .play-staff{height:64px;max-height:64px}
/* ===== Fable 直し方 v4（2026-09-24）===== */
/* 型η・型ν：選ぶ間（.play-fit）は、上の段（縮めない・重ねない）＋本文の段（残りの高さ・中で送る）＋選択肢の板（高さは play.js fitChoices）を画面の高さに収める。▼の帯は廃止 */
#app .phone.play-screen.play-fit{display:flex!important;flex-direction:column!important;overflow:hidden!important}
#app .phone.play-screen.play-fit > .pn-upper{flex:0 0 auto!important;position:relative!important;top:auto!important}
/* 型ν：選ぶ間以外も、上の段は画面の上に固定（縮めない・本文に重ねない）。本文の段が中で送れる（手口1 の SNS の広告は画面ごと送る v40 の作りのまま） */
#app .phone.play-screen:not(.ringing){display:flex!important;flex-direction:column!important;overflow:hidden!important}
#app .phone.play-screen:not(.ringing) > .pn-upper{flex:0 0 auto!important;position:relative!important;top:auto!important}
#app .phone.play-screen:not(.ringing) > .pn-body{flex:1 1 0!important;min-height:0;height:auto!important;max-height:none!important;overflow-y:auto!important}
#app .phone.play-screen:not(.ringing) > :not(.pn-upper):not(.pn-body){flex-shrink:0}
#app .phone.play-screen.play-fit > .pn-body{flex:1 1 0!important;min-height:96px!important;height:auto!important;max-height:none!important;overflow-y:auto!important}
#app .phone.play-screen.play-fit > .ask-wrap.play-bubbles{flex:0 0 auto!important;min-height:0!important;padding-bottom:0!important}
#app .phone.play-screen.play-fit > .skipbox{display:none!important}
#app .phone .ask-wrap.play-bubbles > .play-foot{position:sticky;bottom:0;z-index:2;margin-top:6px;padding:6px 0 8px;box-shadow:0 -6px 8px -6px rgba(0,0,0,.25)}
#app .pn-upper{flex:0 0 auto}
#app .phone.irl.choosing .pn-scene.world-visit{height:140px;min-height:140px}
/* 型μ：暗い地の字は白 */
#app .phone.dark .play-onscreen,#app .phone.atm .play-onscreen{color:#fff}
#app .phone.dark .play-reread,#app .phone.irl .play-reread{color:#fff;border-color:rgba(255,255,255,.55)}
/* 型η：選ぶ板の下の［電話を切る］［読み返す］は1段に横並び（選択肢と本文の段に高さを回す） */
#app .phone .ask-wrap.play-bubbles > .play-foot{flex-direction:row!important;align-items:stretch;gap:8px}
#app .phone .ask-wrap.play-bubbles > .play-foot > *{flex:1 1 0;width:auto!important;min-width:0;min-height:48px;padding:6px 8px;line-height:1.3}
/* 型η：返信の欄は中身の高さのまま画面の下に（▼の帯を廃止したので、ボタンを画面の外に出さない）。本文の段は 96px 以上 */
#app .phone.play-screen:not(.ringing) > .dialogue-replies{flex:0 0 auto!important;max-height:none!important;overflow:visible!important;margin:0!important}
#app .phone.play-screen.composing:not(.ringing) > .pn-body,#app .phone.play-screen.replying:not(.ringing) > .pn-body{min-height:96px!important}
#app .phone.play-screen.replying > .dialogue-replies:not(.reply-composer){padding:8px 14px 12px}
#app .phone .ask-wrap.play-bubbles > .play-foot{flex-wrap:wrap}
#app .phone .ask-wrap.play-bubbles > .play-foot > .evidence-links{flex:1 1 100%;display:flex;gap:8px;margin:0;min-height:0;padding:0}
#app .phone .ask-wrap.play-bubbles > .play-foot > .evidence-links > .evidence-reopen{flex:1 1 0;min-height:44px;min-width:0;margin:0}
/* 型η：選ぶ間の画面の中のボタン（ATM のメニュー・銀行アプリの［確認］）は 48px の高さに詰める（台詞と盤を1画面に） */
#app .phone.play-fit .pn-body .v40-card .atmkey,#app .phone.play-fit .pn-body .v40-card .uibtn{min-height:48px!important;height:auto!important;padding-top:8px!important;padding-bottom:8px!important}
#app .phone.app-screen:has(.callbar) .appbar-status{display:none}
#app .phone .ask-wrap.play-bubbles > .play-foot > .evidence-links > .evidence-reopen{font-size:14px!important;line-height:1.3;padding:6px 8px!important;min-height:44px}
/* 見せられた手帳・逮捕状をもう一度見るボタンは、［電話を切る］［読み返す］と同じ1段に並べる（選択肢と台詞に高さを回す） */
#app .phone .ask-wrap.play-bubbles > .play-foot{flex-wrap:nowrap!important}
#app .phone .ask-wrap.play-bubbles > .play-foot > .evidence-links{display:contents!important}
#app .phone .ask-wrap.play-bubbles > .play-foot:has(.evidence-links) > *,#app .phone .ask-wrap.play-bubbles > .play-foot:has(.evidence-links) .evidence-reopen{font-size:13px!important;padding:4px 6px!important;min-height:48px}
#app .phone.play-fit .subtitle.latest:before{display:none!important}   /* 選ぶ間は「通話の字幕」の見出しを出さない（台詞と選択肢を1画面に） */
#app .phone.play-fit .ask-wrap.play-bubbles > .play-foot{margin-top:4px;padding:4px 0 6px}
/* 型η：文字 大・特大の小さな画面でも、選ぶ・返す間に直前の台詞と選択肢が1画面に入るよう詰める（文字の大きさは変えない） */
#app .phone.play-fit .ask-wrap.play-bubbles .choices{gap:8px}
#app .phone.play-fit .ask-wrap.play-bubbles .play-opt{padding:8px 12px!important}
#app .phone.play-fit .call-evidence,#app .phone.replying .call-evidence,#app .phone.composing .call-evidence{max-height:112px;overflow-y:auto}
#app .phone.play-fit .callbar,#app .phone.replying .callbar,#app .phone.composing .callbar{padding-top:0!important;padding-bottom:0!important;min-height:44px}
#app .phone.atm.play-fit .pn-head .nm .sub,#app .phone.atm.replying .pn-head .nm .sub,#app .phone.atm.composing .pn-head .nm .sub{display:none}
#app .phone.replying > .dialogue-replies .reply-option,#app .phone.composing > .dialogue-replies .reply-option{padding:8px 12px!important;margin-top:6px}
#app .phone.play-fit .pn-body>.subtitle.latest,#app .phone.play-fit .pn-body>.subtitle.latest .utterance,#app .phone.replying .pn-body>.subtitle.latest,#app .phone.replying .pn-body>.subtitle.latest .utterance,#app .phone.composing .pn-body>.subtitle.latest,#app .phone.composing .pn-body>.subtitle.latest .utterance{font-size:calc(16px * var(--fs))!important;line-height:1.5!important}   /* 選ぶ・返す間の直前の台詞は、前の台詞と同じくらいの大きさ（文字 大・特大でも選択肢と1画面に） */
#app .phone.play-fit .ask-wrap.play-bubbles{padding-top:2px!important}
#app .phone.play-fit .ask-wrap.play-bubbles > .play-foot{margin-top:2px;padding:2px 0 4px}
#app .phone.play-fit .ask-wrap.play-bubbles > .play-foot > *,#app .phone.play-fit .ask-wrap.play-bubbles > .play-foot .evidence-reopen{min-height:44px!important}
#app .phone.play-fit > .pn-body{padding-bottom:4px!important}
/* 段3h：高さの決まりは play.js layoutFit の1か所。読み進める札（［次へ］の段）は画面に重ねず、下の段として並べる（本文の最後の行を隠さない） */
#app .phone.play-screen:not(.ringing) > .skipbox:has(.read-next){position:relative!important;bottom:auto!important;left:auto!important;width:auto!important;flex:0 0 auto!important;max-height:45dvh}
/* 段3h：最後の行が入らない時だけ（play.js layoutFit が .fit-tight を付ける）、板の「あなた」の札と余白を詰める。文字の大きさは変えない */
#app .phone.fit-tight .ask-wrap.play-bubbles .play-you{display:none!important}
#app .phone.fit-tight .ask-wrap.play-bubbles{padding-top:0!important}
#app .phone.fit-tight .ask-wrap.play-bubbles > .play-foot{margin-top:0!important;padding:2px 0!important}
#app .phone.fit-tight > .dialogue-replies{padding-top:4px!important;padding-bottom:6px!important}
#app .phone.fit-tight > .dialogue-replies .reply-prompt{margin-bottom:2px!important}
#app .phone.fit-tight > .pn-body{padding-bottom:2px!important}

/* 段3i（70代の読み v5 2-25）：電話をつないだまま金額を打つ画面は、数字のボタンを少し低く（押せる高さ 44px は守る）して入力欄とボタンが1画面に入るように */
.fx.with-callband .play-tenkey{gap:6px;margin:4px 0}
.fx.with-callband .play-tenkey-key{min-height:44px}
.fx.with-callband .bank-entry-help{display:none}
/* 段3i（70代の読み v5 2-12）：銀行アプリを電話をつないだまま使う画面。通話の帯は画面いちばん上の細い帯（丸い札を本文に重ねない）、
   振込内容の確認は銀行アプリと同じ白地で詰めて、振込先の行が本文の段に入るように */
#app .phone.app-screen .pn-upper .callbar{align-self:stretch;border-radius:0;margin:0;border:0;padding:0 8px 0 12px;min-height:44px;background:#1c583f;color:#fff}
#app .phone.app-screen .pn-upper .callbar .state{color:#fff}
#app .phone.app-screen .pn-upper .callbar .timer{color:#d6eadf}
#app .phone.app-screen .pn-upper .callbar .callbar-end{margin-left:auto;background:#c0392b;color:#fff;border:0;border-radius:8px;padding:4px 12px}
#app .phone.app-screen .pn-body > .v40-card.ui[data-bank]{background:#fff!important;color:#16222e!important;border:1px solid #d5dde6;border-radius:12px;padding:8px 12px}
#app .phone.app-screen .pn-body > .v40-card.ui[data-bank] .ui-h{color:#16222e!important;margin:2px 0 4px}
#app .phone.app-screen .pn-body > .v40-card.ui[data-bank] .operation-context{display:none}
#app .phone.app-screen .pn-body > .v40-card.ui[data-bank] .transfer-progress{margin:0 0 4px}
#app .phone.app-screen .pn-body > .v40-card.ui[data-bank] .field{padding:4px 0;border-color:#e3e8ee!important}
#app .phone.app-screen .pn-body > .v40-card.ui[data-bank] .field .k{color:#51637a!important}
#app .phone.app-screen .pn-body > .v40-card.ui[data-bank] .field .v{color:#111!important}
#app .phone.app-screen .pn-body > .v40-card.ui[data-bank] .field .k{white-space:nowrap;margin-right:10px}
.fx.with-callband .bank-entry-label{margin:0 0 2px!important}
.fx.with-callband .bank-amount-row{margin:0 0 4px!important}
.fx.with-callband .bank-amount-input{min-height:44px!important;padding-top:4px!important;padding-bottom:4px!important}
.fx.with-callband .fx-screen:has(.play-tenkey){gap:6px!important;row-gap:6px!important}
.fx.band-last .op-callband-lines > .op-callband-line:not(:last-child){display:none}
/* 段3i（70代の読み v5 v1-1）：詰める時は、選択肢と下の段のボタンの上下の余白も詰める（押せる高さ 44px・文字の大きさは守る）。字が帯で切れる形を減らす */
#app .phone.fit-tight .ask-wrap.play-bubbles .play-opt{padding-top:6px!important;padding-bottom:6px!important;min-height:44px!important;margin-top:4px!important;margin-bottom:4px!important}
#app .phone.fit-tight .ask-wrap.play-bubbles > .play-foot > *,#app .phone.fit-tight .ask-wrap.play-bubbles > .play-foot .evidence-reopen{min-height:44px!important;padding-top:2px!important;padding-bottom:2px!important}
#app .phone.fit-tight .ask-wrap.play-bubbles > .choices{margin-top:2px!important;gap:6px!important;row-gap:6px!important}
#app .phone.fit-tight .ask-wrap.play-bubbles .play-opt{margin-top:0!important;margin-bottom:0!important}
#app .phone.fit-tight .ask-wrap.play-bubbles > .play-foot > .play-reread{margin-top:0!important}
#app .phone.fit-tight .ask-wrap.play-bubbles > .play-foot > *{margin-top:0!important;margin-bottom:0!important}
/* 段3j（70代の読み v6） */
/* N3：逮捕状は事件番号の行まで見せる（見せている間の上限を逮捕状だけ広げ、書面は詰めて組む） */
#app .phone.play-fit .call-evidence[data-kind="warrant"],#app .phone.replying .call-evidence[data-kind="warrant"],#app .phone.composing .call-evidence[data-kind="warrant"]{max-height:none;overflow:visible;padding:6px 10px}
#app .phone .call-evidence[data-kind="warrant"] .shared-warrant{padding:6px 12px}
#app .phone .call-evidence[data-kind="warrant"] .shared-warrant h2{font-size:20px;margin:0 0 4px}
#app .phone .call-evidence[data-kind="warrant"] .shared-warrant-field{padding:3px 0;line-height:1.4}
/* N1：金額の欄は数字のボタンを押しても見える所に止める（本物の銀行アプリと同じく、入れた金額が上に見えたまま） */
.fx .fx-screen.entry-tight .play-tenkey{gap:4px!important;margin:2px 0!important}.fx .fx-screen.entry-tight .play-tenkey-key{min-height:44px!important}
.fx .fx-screen.entry-tight .bank-entry-label{margin:4px 0 2px!important}.fx .fx-screen.entry-tight .bank-entry-help{display:none}
.fx .fx-screen.entry-tight2 .bank-entry-request,.fx .fx-screen.entry-tight2 .transfer-progress{display:none}
.fx .fx-screen.entry-tight3 .transfer-progress{display:none}
/* N13：選択肢の下の注記は本文と同じ濃さで1段だけ小さく */
#app .phone .ask-wrap.play-bubbles .play-opt-note,#app .phone .play-opt-note{font-size:calc(15px * var(--fs));color:inherit;opacity:1;font-weight:500}
/* N7：発信の画面の番号 */
.operation-dial-no{margin:4px 0 0;font-size:20px;font-weight:600;text-align:center;color:inherit;font-variant-numeric:tabular-nums}
/* 段3j（70代の読み v7） */
/* M6：振込の確認（2-12）も青い帯の銀行アプリ。［確認］は青、［取消］は白地に赤い字 */
#app .phone[data-medium="bank"] .appbar{background:#153d66!important;color:#fff!important}
#app .phone[data-medium="bank"] .appbar *{color:#fff!important}
#app .phone[data-medium="bank"] .uibtn:not(.cancel){background:#1c5fd6!important;color:#fff!important;border:0!important;box-shadow:none!important}
#app .phone[data-medium="bank"] .uibtn.cancel{background:#fff!important;color:#9b2626!important;border:1px solid #a43f3f!important;box-shadow:none!important}
#app .phone[data-medium="bank"] .ui.pin .ui-h,#app .phone[data-medium="bank"] .ui.pin .operation-context{display:none}
/* M10：相手が切った後は通話のボタンを出さない */
#app .phone.play-call-ended .pn-callbtns,#app .phone.play-call-ended .pn-end{display:none!important}
/* M5：届いた確認の数字の SMS（画面の上の通知の形） */
.play-sms-peek{display:flex;flex-direction:column;gap:2px;margin:6px 10px;padding:8px 12px;border-radius:12px;background:#f1f3f6;border:1px solid #cfd6de;color:#16222e;font-size:calc(14px * var(--fs));line-height:1.5}
.play-sms-peek-from{font-weight:700;font-size:calc(13px * var(--fs));color:#16222e}
.play-sms-peek-text{color:#16222e}
/* 段3 直し方 v5（Fable・2026-09-24）【共通】 */
/* 共5：ビデオ通話の顔は全状態で同じ大きさ（逮捕状・手帳は顔の下・切るのは下の赤い丸） */
#app .phone.video .pn-video>img{height:min(120px,18dvh)!important;max-height:none!important;display:block!important}
#app .phone.video .pn-upper > .call-evidence{max-height:30dvh;overflow:auto}
/* 県修正03 2-3：縦開きの手帳（300px・最大44dvh）を 30dvh の枠で下を切らない。入らない時は layoutFit の ev-fit（顔→手帳の順に低く・［大きく見る］は枠の角）に任せる */
#app .phone.video .pn-upper > .call-evidence[data-kind="badge"]{max-height:none;overflow:visible}
/* 共2：通話を終える所は赤い丸だけ（白い輪 1 本） */
#app .phone.play-end-ready .pn-end .control-icon{box-shadow:0 0 0 4px rgba(255,255,255,.55)}
/* 共3：通話・対面の返答は 1 つの板（見出し「あなたの返答」・青いボタン・下に［電話を切る］［読み返す］） */
#app .phone .ask-wrap.play-bubbles.play-ask-talk > .reply-prompt{margin:0 2px 8px;font-size:16px;font-weight:700;color:#2a4159}
#app .phone.dark .ask-wrap.play-bubbles.play-ask-talk > .reply-prompt,#app .phone.irl .ask-wrap.play-bubbles.play-ask-talk > .reply-prompt{color:#dce8f3}
#app .phone.fit-tight .ask-wrap.play-bubbles.play-ask-talk > .reply-prompt{display:none!important}
#app .phone .ask-wrap.play-bubbles.play-ask-talk .choices{align-items:stretch}
#app .phone .ask-wrap.play-bubbles.play-ask-talk .play-opt,#app .phone.ios-call .ask-wrap.play-bubbles.play-ask-talk .play-opt,#app .phone.video .ask-wrap.play-bubbles.play-ask-talk .play-opt,#app .phone.irl .ask-wrap.play-bubbles.play-ask-talk .play-opt,#app .phone.atm .ask-wrap.play-bubbles.play-ask-talk .play-opt,#app .phone.app-screen .ask-wrap.play-bubbles.play-ask-talk .play-opt{max-width:none;width:100%;min-height:48px;border-radius:12px;border:0;background:#0f4f96;color:#fff;text-align:left;align-items:flex-start;box-sizing:border-box}
#app .phone .ask-wrap.play-bubbles.play-ask-talk .play-opt.picked{background:#0b3b70;color:#fff}
#app .phone > .dialogue-replies.play-talk-reply .reply-option{background:#0f4f96;color:#fff;border:0;border-radius:12px;min-height:48px}
#app .phone > .dialogue-replies.play-talk-reply > .reply-prompt{color:#2a4159}
#app .phone > .dialogue-replies > .play-foot{display:flex;gap:8px;margin-top:8px;flex-wrap:nowrap}
#app .phone > .dialogue-replies > .play-foot > .evidence-links{display:contents}
#app .phone > .dialogue-replies > .play-foot > *{flex:1 1 0;min-width:0;min-height:44px;font-size:15px}
#app .phone > .dialogue-replies > .play-foot .play-reread{color:#173d62;border-color:#8ea3b8}
#app .phone > .dialogue-replies > .play-foot .sheet-end{color:#a22620;border:1px solid #b6433d;background:#fff;border-radius:8px}
/* 共7：届いた SMS は画面の上に降りる通知（押せない・本文の段に入れない） */
#app .phone .pn-body{box-sizing:border-box!important}
.play-sms-banner{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 14px;border-radius:16px;background:rgba(245,247,250,.98);color:#111;box-shadow:0 8px 24px rgba(0,0,0,.25);box-sizing:border-box;text-align:left}
.play-sms-banner .play-notify-app{color:#06a44a}
.play-sms-banner .play-sms-banner-who{font-size:calc(15px * var(--fs));font-weight:700}
.play-sms-banner .play-sms-banner-text{font-size:calc(15px * var(--fs));line-height:1.45;color:#1f2d3a}
/* 共11(a)：受付番号を入れる前の数字キーの盤（灰色・押せない） */
#app .phone .play-pad.play-pad-preview .atmkey{opacity:.55}
/* 共12：銀行アプリを電話をつないだまま操作（2-12）＝2-25 と同じ銀行アプリの頭 */
#app .phone .play-bankhead{background:#153d66;color:#fff;padding:10px 14px!important}
#app .phone .play-bankhead .app-identity-text{color:#fff;font-weight:700}
#app .phone .play-bankhead .app-identity-text small{display:block;font-weight:400;color:#dce8f3}
#app .phone .play-bankprog{background:#fff;margin:0!important;padding:0 6px}
#app .phone .play-bankprog li{padding:6px 2px}
/* 共13：固定電話の名前は中央 */
#app .phone.landline .pn-callhead{text-align:center}
#app .phone.landline .pn-callhead .who{display:inline-block;margin:0 auto}
/* 共17：確認の電話の画面の下段（丸ボタン＋赤い丸） */
.fx.play-contact .pn-lower{display:flex;flex-direction:column;align-items:center;gap:10px;padding:10px 0 14px}
.fx.play-contact .pn-callbtns{display:flex;justify-content:center;gap:10px}
.fx.play-contact .pn-callbtns .cb{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:60px;min-height:60px;font-size:12px;color:#e5edf5;cursor:pointer}
.fx.play-contact .pn-callbtns .control-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.18);color:#fff}
.fx.play-contact .pn-callbtns .cb-act .control-icon{background:#fff;color:#263544}
.fx.play-contact .pn-end{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:60px;min-height:60px;cursor:pointer;color:#fff;font-size:12px}
.fx.play-contact .pn-end .control-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#ed454d;color:#fff}
.fx.play-contact .pn-callbtns svg,.fx.play-contact .pn-end svg{width:24px;height:24px}
/* 共21：選択肢の注記は本文と同じ大きさ・濃さ */
#app .phone .play-opt .play-opt-note,#app .phone.fit-tight .play-opt .play-opt-note,#app .phone.play-fit .play-opt .play-opt-note{font-size:1em!important;color:inherit!important;opacity:1!important}
/* 共11(c)：ATM・銀行の操作の画面の通話の帯＝上の通話の画面と同じ形（📞 通話中 時計 切る） */
.op-callband-wrap .callbar{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#1c583f;color:#fff;min-height:44px;box-sizing:border-box}
.op-callband-wrap .callbar .timer{margin-left:auto;font-variant-numeric:tabular-nums}
.op-callband-wrap .callbar-end{min-height:36px;padding:4px 12px;border:0;border-radius:7px;background:#b62d26;color:#fff;font-weight:700}
.op-callband-wrap{flex:none;display:flex;flex-direction:column;gap:4px;padding:0 0 8px;background:#17412a;color:#fff;text-align:left;border-bottom:1px solid #0e2a1b}
.op-callband-wrap .op-callband-lines{padding:0 12px}
.op-callband-wrap .op-callband-line,.op-callband-wrap .op-callband-text{color:#fff!important}
.op-callband-wrap .op-callband-who{color:#cfe2f5!important}
.op-callband-wrap .op-callband-hint{padding:0 12px;color:#ffe7a3!important;opacity:1}
/* 共5：選ぶ・返す間は逮捕状・手帳を顔の下で詰めて（中で送れる）、顔・時計は同じ位置のまま */
#app .phone.video.play-fit .pn-upper > .call-evidence,#app .phone.video.replying .pn-upper > .call-evidence,#app .phone.video.composing .pn-upper > .call-evidence,#app .phone.video.choosing .pn-upper > .call-evidence{max-height:min(30dvh,108px)!important;overflow:auto!important}
/* 共3：返信欄の下の固定の段（手帳・逮捕状・電話を切る・読み返す）は ask の板と同じ 1 段 */
#app .phone > .dialogue-replies > .play-foot:has(.evidence-links) > *,#app .phone > .dialogue-replies > .play-foot:has(.evidence-links) .evidence-reopen{font-size:13px!important;padding:4px 6px!important;min-height:48px;line-height:1.3}
#app .phone > .dialogue-replies > .play-foot .evidence-reopen{flex:1 1 0;min-width:0;margin:0}
/* 共3・共5：返す間も、選ぶ間と同じく「通話の字幕」の見出しを出さない（顔・逮捕状を残した分、台詞と返答の板を1画面に） */
#app .phone.replying .subtitle.latest:before,#app .phone.composing .subtitle.latest:before{display:none!important}
#app .phone.showing-evidence.replying .subtitle.latest,#app .phone.showing-evidence.play-fit .subtitle.latest{margin-top:0}
/* 共5：ビデオ通話の頭（名前・ビデオ通話・時計）は全状態で同じ 2 行（顔の上・同じ位置） */
#app .phone.video .pn-video .ov{display:flex!important;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:0 10px;padding:8px 12px!important;text-align:center}
#app .phone.video .pn-video .ov .who{flex:1 1 100%;line-height:1.3}
#app .phone.video .pn-video .ov .who-sub,#app .phone.video .pn-video .ov .st{line-height:1.4}
/* 文字 大・特大では、返す・選ぶ間の逮捕状・手帳は題の段だけ（中で送れる・［大きく見る］と下の［逮捕状を見る］で読める） */
html[data-size="l"] #app .phone.video.replying .pn-upper > .call-evidence,html[data-size="l"] #app .phone.video.choosing .pn-upper > .call-evidence,html[data-size="l"] #app .phone.video.composing .pn-upper > .call-evidence,
html[data-size="xl"] #app .phone.video.replying .pn-upper > .call-evidence,html[data-size="xl"] #app .phone.video.choosing .pn-upper > .call-evidence,html[data-size="xl"] #app .phone.video.composing .pn-upper > .call-evidence{max-height:min(30dvh,64px)!important}
/* 小さい画面（高さ 620px 以下）：返す・選ぶ間の逮捕状・手帳は題の段だけ（文字 大・特大は下の［逮捕状を見る］［手帳を見る］で開く）。顔と時計は残す */
@media (max-height:620px){
 #app .phone.video.replying .pn-upper > .call-evidence,#app .phone.video.choosing .pn-upper > .call-evidence,#app .phone.video.composing .pn-upper > .call-evidence{max-height:52px!important}
 html[data-size="l"] #app .phone.video.replying .pn-upper > .call-evidence,html[data-size="l"] #app .phone.video.choosing .pn-upper > .call-evidence,html[data-size="l"] #app .phone.video.composing .pn-upper > .call-evidence,
 html[data-size="xl"] #app .phone.video.replying .pn-upper > .call-evidence,html[data-size="xl"] #app .phone.video.choosing .pn-upper > .call-evidence,html[data-size="xl"] #app .phone.video.composing .pn-upper > .call-evidence{display:none!important}
}
/* 共17：確認の電話の下段は 1 段（丸ボタン 3 つ＋赤い丸）。台詞の段に高さを回す */
body.in-play .fx.play-contact .pn-lower{flex:none;flex-direction:row;justify-content:center;align-items:flex-start;gap:4px;padding:6px 4px 10px}
body.in-play .fx.play-contact .pn-callbtns{gap:2px}
body.in-play .fx.play-contact .pn-callbtns .cb,body.in-play .fx.play-contact .pn-end{min-width:56px;min-height:48px;font-size:11px;gap:3px}
body.in-play .fx.play-contact .pn-callbtns .control-icon{width:44px;height:44px}
body.in-play .fx.play-contact .pn-end .control-icon{width:48px;height:48px}
/* 共11(c)：通話の帯の頭は細く（金額の欄と数字のボタンに高さを回す） */
.op-callband-wrap .callbar{min-height:36px;padding:2px 12px}
.op-callband-wrap .callbar-end{min-height:44px;margin:-6px 0;padding:2px 12px}   /* 段3k：押せる大きさは 44px（帯の高さは細いまま＝上下を -6px） */
#app .phone.landline .pn-callhead{text-align:center!important}
#app .phone.landline .pn-callhead .who{display:block!important;width:fit-content!important;margin-left:auto!important;margin-right:auto!important}
/* 段3k：特大の文字で高さの低い画面は、確認の電話の頭の丸い顔を外して返事の吹き出しに高さを回す（5-32 幅320・特大で返事の最後の行が下の丸ボタンに隠れた） */
@media (max-height:720px){html[data-size="xl"] body.in-play .fx.play-callshell .operation-head .chat-avatar{display:none}}

/* ===== 段3 直し方 v6（Fable・2026-09-24）共28〜共38 ===== */
/* 共28：リンクの札の絵＝アプリのアイコン（人物写真にしない） */
.play-linkcard-icon{display:flex;align-items:center;gap:12px;padding:14px;background:#102d3b;color:#fff}
.play-linkcard-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#fff;color:#102d3b;flex:none}
.play-linkcard-mark .app-icon{width:28px;height:28px}
.play-linkcard-brand{font-size:calc(17px * var(--fs));font-weight:700}
/* 共29：投資アプリの殻（総資産・評価損益・グラフ・タブ・保有銘柄） */
body.in-play .fx.operation[data-kind="invest"] .fx-screen{padding:0 0 16px;gap:10px;background:#fff}
body.in-play .fx.operation[data-kind="invest"] .fx-screen > :not(.iv-shell):not(.iv-error){margin-left:20px;margin-right:20px}
body.in-play .fx.operation[data-kind="invest"] .fx-screen > .operation-state{margin-top:6px;margin-bottom:0}
.iv-shell{display:flex;flex-direction:column;background:#fff;color:#102842;flex:none}
.iv-asset{padding:16px 16px 8px;background:#fff}
.iv-asset-label{font-size:calc(14px * var(--fs));color:#4e6572}
.iv-asset-total{font-size:calc(32px * var(--fs));font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#102842;line-height:1.2}
.iv-asset-pnl{margin-top:4px;font-size:calc(16px * var(--fs));font-weight:700;color:#1b7f4c}
.iv-asset-pnl.flat{color:#5a6673;font-weight:400}
.iv-chart{height:96px;margin:0 16px}
.iv-chart svg{display:block;width:100%;height:100%}
.iv-chart-axis{display:flex;justify-content:space-between;margin:0 16px 6px;font-size:13px;color:#5a6673}
.iv-tabs{display:flex;margin:0 16px;border-bottom:1px solid #d4e1e4}
.iv-tab{flex:1;text-align:center;padding:10px 0;font-size:calc(16px * var(--fs));color:#5a6673}
.iv-tab.on{color:#102d3b;font-weight:700;box-shadow:inset 0 -3px 0 #102d3b}
.iv-holdings{margin:8px 16px 4px}
.iv-holdings h3{margin:8px 0 2px;font-size:calc(14px * var(--fs));color:#4e6572;font-weight:400}
.iv-row{display:flex;gap:8px;padding:10px 0;border-bottom:1px solid #e6ecee;font-size:calc(15px * var(--fs));font-variant-numeric:tabular-nums}
.iv-row .nm{flex:1;min-width:0}
.iv-row .pnl{color:#1b7f4c;font-weight:700}
.iv-empty{margin:8px 0;color:#5a6673;font-size:calc(15px * var(--fs))}
.iv-badge{display:inline-block;align-self:flex-start;margin:0 16px 8px;padding:4px 12px;border-radius:999px;font-size:calc(14px * var(--fs));font-weight:700}
.iv-badge-hold{background:#fde8e6;color:#9b2c22}
.iv-badge-check{background:#fff4d6;color:#6b4f00}
.iv-error{padding:36px 16px 8px;text-align:center;color:#33475e}
.iv-error .app-icon{width:48px;height:48px;color:#9b2c22}
.iv-error p{margin:10px 0 0;font-size:calc(16px * var(--fs))}
.iv-shell.iv-compact .iv-chart,.iv-shell.iv-compact .iv-chart-axis,.iv-shell.iv-compact .iv-holdings{display:none}
.iv-shell.iv-tight .iv-asset-pnl{display:none}
@media(max-height:650px){.iv-chart,.iv-chart-axis,.iv-holdings{display:none}}   /* 幅320×568 の時は殻を「総資産＋タブ」だけにし、段の題と欄を折らずに見せる */
.play-appshell{margin:0;min-height:60vh;border-radius:0}
/* 共36：振込が完了した銀行アプリ（通知の後ろ） */
.play-bankdone{display:flex;flex-direction:column;gap:14px;margin:0;padding:18px 16px;min-height:50vh;background:#fff;color:#16222e}
.play-bankdone .transfer-progress{margin:0}
.play-bankdone.play-bankdone-top{min-height:0;padding:14px 16px}
.play-bankdone-h{margin:0;font-size:calc(20px * var(--fs));line-height:1.4}
/* 共30：既読の付かない吹き出し・通話の記録 */
.msg.me.call-log{background:#e6efe9!important;color:#1f3a2a!important;font-weight:700}
/* 共31：日付の帯 */
.chat-membership.play-day{font-weight:700}
/* 共32：LINE の音声通話の窓 */
body.in-play .fx.play-linecall{background:#047a3a!important}   /* LINE の緑を 70代が読める濃さに（白い字のコントラスト 5 以上） */
body.in-play .fx.play-linecall .fx-box{background:#047a3a!important}
.linecall-box{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;color:#fff;text-align:center;gap:10px;padding:32px 16px}
.linecall-kind{font-size:calc(14px * var(--fs));margin:0;color:#fff}
.linecall-box .chat-avatar{position:static!important;width:96px;height:96px;border:3px solid #fff;flex:none}
.linecall-name{font-size:calc(24px * var(--fs));margin:0;color:#fff}
.linecall-state{font-size:calc(17px * var(--fs));margin:0;color:#fff}
.play-linecall.no-answer .linecall-state{font-weight:700}
body.in-play .play-linecall .native-actions{width:100%;background:transparent!important;border:0!important;margin-top:24px}
body.in-play .play-linecall .native-actions .operation-button{background:#fff!important;color:#0b5c2b!important;border:0}
body.in-play .play-linecall .native-actions .operation-button:disabled{opacity:.55}
/* 共33：ブロックされたプロフィール（初期のアイコン・名前だけ） */
.contact-profile.contact-blocked h2{margin-bottom:0}

/* ===== 段3 直し方 v7（Fable・2026-09-25）【共通】共39〜共61 ===== */
/* 共39：通知の帯の中の小さい案内・帯の下に本文を押し下げる（アプリの中の案内の欄は出さない） */
.play-notify-hint{display:none!important}
.play-notify-open{align-self:flex-end;margin-top:4px;font-size:13px;color:#4f5d6b}
#app .phone.has-notify > .pn-upper{padding-top:var(--notify-h,96px)!important}
body.in-play .fx.has-notify .fx-box{padding-top:var(--notify-h,96px)!important;box-sizing:border-box}
/* 共40：通話・対面の返答の板は 1 つの形（白い板・見出し「あなたの返答」・下に［これまでの話を読み返す］だけ） */
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet,#app .phone.play-screen > .dialogue-replies.play-talk-reply.sheet:not(.reply-composer){background:#fff!important;color:#111;border:0;border-top:1px solid #d8dee7;border-radius:0;margin:0!important;padding:14px 16px calc(12px + env(safe-area-inset-bottom,0px))!important;box-shadow:0 -3px 16px rgba(0,0,0,.12)}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet > .reply-prompt,#app .phone.dark .ask-wrap.play-bubbles.play-ask-talk.sheet > .reply-prompt,#app .phone.irl .ask-wrap.play-bubbles.play-ask-talk.sheet > .reply-prompt,#app .phone.play-screen > .dialogue-replies.play-talk-reply.sheet > .reply-prompt{display:block!important;color:#2a4159!important;font-size:16px;font-weight:700;margin:0 2px 8px}
#app .phone.fit-tight .ask-wrap.play-bubbles.play-ask-talk.sheet > .reply-prompt{display:block!important;font-size:14px;margin:0 2px 4px}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet .choices .btn,#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet .choices .btn .lbl{font-size:calc(17px * var(--fs))}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet .sheet-foot{margin-top:10px}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet .play-foot .play-reread,#app .phone > .dialogue-replies.play-talk-reply.sheet > .play-foot .play-reread{color:#33445d!important;border:1px solid #a9b5c5!important;background:#fff!important;opacity:1}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot,#app .phone > .dialogue-replies.play-talk-reply.sheet > .play-foot{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:6px!important;margin-top:8px!important}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot > .evidence-links,#app .phone > .dialogue-replies.play-talk-reply.sheet > .play-foot > .evidence-links{display:contents!important}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot > *,#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot .evidence-reopen,#app .phone > .dialogue-replies.play-talk-reply.sheet > .play-foot > *,#app .phone > .dialogue-replies.play-talk-reply.sheet > .play-foot .evidence-reopen{flex:1 1 0!important;min-width:0!important;width:auto!important;min-height:44px!important;margin:0!important;padding:4px 6px!important;font-size:13px!important;line-height:1.3!important}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet .play-onscreen{color:#26394d!important}
/* 共40・共55：選ぶ・返す間は［大きく見る］を下の［逮捕状を見る］［手帳を見る］に任せる（台詞の段に高さを回す） */
#app .phone.video.choosing .call-evidence .evidence-enlarge,#app .phone.video.replying .call-evidence .evidence-enlarge,#app .phone.video.play-fit .call-evidence .evidence-enlarge{display:none!important}
/* 共47④：金額入力で入り切らない時は、見出しの下の小さい案内を畳む（進み・見出し・金額の欄・数字のボタンを 1 画面に） */
.fx .fx-screen.entry-tight .bank-entry-help,.fx .fx-screen.entry-tight .bank-entry-label{display:none!important}
.fx .fx-screen.entry-tight{padding-top:8px!important;gap:8px!important}
.fx .fx-screen.entry-tight .play-tenkey{gap:6px;margin:4px 0}
.fx .fx-screen.entry-tight .play-tenkey-key{min-height:44px}
/* 共40：選ぶ・返す間も下の段（消音・キーパッド・スピーカーの小さい丸＋赤い丸）は同じ位置に見える（小さくするだけ） */
#app .phone.play-screen.ios-call.choosing > .pn-lower,#app .phone.play-screen.video.choosing > .pn-lower,
#app .phone.play-screen.ios-call.replying > .pn-lower,#app .phone.play-screen.video.replying > .pn-lower{display:flex!important;padding:4px 18px!important;gap:28px;background:transparent}
#app .phone.play-screen.play-call-ended > .pn-lower{display:none!important}
#app .phone.choosing .pn-callbtns .cb,#app .phone.replying .pn-callbtns .cb{min-width:44px;min-height:44px;font-size:0;gap:0}
#app .phone.choosing .pn-callbtns .control-icon,#app .phone.replying .pn-callbtns .control-icon{width:36px;height:36px}
#app .phone.choosing .pn-end,#app .phone.replying .pn-end{min-width:44px;min-height:44px}
#app .phone.choosing .pn-end .control-icon,#app .phone.replying .pn-end .control-icon{width:44px;height:44px}
#app .phone.choosing .pn-end .end-label,#app .phone.replying .pn-end .end-label{display:none}
/* 共41：確認の電話の頭＝詐欺の電話の頭と同じ形（左に丸い絵・名前・下に「通話中 00:12」）。地も同じ色 */
body.in-play .fx.play-callshell .fx-box{background:linear-gradient(155deg,#34485b,#17222e 72%)!important;color:#fff}
body.in-play .fx.play-callshell .fx-screen{background:transparent!important}
body.in-play .fx.play-callshell .operation-head{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;text-align:left;padding:12px 14px 12px 66px!important;min-height:78px;box-sizing:border-box;background:transparent!important;color:#fff}
body.in-play .fx.play-callshell .operation-head .chat-avatar{position:absolute!important;left:14px;top:16px;width:36px;height:36px;margin:0}
body.in-play .fx.play-callshell .call-operation-name{font-size:16px!important;line-height:1.4;color:#fff}
body.in-play .fx.play-callshell .call-operation-row{display:flex;gap:8px;align-items:baseline}
body.in-play .fx.play-callshell .call-operation-number,body.in-play .fx.play-callshell .call-operation-status,body.in-play .fx.play-callshell .call-operation-timer{display:inline-block;font-size:13px!important;line-height:1.5;color:#cdd9e4!important;margin:2px 0 0}
body.in-play .fx.play-callshell.landline .operation-head .ll-head{display:block;font-size:12px;color:#cbbfae;letter-spacing:.12em;margin-bottom:4px}
@media (max-height:720px){html[data-size="xl"] body.in-play .fx.play-callshell .operation-head{padding-left:14px!important}}
/* 共42：続けてかける窓は画面の下から（上の返事と私の台詞が読める） */
body.in-play .fx.play-situ.play-sheet-bottom{align-items:flex-end;padding:0;background:rgba(12,22,34,.28)!important}
body.in-play .fx.play-situ.play-sheet-bottom .play-situ-card{max-width:none;border-radius:16px 16px 0 0;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
/* 共46：結果の後の「その後」は章の幕（黒地の 1 枚）。結果の画面の上でも効くように body.in-play を付けない */
.fx.play-situ.play-chapter,body .fx.play-situ.play-chapter{background:#0b131c!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;display:flex!important;align-items:center!important;justify-content:center!important}
.fx.play-situ.play-chapter .play-situ-card{background:transparent!important;box-shadow:none!important;color:#fff!important;max-width:360px!important;padding:0 8px!important}
.fx.play-situ.play-chapter .play-situ-h{display:none!important}
.fx.play-situ.play-chapter .play-chapter-h{margin:0 0 16px;font-size:14px;letter-spacing:.24em;color:#9fb3c8}
.fx.play-situ.play-chapter .play-situ-text{color:#fff!important;font-size:calc(19px * var(--fs));line-height:1.75}
.fx.play-situ.play-chapter .play-open-text{color:#cfe0ee!important}
.fx.play-situ.play-chapter .play-situ-close{background:#fff!important;color:#0b131c!important}
/* 共47③：銀行アプリの［確認］は 2-25 と同じ紺 */
#app .phone[data-medium="bank"] .uibtn:not(.cancel){background:#164f80!important}
/* 共47④：金額入力の段は、進みと見出しを送らない部分に */
body.in-play .experience[data-kind="bank"] .fx-box > .transfer-progress{margin:6px 16px 0;flex:none}
body.in-play .experience[data-kind="bank"] .fx-box > .operation-state{margin:6px 16px 4px;flex:none}
/* 共49：押した時に埋まる欄 */
.field .v.typing{display:inline-block;min-width:8em;min-height:1.5em;border-bottom:1px solid #aebfce}
/* 共52：盤の中に相手の言葉を書かない */
.atm-number-prompt{display:none!important}
/* 共53：ATM の通話中は、前の字幕は最後の 1 本だけ */
#app .phone .pn-body > .subtitle.old-hidden{display:none!important}
/* 共54：選択肢の注記を読める大きさ・濃さに */
#app .phone .play-opt .play-opt-note{font-size:1em!important;font-weight:500!important;color:inherit!important;opacity:1!important}
#app .phone .ask-wrap.play-bubbles:not(.play-ask-talk) .play-opt:not(.picked) .play-opt-note{color:#1d2b3a!important}
/* 共55：逮捕状の 3 行（氏名・事件番号・発付）を全部見せる（選ぶ・返す間は横並び） */
#app .phone.video.choosing .call-evidence .shared-warrant,#app .phone.video.replying .call-evidence .shared-warrant,#app .phone.video.play-fit .call-evidence .shared-warrant{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;padding:6px 8px}
#app .phone.video.choosing .call-evidence .shared-warrant h2,#app .phone.video.replying .call-evidence .shared-warrant h2,#app .phone.video.play-fit .call-evidence .shared-warrant h2{display:none}
#app .phone.video.choosing .call-evidence .shared-warrant-field,#app .phone.video.replying .call-evidence .shared-warrant-field,#app .phone.video.play-fit .call-evidence .shared-warrant-field{display:flex;flex-direction:column;gap:0;border-top:0;padding:0;justify-content:flex-start}
#app .phone.video.choosing .call-evidence .shared-warrant-field span,#app .phone.video.replying .call-evidence .shared-warrant-field span,#app .phone.video.play-fit .call-evidence .shared-warrant-field span{font-size:11px;line-height:1.3;color:#53606b}
#app .phone.video.choosing .call-evidence .shared-warrant-field strong,#app .phone.video.replying .call-evidence .shared-warrant-field strong,#app .phone.video.play-fit .call-evidence .shared-warrant-field strong{font-size:13px;line-height:1.3;text-align:left}
#app .phone.video.choosing .pn-upper > .call-evidence[data-kind="warrant"],#app .phone.video.replying .pn-upper > .call-evidence[data-kind="warrant"],#app .phone.video.play-fit .pn-upper > .call-evidence[data-kind="warrant"],
html[data-size="l"] #app .phone.video.choosing .pn-upper > .call-evidence[data-kind="warrant"],html[data-size="l"] #app .phone.video.replying .pn-upper > .call-evidence[data-kind="warrant"],html[data-size="l"] #app .phone.video.play-fit .pn-upper > .call-evidence[data-kind="warrant"],
html[data-size="xl"] #app .phone.video.choosing .pn-upper > .call-evidence[data-kind="warrant"],html[data-size="xl"] #app .phone.video.replying .pn-upper > .call-evidence[data-kind="warrant"],html[data-size="xl"] #app .phone.video.play-fit .pn-upper > .call-evidence[data-kind="warrant"]{max-height:none!important;overflow:visible!important;padding:4px 8px}
#app .phone.video .call-evidence[data-kind="warrant"] .evidence-enlarge{margin-top:4px}
/* 共57：口座名義の行を目立たせる */
.field.em .v,#app .phone[data-surface="bank"] .field.em .v,body.in-play .experience .field.em .v{font-weight:700;font-size:calc(20px * var(--fs));color:#102842}
/* 共58：グループを退会する時の LINE の確認シート */
body.in-play .fx.play-actsheet{display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:8px;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));background:rgba(12,22,34,.40)!important;z-index:16000}
.play-actsheet .sheet{width:100%;background:#fff;border-radius:14px;padding:16px 16px 0;text-align:center;box-sizing:border-box;color:#16222e}
.play-actsheet .sheet-title{margin:0;font-size:calc(17px * var(--fs));font-weight:700}
.play-actsheet .sheet-text{margin:6px 0 12px;font-size:calc(15px * var(--fs));color:#4b5a69;line-height:1.5}
body.in-play .fx.play-actsheet .sheet-ok{display:block;width:100%;min-height:52px;margin:0;border:0;border-top:1px solid #e6e9ee;border-radius:0;background:#fff!important;color:#d0342c!important;font-size:calc(18px * var(--fs));font-weight:700}
body.in-play .fx.play-actsheet .sheet-cancel{display:block;width:100%;min-height:52px;border:0;border-radius:14px;background:#fff;color:#1f5fae;font:inherit;font-size:calc(18px * var(--fs));font-weight:700}
.play-talklist-after{padding:16px!important;background:#fff;border:0}
/* 共56：着信の前のトーク（友だちになりました） */
#app .phone.play-ring-pre .pn-body{display:flex;flex-direction:column;justify-content:flex-start;padding-top:16px}
/* 共61：確認の電話で入り切らない時は吹き出しを詰める */
body.in-play .fx.play-callshell.tight .operation-message{padding:8px 10px!important;font-size:calc(16px * var(--fs))!important}
body.in-play .fx.play-callshell.tight .fx-screen{gap:10px!important}
/* 共47④：金額入力で入り切らない時（entry-tight）は、進み・見出し・下のボタンの段を詰める（金額の欄と数字のボタンを 1 画面に） */
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) > .transfer-progress li{padding:4px 2px}
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) > .transfer-progress{margin:2px 16px 0}
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) > .operation-state{font-size:calc(19px * var(--fs));line-height:1.35;margin:2px 16px 0}
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) .native-actions{padding-top:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) .native-actions .bank-entry-cancel{min-height:44px;margin-top:4px}
.play-actsheet .sheet-ok:focus:not(:focus-visible){outline:none}
/* 共53：ATM の通話中は前の字幕を最後の 1 本だけに（他の表示の決まりより強く）・当社の返答 1 つの時も盤の見本を出す */
html body #app .phone.play-screen .pn-body > .subtitle.old.old-hidden{display:none!important}
#app .phone.atm.replying .pad-only.play-pad-preview{display:block!important;padding:10px 12px;margin:6px 0;box-sizing:border-box}
#app .phone.atm.replying .pad-only.play-pad-preview .numlabel{margin:0 0 4px;font-size:18px;line-height:1.3}
#app .phone.atm.replying .pad-only.play-pad-preview .numamt{height:44px;min-height:44px;box-sizing:border-box;padding:6px 12px;font-size:26px;margin:0 0 6px;line-height:1.2}
#app .phone.atm.replying .pad-only.play-pad-preview .padhere{display:none}
#app .phone.atm.replying .pad-only.play-pad-preview .numpad{display:none!important}   /* 返事の欄が出ている間は「振込金額 0」の画面だけ（数字キーは次の画面） */
#app .phone.atm.replying .pad-only.play-pad-preview .atmkey{height:40px;min-height:40px;font-size:20px;line-height:1;padding:0;border-radius:8px;box-shadow:none!important}
#app .phone .play-pad-preview .numlabel{display:none}   /* 段3m（v8 ③）：見出しは金額の行の左に */
#app .phone .play-pad-preview .numamt{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
#app .phone .play-pad-preview .numamt-head{flex:none;font-size:15px;font-weight:700;color:#0b3a63}
#app .phone .play-pad-preview .numamt-v{margin-left:auto}
#app .phone.choosing .pad-only.play-pad-preview{padding:10px 12px;margin:6px 0}   /* 段3m（v8 ③）：選ぶ間の見本の盤は詰めて、見出しの行から 0 のキーまで 1 画面に */
#app .phone.choosing .pad-only.play-pad-preview .numamt{height:48px;min-height:48px;padding:6px 12px;font-size:26px;margin:0 0 6px}
#app .phone.choosing .pad-only.play-pad-preview .numpad{gap:6px}
#app .phone.choosing .pad-only.play-pad-preview .atmkey{height:48px;min-height:48px;font-size:22px}
/* 共40：白い板にしても、選択肢の形と高さは今までの板と同じ（.ask-wrap.sheet の大きい余白・56px を持ち込まない） */
#app .phone:not(.fit-tight) .ask-wrap.play-bubbles.play-ask-talk.sheet{padding:8px 14px 0!important}   /* 下の余白は固定の段（読み返す）の中に持つ（板の下の余白があると固定の段が浮いて、選択肢の切れ目とずれる） */
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important}
#app .phone.fit-tight .ask-wrap.play-bubbles.play-ask-talk.sheet{padding:0 14px 0!important}   /* 詰める時は今までの板と同じ上下 0（下の固定の段と選択肢の切れ目がずれない） */
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet > .reply-prompt{margin:0 2px 6px!important}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet .choices{gap:10px}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet .choices .play-opt{margin:0;padding:10px 14px;min-height:48px;line-height:1.5}
#app .phone .ask-wrap.play-bubbles.play-ask-talk.sheet .choices .play-opt .lbl{line-height:1.5!important}
/* 共40：入り切らない時（fit-tight）は、下の段を赤い丸だけにして板の［読み返す］の段の右に置く（赤い丸は常に見える） */
#app .phone.play-screen.fit-tight.ios-call.choosing > .pn-lower,#app .phone.play-screen.fit-tight.video.choosing > .pn-lower,
#app .phone.play-screen.fit-tight.ios-call.replying > .pn-lower,#app .phone.play-screen.fit-tight.video.replying > .pn-lower{position:absolute!important;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));padding:0!important;gap:0!important;z-index:6;background:transparent!important}
#app .phone.play-screen.fit-tight.choosing > .pn-lower .pn-callbtns,#app .phone.play-screen.fit-tight.replying > .pn-lower .pn-callbtns{display:none!important}
#app .phone.play-screen.fit-tight.ios-call,#app .phone.play-screen.fit-tight.video{position:relative}
#app .phone.fit-tight.ios-call .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot,#app .phone.fit-tight.video .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot,#app .phone.fit-tight.ios-call > .dialogue-replies.play-talk-reply.sheet > .play-foot,#app .phone.fit-tight.video > .dialogue-replies.play-talk-reply.sheet > .play-foot{padding-right:58px!important}
#app .phone.landline.choosing .pn-end::after,#app .phone.landline.replying .pn-end::after{display:none!important}   /* 選ぶ・返す間は下の段を小さく（「受話器を置く」の字は出さない） */
/* 共40：詰める時（fit-tight）のビデオ通話は顔を 92px に（X37 の 90px は守る） */
#app .phone.video.fit-tight.choosing .pn-video>img,#app .phone.video.fit-tight.replying .pn-video>img{height:92px!important}
/* 共40：文字 大・特大では、選ぶ・返す間の下の段は赤い丸だけ（板の［読み返す］の段の右）。台詞と選択肢に高さを回す（赤い丸は常に見える） */
html[data-size="l"] #app .phone.play-screen.ios-call.choosing > .pn-lower,html[data-size="l"] #app .phone.play-screen.video.choosing > .pn-lower,html[data-size="l"] #app .phone.play-screen.ios-call.replying > .pn-lower,html[data-size="l"] #app .phone.play-screen.video.replying > .pn-lower,
html[data-size="xl"] #app .phone.play-screen.ios-call.choosing > .pn-lower,html[data-size="xl"] #app .phone.play-screen.video.choosing > .pn-lower,html[data-size="xl"] #app .phone.play-screen.ios-call.replying > .pn-lower,html[data-size="xl"] #app .phone.play-screen.video.replying > .pn-lower{position:absolute!important;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));padding:0!important;gap:0!important;z-index:6;background:transparent!important}
html[data-size="l"] #app .phone.play-screen.choosing > .pn-lower .pn-callbtns,html[data-size="l"] #app .phone.play-screen.replying > .pn-lower .pn-callbtns,html[data-size="xl"] #app .phone.play-screen.choosing > .pn-lower .pn-callbtns,html[data-size="xl"] #app .phone.play-screen.replying > .pn-lower .pn-callbtns{display:none!important}
html[data-size="l"] #app .phone.play-screen.ios-call,html[data-size="l"] #app .phone.play-screen.video,html[data-size="xl"] #app .phone.play-screen.ios-call,html[data-size="xl"] #app .phone.play-screen.video{position:relative}
html[data-size="l"] #app .phone.ios-call .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot,html[data-size="l"] #app .phone.video .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot,html[data-size="l"] #app .phone.ios-call > .dialogue-replies.play-talk-reply.sheet > .play-foot,html[data-size="l"] #app .phone.video > .dialogue-replies.play-talk-reply.sheet > .play-foot,
html[data-size="xl"] #app .phone.ios-call .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot,html[data-size="xl"] #app .phone.video .ask-wrap.play-bubbles.play-ask-talk.sheet > .play-foot,html[data-size="xl"] #app .phone.ios-call > .dialogue-replies.play-talk-reply.sheet > .play-foot,html[data-size="xl"] #app .phone.video > .dialogue-replies.play-talk-reply.sheet > .play-foot{padding-right:58px!important}
/* 共47④（続き）：金額入力で入り切らない時は、アプリの頭・進み・余白も詰める（進み・見出し・金額の欄・数字のボタンを小さい画面・大きい文字でも 1 画面に） */
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) > .operation-head{padding-top:6px!important;padding-bottom:6px!important;min-height:0!important}
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) > .transfer-progress li{padding:3px 0!important;font-size:12px!important;white-space:nowrap;letter-spacing:-.02em}
body.in-play .experience[data-kind="bank"] .fx-screen.entry-tight{padding-bottom:6px!important}
body.in-play .experience[data-kind="bank"] .fx-screen.entry-tight .bank-amount-row{margin:0!important}
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) > .operation-state{font-size:18px!important;line-height:1.3!important}
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) .native-actions .operation-button{font-size:17px!important;min-height:48px!important;padding:8px 12px!important;line-height:1.3!important}
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) .native-actions .bank-entry-cancel{font-size:16px!important;min-height:44px!important;padding:4px 12px!important;line-height:1.3!important}
body.in-play .experience[data-kind="bank"] .fx-box:has(> .fx-screen.entry-tight) .op-callband-line{font-size:16px!important;line-height:1.4!important}
/* 共47（同じ画面の見た目）：銀行・ATM の操作の画面の通話の帯は、上の ATM の帯と同じ全幅の帯（丸い札・青い字にしない） */
.op-callband-wrap .callbar{border-radius:0!important;align-self:stretch!important;border:0!important;width:auto!important}
.op-callband-wrap .callbar .state{color:#fff!important}
.op-callband-wrap .callbar .timer{color:#dbe7f3!important}
/* 共61：確認の電話で入り切らない時（tight）・文字 大・特大は、下の段を赤い丸だけにし、吹き出しの字を 17px までにして、本人の台詞と相手の返事を 1 画面に */
html[data-size="l"] body.in-play .fx.play-callshell .pn-lower .pn-callbtns,html[data-size="xl"] body.in-play .fx.play-callshell .pn-lower .pn-callbtns,body.in-play .fx.play-callshell.tight .pn-lower .pn-callbtns{display:none!important}
html[data-size="l"] body.in-play .fx.play-callshell .pn-lower,html[data-size="xl"] body.in-play .fx.play-callshell .pn-lower,body.in-play .fx.play-callshell.tight .pn-lower{padding:4px 4px 6px!important}
body.in-play .fx.play-callshell.tight .operation-message .message-text{font-size:min(calc(16px * var(--fs)),17px)!important;line-height:1.5!important}
body.in-play .fx.play-callshell.tight .operation-message{padding:6px 10px!important}
body.in-play .fx.play-callshell.tight .fx-screen{padding-top:8px!important;padding-bottom:8px!important;gap:8px!important}
/* 共39：通知の帯の文は iPhone と同じく 3 行まで（大きい文字でも帯が画面の半分を覆わない） */
.play-notify .play-notify-text{display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.play-notify .play-notify-who{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* 共39：通知の帯の字は大きい文字でも 17px まで（iPhone の通知と同じく帯が画面の上の 1/3 に収まる。下の見出しを押し下げすぎない） */
.play-notify .play-notify-text,.play-sms-banner .play-sms-banner-text{font-size:min(calc(15px * var(--fs)),17px)!important;line-height:1.45}
.play-notify .play-notify-who,.play-sms-banner .play-sms-banner-who{font-size:min(calc(16px * var(--fs)),17px)!important}

/* v45（早送りなしの通し・5-07 320・特大）：読む間（［次の会話へ］）に最後の台詞が入らない時だけ、余白を詰める（play.js layoutFit が read-tight を付ける・字の大きさは変えない） */
#app .phone.play-screen.read-tight > .skipbox{padding-top:4px!important;padding-bottom:4px!important}
#app .phone.play-screen.read-tight > .pn-lower{padding-top:2px!important;padding-bottom:2px!important}
#app .phone.play-screen.read-tight > .pn-body{padding-top:4px!important;padding-bottom:2px!important}
/* v45（早送りなし・2-05）：手帳・逮捕状を見せている間に最後の台詞が入らない時だけ（play.js layoutFit が ev-fit を付ける）。［大きく見る］は枠の右下の角に重ね、逮捕状は選ぶ間と同じ3列にする */
#app .phone.video.ev-fit .pn-upper > .call-evidence{padding-top:4px;padding-bottom:4px;max-height:none!important;overflow:visible!important}
#app .phone.video.ev-fit .call-evidence[data-kind="badge"] .evidence-enlarge{position:absolute;right:8px;bottom:6px;margin:0!important;z-index:2}
#app .phone.video.ev-fit .call-evidence .shared-warrant{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;padding:6px 8px}
#app .phone.video.ev-fit .call-evidence .shared-warrant h2{display:none}
#app .phone.video.ev-fit .call-evidence .shared-warrant-field{display:flex;flex-direction:column;gap:0;border-top:0;padding:0;justify-content:flex-start}
#app .phone.video.ev-fit .call-evidence .shared-warrant-field span{font-size:11px;line-height:1.3;color:#53606b}
#app .phone.video.ev-fit .call-evidence .shared-warrant-field strong{font-size:13px;line-height:1.3;text-align:left}
#app .phone.video.ev-fit .call-evidence[data-kind="warrant"] .evidence-enlarge{margin-top:4px;min-height:40px;padding-top:4px;padding-bottom:4px}
#app .phone.video.ev-fit.ev-fit-nobtn .call-evidence[data-kind="warrant"] .evidence-enlarge{display:none!important}
/* v45（早送りなし・6-17t 320・特大）：読む間に最後の台詞が入らない時だけ、固定電話の赤い丸の下の「受話器を置く」を畳む（赤い丸と「電話を切る」は残す） */
#app .phone.play-screen.landline.read-tight .pn-end::after{display:none!important}
/* v45（早送りなしの通し・手口2 2-06／2-12・320・特大）：読みの詰め・手帳と逮捕状の詰めの後も最後の台詞が本文の段に入らない時だけ（play.js layoutFit が line-tight を付ける）、その台詞の行間と吹き出しの余白を詰める。字の大きさは変えない */
#app .phone.play-screen.line-tight > .pn-body > .subtitle{padding-top:6px!important;padding-bottom:6px!important;margin-top:4px!important}
#app .phone.play-screen.line-tight > .pn-body > .subtitle > .sp{margin-bottom:2px!important}
#app .phone.play-screen.line-tight > .pn-body > .subtitle,#app .phone.play-screen.line-tight > .pn-body > .subtitle > .utterance,#app .phone.play-screen.line-tight > .pn-body > .msg-row .msg{line-height:1.4!important}   /* 字の行（utterance）は inline なので、行の高さは吹き出し（subtitle）の行間で決まる。両方に当てる */

.emph.emph-red{color:#d23b2e; font-weight:700}   /* 県0929 36 */

/* 県0929 28（70代役・県担当役 Must）：ATM の数字キーの見本と選択肢の間も、相手の最後の台詞（受付番号の指示）を出す。選ぶ間に字幕を隠す 735・753 行の例外 */
#app .phone.atm.choosing:has(.play-pad-preview) .pn-body>.subtitle.latest{display:block!important}
/* 県0929 28 の続き：高さ 720px 以下の画面では、字幕を出した分、選ぶ間の見本の盤は「振込金額 0」の行だけにする（1809 行の返事の間と同じ扱い。数字キーは選んだ次の画面で出る）。選択肢2つを読み返すボタンの上に収める */
@media (max-height:720px){#app .phone.atm.choosing:has(.play-pad-preview) .pad-only.play-pad-preview .numpad{display:none!important}}
/* 県0929 4（2-06 の県の文が1行増えた・早送りなしの通し 320・特大）：逮捕状を詰め、行間も詰めても最後の台詞の頭が逮捕状の下に隠れる時だけ（ev-fit-nobtn と line-tight が両方付いた時）、ビデオ通話の上の2行目（「ビデオ通話 通話中 00:17」）を畳む。相手の名前・顔・赤い終了ボタンは残す。字の大きさは変えない */
#app .phone.play-screen.video.ev-fit-nobtn.line-tight .pn-video .ov .who-sub,#app .phone.play-screen.video.ev-fit-nobtn.line-tight .pn-video .ov .st{display:none!important}
/* 2026-10-06 紺の答えのボタン（会話の場面）の中の字と「›」は白。phone.css の .lbl{color:#111} が当たって紺地に黒字になっていた */
#app .phone .ask-wrap.play-bubbles.play-ask-talk .play-opt .lbl,#app .phone .ask-wrap.play-bubbles.play-ask-talk .play-opt .lbl:after{color:#fff!important}
/* 2026-10-06 通知の札のアプリ名・未読の数の札は濃い緑（字と地の対比4.5以上） */
.play-notify-app,.play-sms-banner .play-notify-app{color:#047a37}
.play-talkrow-badge{background:#047a37}

/* 県修正03 Must M8（2026-10-07）：振込の後で［振込をやめる］を押した時の銀行アプリの中止の表示 */
.bank-cancelled{margin:24px 16px;padding:20px 18px;background:#fff;border-radius:12px;border:1px solid #d5dde5;text-align:center}
.bank-cancelled-title{font-size:20px;font-weight:700;color:#14324a;margin:0 0 8px}
.bank-cancelled-text{font-size:16px;line-height:1.6;color:#344d61;margin:0}
/* 2026-10-08 中居さん連絡（おれおれ「封筒を渡す場面、画像が切れてる」）：縦長の封筒の写真2枚（正方形1024）は横長の枠で上下が切れていた。
   枠を正方形にして写真全体を出す（幅は画面の高さに合わせて縮め、左右中央）。:has の効かない端末は contain で全体を出す */
body.in-play .world-photo:has(> img[src*="envelope_handover_long_v51"]),
body.in-play .world-photo:has(> img[src*="cash_envelope_long_v51"]),
body.in-play .fx.play-place .world-photo:has(> img[src*="cash_envelope_long_v51"]),
body.in-play .experience.world-conversation .world-photo:has(> img[src*="envelope_handover_long_v51"]){aspect-ratio:1/1;height:auto;width:min(100%,42dvh);max-height:none;margin-inline:auto}
body.in-play .experience.world-conversation .world-photo:has(> img[src*="envelope_handover_long_v51"]){width:min(100%,36dvh)}
body.in-play .world-photo img[src*="envelope_handover_long_v51"],body.in-play .world-photo img[src*="cash_envelope_long_v51"]{object-position:center}
@supports not selector(:has(a)){.world-photo img[src*="envelope_handover_long_v51"],.world-photo img[src*="cash_envelope_long_v51"]{object-fit:contain}}
@media (max-height:700px){body.in-play .experience.world-conversation .world-photo:has(> img[src*="envelope_handover_long_v51"]){width:min(100%,24dvh)}}
/* 2026-10-08 全体点検（井埜さん「ほんとに他にはない？」）：結末の一枚が高さ170pxの横長枠で上下の約半分を切っていた（封筒・カード・スマホが枠の外へ）。結末は縦に送って読む画面なので、写真は切らずに全体を見せる（正方形なら画面の高さの4割前後・中央） */
.play-end-photo{width:fit-content;max-width:100%;margin-inline:auto}
.play-end-photo img{width:auto!important;max-width:100%;height:auto!important;max-height:min(42dvh,340px)!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important}
/* 2026-10-08 中居さん（還付金 ATM の［確認］が電話のやりとりの中に出る）：声が流れている間は ATM の画面（.ui・盤・掲示）を隠すが、場面8 の［確認］の板（.uibtns）だけ隠れずに台詞の間へ出ていた。ATM の画面と同じく隠す */
#app .phone.atm:not(.choosing):not(.replying):not(.composing) .pn-body>.uibtns{display:none!important}
