/* Buy-Navi アプリ画面シミュレータ(LP d 案から抽出)。.scrhost に new BN.Scr(host) で描画 */
:root{--bn-ease:cubic-bezier(.23,1,.32,1)}
.scr{--ease:var(--bn-ease);--navy:#1E3A6B;--bg:#F4F8FC;--card:#fff;--coral-ink:#C23F36;--ink-soft:#516069;--sky:#AFDDFA;--sky-line:#C9E5FA;--r-lg:12px;--mono:"IBM Plex Mono",ui-monospace,monospace}
.scr{position:absolute; left:0; top:0; width:375px; transform-origin:0 0; display:flex; flex-direction:column; overflow:hidden;
  background:#E8F1FB; color:rgba(0,0,0,.87); font-family:"M PLUS Rounded 1c",system-ui,sans-serif; line-height:1.35; letter-spacing:0;
  transition:background-color .3s ease}
.scr.f-super{background:color-mix(in srgb,#6BCF7F 8%,#E8F1FB)}
.s-status{position:relative; flex:0 0 auto; height:50px; display:flex; align-items:center; justify-content:space-between; padding:6px 30px 0 38px; background:#fff; font-size:16px; font-weight:700}
.s-island{position:absolute; left:50%; top:11px; width:122px; height:34px; margin-left:-61px; border-radius:20px; background:#000}
.s-ic{display:flex; align-items:center; gap:6px}
.s-ic svg{display:block}
.s-plane{display:none}
.scr.plane .s-plane{display:block}
.scr.plane .s-sig,.scr.plane .s-wifi{display:none}
.s-bar{flex:0 0 auto; height:56px; display:flex; align-items:center; justify-content:center; position:relative; background:#fff}
.s-title{display:flex; align-items:center; gap:10px; font-size:18px; font-weight:700; color:#4A90E2}
.s-title img{width:32px; height:32px; border-radius:8px}
.s-gear{position:absolute; right:16px; top:16px; width:24px; height:24px; color:#4A90E2}
.s-tabs{flex:0 0 auto; display:flex; gap:8px; padding:12px 12px 4px; overflow:hidden; white-space:nowrap}
.s-tab{flex:0 0 auto; display:inline-flex; align-items:center; gap:5px; padding:6px 12px; border-radius:999px; background:#fff; border:1px solid #D8E3F0}
.s-tab img{width:18px; height:18px; border-radius:50%}
.s-tab small{font-size:11px; font-weight:700; color:#9E9E9E}
.s-tab b{font-size:12.5px; font-weight:700}
.s-tab.sel{border-width:1.6px}
.s-banner{flex:0 0 auto; display:flex; align-items:center; gap:8px; padding:0 16px; height:0; overflow:hidden; background:rgba(107,182,255,.08);
  font-size:13px; color:#4A90E2; transition:height .35s var(--ease)}
.s-banner.on{height:37px}
.s-banner span{flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
/* お店モード(半径 200m 以内): 上部の帯と、そのお店で買える品物の強調(home_v2_screen.dart §B / accentGreen #6BCF7F) */
.s-store{flex:0 0 auto; display:flex; align-items:center; gap:10px; padding:0 16px; height:0; overflow:hidden; background:rgba(107,207,127,.12); transition:height .35s var(--ease)}
.scr.atstore .s-store{height:58px}
.s-store img{flex:0 0 22px; height:22px}
.s-store div{flex:1; min-width:0}
.s-store b{display:block; font-size:14px; color:#2E7D32}
.s-store span{display:block; font-size:12px; color:#388E3C; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.s-store svg{flex:0 0 auto}
.s-card.hl{background:color-mix(in srgb,#6BCF7F 6%,#fff); border:1.5px solid rgba(107,207,127,.5); box-shadow:0 2px 8px rgba(107,207,127,.1)}
.s-body{position:relative; flex:1 1 auto; overflow:hidden; padding-top:4px}
.s-wm{position:absolute; left:50%; top:62%; width:210px; height:210px; margin:-105px 0 0 -105px; border-radius:50%; overflow:hidden; opacity:.09}
.s-wm img{width:100%; height:100%}
.s-list{position:relative}
.s-card{display:flex; margin:3px 10px; background:#fff; border:.5px solid #D8E3F0; border-radius:16px; box-shadow:0 2px 8px rgba(107,182,255,.1); overflow:hidden}
.s-card.fresh{animation:sIn .45s var(--ease)}
.s-card.remote{animation:sRemote 1.6s var(--ease)}
.s-acc{flex:0 0 5px}
.s-in{flex:1; display:flex; align-items:flex-start; padding:8px 12px 8px 10px; min-width:0}
.s-chk{flex:0 0 36px; height:36px; display:flex; align-items:center; justify-content:center}
.s-chk i{width:26px; height:26px; border-radius:13px; border:2px solid #BDBDBD; display:flex; align-items:center; justify-content:center; transition:background-color .2s, border-color .2s}
.s-card.done .s-chk i{background:#6BCF7F; border-color:#6BCF7F}
.s-chk svg{width:18px; height:18px; color:#fff; opacity:0}
.s-card.done .s-chk svg{opacity:1}
.s-main{margin-left:6px; min-width:0; padding-top:6px}
.s-name{display:block; font-size:15px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.s-card.done .s-name{color:#9E9E9E; text-decoration:line-through}
.s-gs{display:flex; flex-wrap:wrap; gap:4px; margin-top:4px; min-height:30px; align-items:center}
.s-g{width:30px; height:30px; border-radius:50%; padding:3px; animation:sPop .3s var(--ease) backwards}
.s-g img{width:100%; height:100%}
.scrhost.sw .s-body,.scrhost.sw .s-tabs{animation:sw .28s var(--ease) both}
.s-cls{font-size:11px; font-style:italic; color:#9E9E9E}
.s-ph{display:flex; justify-content:space-between; align-items:center; padding:18px 16px 4px 12px; font-size:12px; font-weight:700; color:#757575}
.s-ph em{display:flex; align-items:center; gap:4px; font-style:normal; font-weight:500; color:#FF8FA3; padding:4px 8px}
.s-ph svg{width:14px; height:14px}
.s-suggest{flex:0 0 auto; display:flex; align-items:center; gap:8px; height:0; overflow:hidden; padding:0 16px; background:rgba(232,241,251,.85); transition:height .3s var(--ease)}
.s-suggest.on{height:44px}
.s-suggest svg{flex:0 0 auto; width:14px; height:14px; color:#757575}
.s-sg{display:inline-block; padding:6px 12px; border-radius:18px; background:#fff; border:.5px solid #D8E3F0; font-size:13px; font-weight:500; color:#4A90E2; transition:background-color .2s}
.s-sg.tap{background:#DCEBFA}
.s-inbar{flex:0 0 auto; display:flex; align-items:center; gap:8px; padding:10px 16px 34px; background:#fff; border-top:.5px solid #D8E3F0}
.s-field{flex:1; height:50px; display:flex; align-items:center; padding:0 20px; border-radius:28px; border:1px solid #E0E0E0; background:#fff; font-size:16px}
.s-field.focus{border:1.5px solid #6BB6FF}
.s-hint{color:#9E9E9E}
.s-caret{display:none; width:2px; height:20px; margin-left:1px; background:#6BB6FF}
.s-field.focus .s-caret{display:block; animation:caret 1s steps(1) infinite}
.s-add{flex:0 0 48px; height:48px; border-radius:50%; background:#6BB6FF; display:flex; align-items:center; justify-content:center; transition:transform .15s}
.s-add.tap{transform:scale(.9)}
.s-add svg{width:28px; height:28px; color:#fff}
.s-hi{position:absolute; left:50%; bottom:8px; width:134px; height:5px; margin-left:-67px; border-radius:3px; background:#111}
.s-dim{position:absolute; inset:0; background:rgba(0,0,0,.32); opacity:0; transition:opacity .3s; pointer-events:none}
.scr.sheet .s-dim{opacity:1}
.s-sheet{position:absolute; left:0; right:0; bottom:0; padding:10px 20px 40px; background:#fff; border-radius:24px 24px 0 0;
  transform:translateY(102%); transition:transform .4s var(--ease)}
.scr.sheet .s-sheet{transform:none}
.s-grab{width:36px; height:4px; margin:0 auto 14px; border-radius:2px; background:#E0E0E0}
.s-shead{display:flex; align-items:center; gap:10px}
.s-sname{flex:1; padding:6px 0; border-bottom:2px solid #6BB6FF; font-size:18px; font-weight:700}
.s-ai{display:flex; align-items:center; gap:4px; font-size:12px; color:#6BB6FF}
.s-ai svg{width:18px; height:18px}
.s-desc{margin:14px 0 12px; font-size:12px; color:#757575}
.s-opts{display:flex; flex-wrap:wrap; gap:8px; justify-content:center}
.s-opt{display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:20px; border:1px solid #E0E0E0; font-size:13px; color:#616161; background:#fff}
.s-opt img{width:20px; height:20px}
.s-opt svg{display:none; width:14px; height:14px}
.s-opt.sel{background:rgba(107,182,255,.12); border:1.5px solid #6BB6FF; color:#6BB6FF; font-weight:600}
.s-opt.sel svg{display:block}
.s-btns{display:flex; gap:12px; margin-top:20px}
.s-btns span{flex:1; height:44px; display:flex; align-items:center; justify-content:center; border-radius:22px; border:1px solid #757575; font-size:14px; color:#6BB6FF}
.s-btns b{flex:2; height:44px; display:flex; align-items:center; justify-content:center; border-radius:12px; background:#6BB6FF; color:#fff; font-size:14px; font-weight:600}
/* 通知(iOS のバナー)。実アプリの文面形式。タイトル先頭の 🛒 は L2 の絵文字禁止のためアプリアイコンで代替 */
.s-notif{position:absolute; left:8px; right:8px; top:8px; display:flex; gap:10px; padding:12px 14px; border-radius:22px; background:#F4F4F6; border:1px solid rgb(30 58 107 / .12);
  box-shadow:0 6px 20px rgba(0,0,0,.14); transform:translateY(-130%); transition:transform .5s var(--ease)}
.scr.notif .s-notif{transform:none}
.s-notif img{flex:0 0 38px; height:38px; border-radius:9px}
.s-notif div{min-width:0; flex:1}
.s-nh{display:flex; justify-content:space-between; font-size:13px; color:#555}
.s-notif b{display:block; font-size:15px; line-height:1.3}
.s-notif span{display:block; font-size:15px; line-height:1.3; text-wrap:balance}
@media (prefers-reduced-motion:reduce){.s-banner,.s-suggest,.s-sheet,.s-dim,.s-notif,.call,.scr{transition:none !important}
.scrhost.sw .s-body,.scrhost.sw .s-tabs{animation:none}
.s-card,.s-g{animation:none !important}
.s-field.focus .s-caret{animation:none}}
@keyframes sIn{from{opacity:0; transform:translateY(-8px)}}
@keyframes sRemote{0%{opacity:0; box-shadow:0 0 0 2px #6BB6FF} 30%{opacity:1; box-shadow:0 0 0 2px #6BB6FF} 100%{box-shadow:0 2px 8px rgba(107,182,255,.1)}}
@keyframes sPop{from{opacity:0; transform:scale(.6)}}
@keyframes sw{from{opacity:0}}
@keyframes caret{50%{opacity:0}}
