.fp-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 56px); align-items: start; }
/* タブレットの縦向きから、口座を画面の横に並べ、残高と伝えたことを同時に見られるようにする */
@media (min-width: 760px) { .fp-stage { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (min-width: 1000px) { .fp-stage { grid-template-columns: minmax(0, 1fr) 340px; } }
.screen { display: grid; justify-items: center; }

/* スマートフォン（画面の中は、どちらのテーマでも同じ色） */
.phone { width: min(360px, 100%); background: #131417; border-radius: 44px; padding: 10px; box-shadow: 0 0 0 1px rgba(128, 128, 128, .28), 0 40px 80px -40px rgba(0, 0, 0, .55); }
.fph { position: relative; overflow: hidden; background: #fff; color: #1b1b1b; border-radius: 34px; height: clamp(560px, 74vh, 660px); font-family: var(--font-body); letter-spacing: .02em; isolation: isolate; }
.ph-sb { position: absolute; top: 0; left: 0; right: 0; z-index: 8; display: flex; justify-content: space-between; align-items: center; padding: 12px 26px 4px; font-size: .75rem; font-weight: 700; color: #fff; pointer-events: none; }
.fph[data-s="sBank"] .ph-sb, .fph[data-s="sFam"] .ph-sb, .fph[data-s="sDial"] .ph-sb { color: #1b1b1b; }
.ph-sb .ic { display: flex; align-items: flex-end; gap: 2px; }
.ph-sb .ic i { width: 3px; background: currentColor; border-radius: 1px; }
.ph-sb .ic i:nth-child(1) { height: 5px; } .ph-sb .ic i:nth-child(2) { height: 7px; } .ph-sb .ic i:nth-child(3) { height: 9px; }
.ph-sb .ic b { width: 20px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; margin-left: 6px; position: relative; }
.ph-sb .ic b::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; background: currentColor; border-radius: 1px; }

.scr { position: absolute; inset: 0; display: flex; flex-direction: column; animation: fade .35s ease both; }
.scr[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* 丸いボタン（電話を切る・出る） */
.cb { appearance: none; border: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; flex: none; touch-action: manipulation; transition: transform .2s; }
.cb[hidden] { display: none; }
.cb svg { width: 28px; height: 28px; fill: currentColor; }
.cb.red { background: #e0413a; }
.cb.red svg { transform: rotate(135deg); }
.cb.green { background: #2fb457; }
@media (hover: hover) { button.cb:hover, .rg-b:hover .cb { transform: scale(1.06); } }
button.cb:active, .rg-b:active .cb { transform: scale(.94); }
.cb:focus-visible, .rg-b:focus-visible, .ch:focus-visible { outline: 3px solid #ffd34d; outline-offset: 3px; }

/* 着信 */
.s-ring, .s-call, .s-after { background: linear-gradient(180deg, #33415a 0%, #1a2130 55%, #0e1219 100%); color: #fff; }
.rg-top { padding: 64px 20px 0; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.rg-k { font-size: .78rem; color: #c3c9d6; }
.rg-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: .02em; line-height: 1.3; }
.rg-sub { font-size: .86rem; color: #c3c9d6; }
.rg-mid { flex: 1; display: grid; place-items: center; }
.rg-av { width: 104px; height: 104px; border-radius: 50%; background: #5b6679; display: grid; place-items: center; }
.rg-av svg { width: 60px; height: 60px; fill: #c9d0dc; }
.fph[data-s="sRing"] .rg-av { animation: ring 1.4s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); } 100% { box-shadow: 0 0 0 28px rgba(255, 255, 255, 0); } }
.rg-opt { display: flex; justify-content: space-around; padding: 0 30px 18px; font-size: .72rem; color: #c3c9d6; }
.rg-opt span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rg-opt svg { width: 22px; height: 22px; fill: none; stroke: #c3c9d6; stroke-width: 1.6; stroke-linejoin: round; }
.rg-btns { display: flex; justify-content: space-around; padding: 0 22px 44px; }
.rg-b { appearance: none; background: none; border: 0; color: #fff; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 16px; cursor: pointer; touch-action: manipulation; }
.rg-b .lb { font-size: .86rem; }
.fph[data-s="sRing"] #answer .cb, .fph[data-s="sVring"] #vAnswer .cb { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 76% { transform: rotate(-12deg); } 82% { transform: rotate(12deg); } 88% { transform: rotate(-8deg); } 94% { transform: rotate(6deg); } }

/* 通話中 */
.cl-head { padding: 46px 20px 6px; text-align: center; display: flex; flex-direction: column; gap: 2px; flex: none; }
.cl-head b { font-family: var(--font-head); font-size: 1.25rem; }
.cl-head span { font-size: .8rem; color: #c3c9d6; font-family: var(--mono); }
.cl-keys { display: flex; justify-content: center; gap: 22px; padding: 8px 0 4px; flex: none; font-size: .68rem; color: #c3c9d6; }
.cl-keys span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cl-keys i { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.cl-keys svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cl-keys svg circle { fill: #fff; stroke: none; }
.cl-log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22px); mask-image: linear-gradient(to bottom, transparent, #000 22px); }
.cl-log > :first-child { margin-top: auto; }
.ln { font-size: .84rem; line-height: 1.7; padding: 7px 12px; border-radius: 14px; background: rgba(255, 255, 255, .12); max-width: 92%; align-self: flex-start; animation: rise .3s ease both; overflow-wrap: anywhere; }
.ln small { display: block; font-size: .72rem; color: #c3c9d6; }
.ln.me { align-self: flex-end; background: rgba(120, 200, 160, .22); }
.ln.auto { font-style: normal; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .3); }
.ln.sys { align-self: center; background: none; color: #aeb6c4; font-size: .76rem; padding: 2px 0; }
.cl-end { display: flex; justify-content: center; padding: 6px 0 22px; flex: none; }

/* 返事の選択肢 */
.chs { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 0 14px 10px; }
.chs:empty { padding: 0; }
.chs:focus { outline: none; }
.ch { appearance: none; min-height: 48px; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); color: #fff; border-radius: 16px; padding: 10px 14px; font: inherit; font-size: .88rem; font-weight: 700; line-height: 1.5; cursor: pointer; touch-action: manipulation; animation: rise .3s ease both; transition: background .2s, transform .15s; text-align: center; }
.ch:nth-child(2) { animation-delay: .06s; } .ch:nth-child(3) { animation-delay: .12s; }
@media (hover: hover) { .ch:hover { background: rgba(255, 255, 255, .22); } }
.ch:active { transform: scale(.98); }
.ch.safe { border-color: #7fe0b0; color: #c9f4dd; }
.chs.bk .ch { background: #fff; color: #23553a; border-color: #23553a; }
.chs.bk .ch.pay { background: #2f7a4f; color: #fff; border-color: #2f7a4f; font-size: 1rem; min-height: 54px; }
.chs.bk .ch.safe { color: #444; border-color: #9a9a9a; font-weight: 400; }
.chs.bk .ch:focus-visible { outline-color: #c03a22; }
@media (hover: hover) { .chs.bk .ch:hover { background: #eef6f1; } .chs.bk .ch.pay:hover { background: #276843; } }

/* 通知 */
.bn { position: absolute; left: 8px; right: 8px; top: 34px; z-index: 9; display: none; grid-template-columns: 28px 1fr; gap: 0 10px; background: rgba(244, 244, 247, .97); color: #1b1b1b; border-radius: 16px; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); padding: 9px 12px; font-size: .78rem; line-height: 1.6; pointer-events: none; }
.bn.on { display: grid; animation: bnIn .55s cubic-bezier(.2, .9, .3, 1.15) both; }
@keyframes bnIn { from { transform: translateY(-130%); opacity: 0; } }
.bn .ic { grid-row: span 2; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; margin-top: 2px; background: #2fb457; }
.bn .ic.tk { background: linear-gradient(135deg, #2aa6a0, #2468b3); }
.bn .ic svg { width: 16px; height: 16px; fill: #fff; }
.bn .hd { display: flex; justify-content: space-between; gap: 8px; color: #555; font-size: .72rem; }
.bn .bd { overflow-wrap: anywhere; }

/* メッセージアプリの着信 */
.s-vring { background: linear-gradient(180deg, #1d6f8f 0%, #164e6e 50%, #0e2c40 100%); color: #fff; }
.vr-app { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 52px; font-size: .82rem; color: #d3e6ee; }
.tk-ic { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #2aa6a0, #2468b3); display: grid; place-items: center; }
.tk-ic svg { width: 14px; height: 14px; fill: #fff; }
.vr-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 0 20px; }
.vr-av { width: 108px; height: 108px; border-radius: 50%; background: #e9eef3; display: grid; place-items: center; margin-bottom: 10px; }
.fph[data-s="sVring"] .vr-av { animation: ring 1.4s ease-out infinite; }
.vr-av svg { width: 64px; height: 64px; fill: #1f2b47; }
.vr-av svg .st { fill: #d9b54a; }
.vr-name { font-family: var(--font-head); font-size: 1.3rem; }
.vr-sub { font-size: .84rem; color: #d3e6ee; }

/* ビデオ通話 */
.s-video { background: #0d0f14; color: #fff; }
.vv { position: absolute; inset: 0; overflow: hidden; }
.vv .cop { width: 100%; height: 100%; display: block; filter: saturate(.92) contrast(1.02); }
.vv .grain { position: absolute; inset: -20px; opacity: .22; background: repeating-radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .5) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 3px); animation: grain .5s steps(4) infinite; pointer-events: none; }
@keyframes grain { 25% { transform: translate(4px, -3px); } 50% { transform: translate(-3px, 5px); } 75% { transform: translate(5px, 2px); } }
.fph[data-s="sVideo"] .vv .cop { animation: sway 6s ease-in-out infinite; }
@keyframes sway { 50% { transform: translate(-4px, 3px) scale(1.015); } }
.v-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; padding: 36px 92px 26px 16px; display: flex; flex-direction: column; gap: 1px; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); font-size: .72rem; }
.v-top .v-app { color: #cfe7ee; }
.v-top b { font-size: .9rem; line-height: 1.4; }
.v-top span:last-child { font-family: var(--mono); color: #d7dbe3; }
.pip { position: absolute; top: 40px; right: 12px; z-index: 3; width: 66px; height: 88px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .6), 0 6px 16px rgba(0, 0, 0, .4); }
.pip svg { width: 100%; height: 100%; display: block; }
.doc { position: absolute; z-index: 3; left: 50%; top: 92px; transform: translateX(-50%); animation: hold .7s cubic-bezier(.2, .9, .3, 1.1) both; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.doc[hidden] { display: none; }
@keyframes hold { from { transform: translateX(-50%) translateY(40px) rotate(-6deg) scale(.7); opacity: 0; } }
.doc.badge { width: 46%; max-width: 168px; border-radius: 12px; }
.doc.badge svg { display: block; width: 100%; height: auto; }
.doc.warrant { width: 80%; max-width: 290px; background: #fbf8ef; color: #1b1b1b; border-radius: 3px; padding: 12px 14px 10px; font-size: .66rem; line-height: 1.5; transform: translateX(-50%) rotate(-1.5deg); }
.w-h { margin: 0 0 6px; text-align: center; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; }
.w-h small { font-size: .62rem; letter-spacing: 0; font-weight: 400; }
.doc.warrant dl { margin: 0; border-top: 1px solid #333; }
.doc.warrant dl div { display: grid; grid-template-columns: 6.6em 1fr; border-bottom: 1px solid #333; }
.doc.warrant dt { padding: 3px 4px; border-right: 1px solid #333; background: #f0ead8; }
.doc.warrant dd { margin: 0; padding: 3px 6px; }
.doc.warrant .w-you { font-weight: 700; color: #8a1c12; }
.w-f { margin: 8px 0 0; text-align: right; position: relative; padding-right: 46px; min-height: 34px; line-height: 34px; }
.w-seal { position: absolute; right: 0; top: -4px; width: 40px; height: 40px; border: 2px solid #c43a2c; border-radius: 50%; color: #c43a2c; font-size: .58rem; line-height: 1.2; display: grid; place-items: center; text-align: center; font-weight: 700; transform: rotate(-12deg); opacity: .85; }
.v-low { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; flex-direction: column; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55) 18%, rgba(0, 0, 0, .78)); padding-top: 24px; max-height: 62%; }
.v-cap { min-height: 0; flex: 0 1 auto; max-height: 152px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 0 14px 10px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18px); mask-image: linear-gradient(to bottom, transparent, #000 18px); }
.v-cap > :first-child { margin-top: auto; }
.v-cap .ln { background: rgba(0, 0, 0, .55); }
.v-cap .ln.me { background: rgba(60, 140, 110, .55); }
.v-ctl { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 8px 0 20px; flex: none; }
.vc { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.vc svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.v-ctl .cb { width: 56px; height: 56px; }

/* 銀行のアプリ */
.s-bank { background: #f4f6f5; color: #1b1b1b; }
.bk-head { background: #2f7a4f; color: #fff; padding: 40px 16px 12px; display: flex; align-items: center; gap: 8px; flex: none; }
.bk-head b { font-family: var(--font-head); font-size: 1rem; }
.bk-logo { width: 26px; height: 26px; border-radius: 7px; background: #fff; display: grid; place-items: center; }
.bk-logo svg { width: 18px; height: 18px; fill: #2f7a4f; }
.bk-say { display: flex; align-items: flex-start; gap: 10px; margin: 10px 12px 0; padding: 8px 10px; background: #1f2633; color: #fff; border-radius: 14px; font-size: .78rem; line-height: 1.6; flex: none; animation: rise .3s ease both; }
.bk-say p { margin: 0; min-height: 1.6em; }
.bk-say p small { display: block; color: #aeb6c4; font-size: .7rem; }
.bk-pip { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; flex: none; box-shadow: 0 0 0 1.5px #2fb457; }
.bk-pip svg { width: 100%; height: 100%; display: block; }
.bk-body { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 14px; }
.bk-h { margin: 0 0 8px; font-family: var(--font-head); font-weight: 700; font-size: .98rem; }
.bk-dl { margin: 0; background: #fff; border-radius: 12px; padding: 2px 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.bk-dl div { display: grid; grid-template-columns: 6.2em 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid #ececec; font-size: .8rem; line-height: 1.6; }
.bk-dl div:last-child { border-bottom: 0; }
.bk-dl dt { color: #666; }
.bk-dl dd { margin: 0; overflow-wrap: anywhere; }
.bk-dl .amt dd { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #1b1b1b; }
.chs.bk { padding: 8px 14px 20px; background: #f4f6f5; }
.bk-done { position: absolute; inset: 0; z-index: 5; background: #f4f6f5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; animation: fade .35s ease both; }
.bk-done[hidden] { display: none; }
.bk-ok { width: 72px; height: 72px; border-radius: 50%; background: #2f7a4f; display: grid; place-items: center; }
.bk-ok svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bk-done b { font-family: var(--font-head); font-size: 1.05rem; }
.bk-done small { font-family: var(--mono); font-size: .72rem; color: #666; }

/* 家族のトーク */
.s-fam { background: #e7eef2; color: #1b1b1b; }
.fm-head { display: flex; align-items: baseline; gap: 10px; padding: 40px 16px 10px; background: #fff; border-bottom: 1px solid #dde3e7; flex: none; }
.fm-back { font-size: 1.5rem; line-height: 1; color: #555; }
.fm-head b { font-size: .95rem; }
.fm-head small { font-size: .72rem; color: #777; margin-left: auto; }
.fm-pin { display: flex; align-items: center; gap: 10px; margin: 8px 10px 0; padding: 8px 12px; background: #fff7dc; border-radius: 12px; font-size: .78rem; line-height: 1.5; flex: none; }
.fm-pin svg { width: 18px; height: 18px; fill: #c08a12; flex: none; }
.fm-pin b { display: block; font-size: .7rem; color: #8a5a10; }
.fm-log { flex: 1; min-height: 0; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
.fm-log > :first-child { margin-top: auto; }
.fm { max-width: 82%; align-self: flex-start; animation: rise .3s ease both; }
.fm small { display: block; font-size: .7rem; color: #555; margin: 0 0 2px 4px; }
.fm p { margin: 0; background: #fff; border-radius: 4px 16px 16px 16px; padding: 8px 12px; font-size: .84rem; line-height: 1.7; overflow-wrap: anywhere; }
.fm.me { align-self: flex-end; }
.fm.me p { background: #bfe8e1; border-radius: 16px 4px 16px 16px; }
.fm.typing p { color: #888; letter-spacing: .3em; }

/* 電話をかける */
.s-dial { background: #fff; color: #1b1b1b; align-items: center; }
.dl-num { min-height: 56px; margin-top: 76px; font-size: 2rem; font-family: var(--font-head); letter-spacing: .06em; }
.dl-pad { display: grid; grid-template-columns: repeat(3, 66px); gap: 14px 22px; margin-top: 18px; }
.dl-pad span { width: 66px; height: 66px; border-radius: 50%; background: #eceef1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.6rem; line-height: 1; transition: background .15s; }
.dl-pad span small { font-size: .52rem; letter-spacing: .12em; color: #555; margin-top: 2px; }
.dl-pad span.hit { background: #c3c8cf; }
.dl-call { margin-top: 18px; width: 66px; height: 66px; border-radius: 50%; background: #2fb457; display: grid; place-items: center; }
.dl-call svg { width: 28px; height: 28px; fill: #fff; }

/* 電話を切った後 */
.af-clock { text-align: center; padding-top: 58px; flex: none; }
.af-clock b { font-family: var(--font-head); font-size: 3.6rem; font-weight: 700; letter-spacing: .02em; line-height: 1.1; }
.af-cards { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 18px 12px; }
.af-c { background: rgba(255, 255, 255, .14); border-radius: 16px; padding: 10px 14px; font-size: .8rem; line-height: 1.6; animation: rise .35s ease both; }
.af-c .hd { display: flex; justify-content: space-between; gap: 8px; color: #c3c9d6; font-size: .72rem; }
.af-c b { display: block; }
.af-c p { margin: 2px 0 0; color: #e7ebf2; }

/* 実機のスマートフォンでは、端末の枠を省き、画面の幅と高さいっぱいに表示する */
@media (max-width: 600px) {
  .screen { margin-inline: -8px; }
  .phone { width: 100%; padding: 0; background: none; border-radius: 24px; box-shadow: 0 0 0 1px rgba(128, 128, 128, .3), 0 24px 48px -32px rgba(0, 0, 0, .45); }
  .fph { border-radius: 24px; height: clamp(500px, calc(100vh - 88px), 680px); height: clamp(500px, calc(100svh - 88px), 680px); }
  .ph-sb { display: none; }
  .bn { top: 8px; }
  .rg-top { padding-top: 44px; }
  .cl-head { padding-top: 22px; }
  .vr-app { padding-top: 30px; }
  .v-top { padding-top: 14px; }
  .pip { top: 14px; }
  .doc { top: 76px; }
  .bk-head, .fm-head { padding-top: 16px; }
  .dl-num { margin-top: 44px; }
  .af-clock { padding-top: 36px; }
  .ln { font-size: .88rem; }
  .ch { font-size: .92rem; }
}
/* 横向きのスマートフォンでは高さが足りないため、画面を横に広げる */
@media (orientation: landscape) and (max-height: 560px) {
  .phone { width: min(620px, 100%); padding: 6px; border-radius: 30px; }
  .fph { border-radius: 24px; height: max(320px, calc(100vh - 92px)); height: max(320px, calc(100svh - 92px)); }
  .ph-sb, .cl-keys, .rg-opt, .rg-mid, .pip { display: none; }
  .rg-top { padding-top: 24px; flex: 1; }
  .rg-btns { padding-bottom: 18px; }
  .cl-head { padding-top: 14px; }
  .doc { top: 56px; }
  .doc.warrant { width: 60%; }
  .doc.badge { width: 26%; }
  .chs { flex-direction: row; flex-wrap: wrap; }
  .ch { flex: 1 1 40%; }
  .dl-num { margin-top: 12px; }
  .dl-pad { grid-template-columns: repeat(6, 48px); gap: 6px 12px; }
  .dl-pad span { width: 48px; height: 48px; font-size: 1.2rem; }
  .af-clock { padding-top: 12px; }
  .af-clock b { font-size: 2.2rem; }
}

/* 口座 */
.side { display: flex; flex-direction: column; gap: 32px; }
.acct { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: 0 24px 60px -44px rgba(0, 0, 0, .35); }
.ac-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ac-logo { width: 34px; height: 34px; border-radius: 10px; background: #2f7a4f; display: grid; place-items: center; flex: none; }
.ac-logo svg { width: 20px; height: 20px; fill: #fff; }
.ac-head b { display: block; font-family: var(--font-head); font-size: .98rem; line-height: 1.4; }
.ac-head small { display: block; font-size: .78rem; color: var(--ink-3); line-height: 1.4; }
.ac-bal { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ac-bal .k, .ac-told .k { font-size: .8rem; color: var(--ink-3); }
.ac-bal .v { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; font-variant-numeric: tabular-nums; line-height: 1.3; }
.ac-bal.lost .v { color: var(--danger); }
.ac-told { padding-top: 12px; }
.ac-told ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ac-told li { margin: 0; font-size: .84rem; line-height: 1.6; padding: 6px 10px; border-radius: 8px; background: var(--danger-soft); color: var(--danger); animation: rise .35s ease both; }
.ac-told li.none { background: none; color: var(--ink-3); padding: 0; animation: none; }

/* 結果 */
.res:empty { display: none; }
.res .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.5rem); line-height: 1.55; margin-bottom: 12px; word-break: auto-phrase; text-wrap: balance; }
.res .big:focus { outline: none; }
.res.bad .big { color: var(--danger); }
.res.part .big { color: var(--warn); }
.res.good .big { color: var(--ok); }
.res p { color: var(--ink-2); font-size: .92rem; }
/* 結末に、見えた詐欺のサインを並べる。まだ見ていないサインは伏せておく */
.sg-head { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 10px; font-size: .86rem; color: var(--ink-2); }
.sg-head b { font-family: var(--mono); font-weight: 400; color: var(--danger); }
.sgs { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sgs li { margin: 0; display: inline-flex; align-items: center; min-height: 36px; border: 1px solid transparent; border-radius: 6px; padding: 4px 12px; font-size: .82rem; line-height: 1.5; }
.sgs li.now { background: var(--danger); color: var(--accent-ink); animation: rise .3s ease both; }
:root[data-theme="dark"] .sgs li.now { color: #1b1b1b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sgs li.now { color: #1b1b1b; } }
.sgs li.past { border-color: var(--danger); color: var(--danger); }
.sgs li.unk { min-width: 64px; justify-content: center; border: 1px dashed var(--line); color: var(--ink-3); font-family: var(--mono); }

@media (prefers-reduced-motion: reduce) {
  .scr, .ln, .ch, .bn.on, .doc, .bk-say, .bk-done, .fm, .af-c, .ac-told li, .sgs li.now { animation: none; }
  .fph[data-s="sRing"] .rg-av, .fph[data-s="sVring"] .vr-av, .fph[data-s="sRing"] #answer .cb, .fph[data-s="sVring"] #vAnswer .cb, .vv .grain, .fph[data-s="sVideo"] .vv .cop { animation: none; }
  .doc.warrant { transform: translateX(-50%); }
}

.keys { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .keys { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .keys { grid-template-columns: repeat(3, 1fr); } }
.keys > div { background: var(--bg-2); padding: clamp(22px, 3vw, 32px); }
.keys h3 { font-size: 1.02rem; margin-bottom: 8px; }
.keys p { color: var(--ink-2); font-size: .92rem; }
.section .steps + .cols { margin-top: clamp(40px, 6vw, 56px); }
