/* QRポケット — Material 3 Expressive（紫×黄緑・大胆な形） */
:root {
  --primary: #5523C9;
  --on-primary: #FFFFFF;
  --primary-c: #E9DDFF;
  --on-primary-c: #22005D;
  --lime: #C8F25A;
  --lime-c: #EBFBC2;
  --on-lime: #1B2A00;
  --surface: #FBF8FF;
  --surface-c: #F1ECFA;
  --surface-hi: #E6DEF4;
  --ink: #1C1A22;
  --ink-2: #4A4458;
  --outline: #6E6878;
  --line: #DCD4E8;
  --error: #B3261E;
  --error-c: #FFE3DE;
  --ok: #1E6B2F;
  --ok-c: #D8F5D9;
  --f-jp: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-en: "Sora", "IBM Plex Sans JP", sans-serif;
  --spring: cubic-bezier(.3, 1.55, .5, 1);
  --spring-soft: cubic-bezier(.34, 1.3, .64, 1);
  --ease: cubic-bezier(.2, 0, 0, 1);
  --nav-h: 80px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: var(--f-jp); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--surface); line-break: strict; overflow: hidden; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, canvas { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.kp { word-break: keep-all; overflow-wrap: normal; }
.nw { white-space: nowrap; }
.en { font-family: var(--f-en); }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--fill { fill: currentColor; stroke: none; }

@media (min-width: 600px) {
  body { background: var(--primary); }
  body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(circle at 18% 24%, var(--lime) 0 90px, transparent 91px), radial-gradient(circle at 84% 78%, #7B4DF0 0 150px, transparent 151px); opacity: .9; }
  #app { box-shadow: 0 30px 80px rgba(20, 0, 60, .5); }
}
#app { position: relative; max-width: 430px; height: 100dvh; margin: 0 auto; overflow: hidden; background: var(--surface); }
.boot-fail { padding: 48px 24px; text-align: center; }
.boot-fail__t { font-size: 24px; font-weight: 700; color: var(--primary); }

.scr { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--surface); }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.has-nav .scroll { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 96px); }
.in-x { animation: inX .45s var(--ease) both; }
.in-xb { animation: inXb .45s var(--ease) both; }
.in-f { animation: inF .3s var(--ease) both; }
@keyframes inX { from { transform: translateX(14%); opacity: 0; } }
@keyframes inXb { from { transform: translateX(-10%); opacity: 0; } }
@keyframes inF { from { opacity: 0; transform: translateY(8px); } }

/* トップアプリバー */
.bar { flex: none; display: flex; align-items: center; gap: 4px; min-height: 64px; padding: calc(8px + var(--safe-t)) 8px 8px 16px; background: var(--surface); position: relative; z-index: 3; transition: background-color .2s; }
.bar.is-scrolled { background: var(--surface-c); }
.bar--back { padding-left: 4px; }
.bar__t { flex: 1; min-width: 0; font-size: 22px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 10px; }
.bar__logo { width: 34px; height: 34px; border-radius: 11px; flex: none; }
.ib { width: 48px; height: 48px; flex: none; border-radius: 24px; display: grid; place-items: center; transition: background-color .15s, border-radius .4s var(--spring); }
.ib:active { background: var(--surface-hi); border-radius: 14px; }

/* ナビゲーションバー */
.nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); height: calc(var(--nav-h) + var(--safe-b)); padding: 12px 8px var(--safe-b); background: var(--surface-c); }
.nav.off { display: none; }
.nav__i { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-2); min-height: 56px; }
.nav__p { width: 64px; height: 32px; border-radius: 16px; display: grid; place-items: center; position: relative; }
.nav__p::before { content: ""; position: absolute; inset: 0; border-radius: 16px; background: var(--lime); transform: scaleX(.2); opacity: 0; transition: transform .5s var(--spring), opacity .15s; }
.nav__p .ic { position: relative; }
.nav__i[aria-current="page"] { color: var(--ink); }
.nav__i[aria-current="page"] .nav__p::before { transform: none; opacity: 1; }
.nav__i[aria-current="page"] .nav__p { color: var(--on-lime); }

/* 拡張FAB */
.efab { position: absolute; right: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 16px); z-index: 15; min-height: 64px; padding: 0 22px 0 18px; border-radius: 20px; display: flex; align-items: center; gap: 12px; background: var(--primary); color: var(--on-primary); font-size: 16px; font-weight: 700; box-shadow: 0 6px 16px rgba(60, 20, 140, .35); transition: transform .4s var(--spring), border-radius .4s var(--spring); }
.efab:active { transform: scale(.94); border-radius: 32px; }
.efab[aria-disabled="true"] { background: var(--surface-hi); color: var(--ink-2); box-shadow: none; }

/* ボタングループ（つながった） */
.bgroup { position: relative; z-index: 2; display: flex; gap: 2px; padding: 4px 16px 0; overflow-x: auto; scrollbar-width: none; }
.bgroup::-webkit-scrollbar { display: none; }
.bgroup button { flex: none; min-height: 48px; padding: 0 16px; background: var(--surface-hi); color: var(--ink); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; transition: border-radius .45s var(--spring), background-color .2s, color .2s, transform .3s var(--spring); white-space: nowrap; }
.bgroup button:first-child { border-radius: 24px 8px 8px 24px; }
.bgroup button:last-child { border-radius: 8px 24px 24px 8px; }
.bgroup button[aria-selected="true"], .bgroup button[aria-checked="true"] { background: var(--primary); color: var(--on-primary); border-radius: 24px; }
.bgroup button:active { transform: scale(.94); }
.bgroup .ic { width: 20px; height: 20px; }

/* プレビュー（形の上のQR） */
.stage { position: relative; display: grid; place-items: center; padding: 46px 0 40px; }
.blob { pointer-events: none; z-index: 0; position: absolute; width: 330px; height: 330px; left: 50%; top: 50%; margin: -165px 0 0 -165px; overflow: visible; transition: transform .8s var(--spring-soft); }
.blob path { fill: var(--lime); transition: d .7s var(--spring-soft), fill .4s; }
.blob--purple path { fill: var(--primary-c); }
.qr-card { position: relative; width: 236px; height: 236px; padding: 14px; border-radius: 34px; background: #fff; box-shadow: 0 10px 28px rgba(60, 20, 140, .18); transition: transform .5s var(--spring); }
.qr-card canvas { width: 208px; height: 208px; border-radius: 12px; }
.qr-card.pop { animation: qrpop .5s var(--spring); }
@keyframes qrpop { 40% { transform: scale(1.05) rotate(-2deg); } }
.qr-empty { position: absolute; inset: 14px; display: grid; place-items: center; word-break: keep-all; text-align: center; padding: 18px; border-radius: 14px; border: 2px dashed var(--line); background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.meta { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 2px 16px 2px; }
.chip { min-height: 32px; padding: 0 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; background: var(--surface-c); color: var(--ink-2); white-space: nowrap; }
.chip .ic { width: 18px; height: 18px; }
.chip--ok { background: var(--ok-c); color: var(--ok); }
.chip--ng { background: var(--error-c); color: var(--error); }
.chip--wait { background: var(--primary-c); color: var(--on-primary-c); }
.chip .en { font-weight: 600; }
.cap { margin: 10px 32px 0; height: 6px; border-radius: 3px; background: var(--surface-hi); overflow: hidden; }
.cap i { display: block; height: 100%; border-radius: 3px; background: var(--primary); transition: width .5s var(--spring-soft); }

/* フォーム */
.card { margin: 16px 16px 0; padding: 18px 16px; border-radius: 28px; background: var(--surface-c); }
.card__t { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.field { display: block; }
.field + .field { margin-top: 14px; }
.field__l { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 0 6px 4px; }
.field__in { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 2px solid transparent; background: #fff; font-size: 16px; outline: 0; transition: border-color .15s, border-radius .4s var(--spring); }
.field__in:focus { border-color: var(--primary); border-radius: 20px; }
textarea.field__in { min-height: 110px; resize: none; line-height: 1.6; }
.field__h { display: flex; justify-content: space-between; gap: 8px; margin: 6px 4px 0; font-size: 12px; color: var(--ink-2); }
.field.bad .field__in { border-color: var(--error); }
.field__e { color: var(--error); font-weight: 700; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row2 .field + .field { margin-top: 0; }
.pw { position: relative; }
.pw .field__in { padding-right: 56px; }
.pw .ib { position: absolute; right: 4px; top: 2px; }
.sw-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; text-align: left; margin-top: 10px; }
.sw-row__b { flex: 1; }
.sw-row__t { font-weight: 700; display: block; }
.sw-row__s { font-size: 13px; color: var(--ink-2); display: block; }
.sw { position: relative; width: 52px; height: 32px; flex: none; border-radius: 16px; background: var(--surface-hi); box-shadow: inset 0 0 0 2px var(--outline); transition: background-color .2s; }
.sw::after { content: ""; position: absolute; left: 8px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--outline); transition: all .4s var(--spring); }
[aria-checked="true"] > .sw { background: var(--primary); box-shadow: none; }
[aria-checked="true"] > .sw::after { left: 24px; top: 4px; width: 24px; height: 24px; background: #fff; }
.seg { display: flex; gap: 2px; }
.seg button { flex: 1; min-height: 44px; background: #fff; font-weight: 700; font-size: 14px; border-radius: 8px; transition: border-radius .4s var(--spring), background-color .2s; }
.seg button:first-child { border-radius: 22px 8px 8px 22px; }
.seg button:last-child { border-radius: 8px 22px 22px 8px; }
.seg button[aria-checked="true"] { background: var(--primary); color: #fff; border-radius: 22px; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 16px 0; }
.btn { min-height: 52px; padding: 0 20px; border-radius: 26px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; background: var(--primary); color: #fff; transition: border-radius .4s var(--spring), transform .3s var(--spring); white-space: nowrap; }
.btn:active { border-radius: 14px; transform: scale(.97); }
.btn--tonal { background: var(--primary-c); color: var(--on-primary-c); }
.btn--lime { background: var(--lime); color: var(--on-lime); }
.btn--text { background: transparent; color: var(--primary); padding: 0 12px; }
.btn--danger { background: var(--error-c); color: var(--error); }
.btn--wide { flex: 1; }
.btn .ic { width: 20px; height: 20px; }

/* デザイン */
.dz { padding: 4px 0 8px; }
.dz .stage { padding: 40px 0 36px; }
.dz .blob { width: 280px; height: 280px; margin: -140px 0 0 -140px; }
.dz .qr-card { width: 200px; height: 200px; padding: 12px; border-radius: 30px; }
.dz .qr-card canvas { width: 176px; height: 176px; }
.sw-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.swatch { aspect-ratio: 1; border-radius: 50%; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: border-radius .45s var(--spring), transform .3s var(--spring); }
.swatch i { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
.swatch b { position: absolute; inset: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.swatch[aria-checked="true"] { border-radius: 30%; box-shadow: 0 0 0 3px var(--surface-c), 0 0 0 6px var(--primary); }
.swatch:active { transform: scale(.88); }
.colors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.color { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px 6px 6px; border-radius: 16px; background: #fff; position: relative; font-size: 14px; font-weight: 700; }
.color input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.color__s { width: 40px; height: 40px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.color__v { font: 600 12px var(--f-en); color: var(--ink-2); display: block; }
.opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
.opts--6 { grid-template-columns: repeat(3, 1fr); }
.opt { min-height: 72px; border-radius: 18px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-2); transition: border-radius .45s var(--spring), background-color .2s, transform .3s var(--spring); }
.opt svg { width: 30px; height: 30px; }
.opt:active { transform: scale(.94); }
.opt[aria-checked="true"] { background: var(--primary); color: #fff; border-radius: 26px; }
.note { margin: 10px 4px 0; font-size: 13px; color: var(--ink-2); }
.note--warn { color: var(--error); font-weight: 700; }
.range { width: 100%; accent-color: var(--primary); height: 32px; }

/* 読む */
.viewer { position: relative; margin: 4px 16px 0; aspect-ratio: 4 / 4.2; border-radius: 36px; overflow: hidden; background: #160A33; }
.viewer video, .viewer > img { width: 100%; height: 100%; object-fit: cover; }
.viewer__card { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 16px; border-radius: 24px; background: var(--surface); }
.viewer__t { font-size: 17px; font-weight: 700; }
.viewer__s { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.viewer__card .btn { width: 100%; margin-top: 12px; }
.frame { position: absolute; inset: 18%; pointer-events: none; }
.frame i { position: absolute; width: 44px; height: 44px; border: 6px solid var(--lime); }
.frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 18px 0 0 0; }
.frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 18px 0 0; }
.frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 18px; }
.frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 18px 0; }
.frame { animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.94); } }
.frame.hit i { border-color: #fff; }
.live-bar { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.live-bar span { padding: 8px 14px; border-radius: 16px; background: var(--surface); font-size: 13px; font-weight: 700; }
.live-bar .ib { background: var(--surface); }
.scan-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 16px 0; }
.scan-acts .btn { min-height: 56px; border-radius: 20px; }
.engine { margin: 12px 20px 0; font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.engine .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--primary); }
.sec { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 24px 20px 10px; }
.sec__t { font-size: 18px; font-weight: 700; }
.sec__s { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
.sample { border-radius: 22px; overflow: hidden; background: var(--surface-c); text-align: left; transition: border-radius .45s var(--spring), transform .3s var(--spring); }
.sample:active { transform: scale(.95); border-radius: 30px; }
.sample canvas { width: 100%; aspect-ratio: 1; }
.sample span { display: block; padding: 8px 10px 10px; font-size: 13px; font-weight: 700; line-height: 1.4; }

/* シート・スナックバー */
.scrim { position: absolute; inset: 0; z-index: 40; background: rgba(28, 10, 60, .45); animation: inF .2s both; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 90%; overflow-y: auto; padding: 8px 20px calc(20px + var(--safe-b)); border-radius: 32px 32px 0 0; background: var(--surface); animation: sheetIn .5s var(--spring-soft) both; }
@keyframes sheetIn { from { transform: translateY(100%); } }
.sheet__grab { width: 36px; height: 4px; border-radius: 2px; background: var(--outline); margin: 6px auto 14px; opacity: .6; }
.res__h { display: flex; align-items: center; gap: 14px; }
.res__ic { width: 60px; height: 60px; flex: none; position: relative; display: grid; place-items: center; color: var(--on-lime); }
.res__ic svg.shape { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--lime); }
.res__ic .ic { position: relative; width: 28px; height: 28px; }
.res__k { font-size: 13px; font-weight: 700; color: var(--primary); }
.res__t { font-size: 20px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.kv { margin-top: 16px; border-radius: 22px; background: var(--surface-c); overflow: hidden; }
.kv__r { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 8px 8px 16px; }
.kv__r + .kv__r { border-top: 1px solid var(--line); }
.kv__k { width: 84px; flex: none; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.kv__v { flex: 1; min-width: 0; font-size: 15px; overflow-wrap: anywhere; word-break: normal; }
.kv__v.mono { font-family: var(--f-en); font-size: 14px; overflow-wrap: normal; word-break: keep-all; }
.warnbox { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--lime-c); font-size: 13px; color: var(--on-lime); }
.sheet .acts { margin: 16px 0 0; }
.snack { position: absolute; left: 12px; right: 12px; bottom: calc(var(--nav-h) + var(--safe-b) + 12px); z-index: 50; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 8px 6px 18px; border-radius: 14px; background: #322F37; color: #F5EFF7; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); animation: snackIn .45s var(--spring) both; }
.snack.low { bottom: calc(16px + var(--safe-b)); }
@keyframes snackIn { from { transform: translateY(20px); opacity: 0; } }
.snack__t { flex: 1; }
.snack button { min-height: 44px; padding: 0 12px; border-radius: 12px; color: #D0BCFF; font-weight: 700; white-space: nowrap; }

/* ポケット（履歴） */
.search { margin: 4px 16px 0; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 6px 0 16px; border-radius: 28px; background: var(--surface-c); color: var(--ink-2); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; color: var(--ink); }
.search input::placeholder { color: var(--outline); }
.search input::-webkit-search-cancel-button { display: none; }
.filters { display: flex; gap: 8px; padding: 12px 16px 0; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.fchip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--outline); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: border-radius .4s var(--spring), background-color .2s; }
.fchip[aria-pressed="true"] { background: var(--primary-c); border-color: var(--primary-c); color: var(--on-primary-c); border-radius: 20px; }
.fchip .ic { width: 18px; height: 18px; }
.day { padding: 22px 20px 8px; font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: .04em; }
.items { margin: 0 16px; display: flex; flex-direction: column; gap: 3px; }
.iw { position: relative; overflow: hidden; border-radius: 8px; }
.iw:first-child { border-radius: 26px 26px 8px 8px; }
.iw:last-child { border-radius: 8px 8px 26px 26px; }
.iw:only-child { border-radius: 26px; }
.iw__del { position: absolute; inset: 0; background: var(--error); color: #fff; display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding-right: 22px; font-weight: 700; font-size: 14px; }
.it { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 8px 12px 12px; min-height: 84px; background: var(--surface-c); touch-action: pan-y; transition: transform .4s var(--spring-soft), background-color .15s; }
.it.drag { transition: none; }
.it:active { background: var(--surface-hi); }
.it__q { width: 60px; height: 60px; flex: none; border-radius: 16px; background: #fff; padding: 5px; }
.it__q canvas { width: 50px; height: 50px; }
.it__b { flex: 1; min-width: 0; }
.it__l { font-weight: 700; font-size: 15px; line-height: 1.4; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it__s { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 8px; font-weight: 700; font-size: 12px; background: var(--lime-c); color: var(--on-lime); white-space: nowrap; }
.tag--made { background: var(--primary-c); color: var(--on-primary-c); }
.it__d { display: block; font: 500 12px var(--f-en); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.pin { width: 44px; height: 44px; flex: none; border-radius: 22px; display: grid; place-items: center; color: var(--outline); }
.pin[aria-pressed="true"] { color: var(--primary); }
.pin[aria-pressed="true"] .ic { fill: currentColor; }
.empty { padding: 20px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty img { width: 180px; height: 180px; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; object-fit: cover; }
.empty__t { font-size: 19px; font-weight: 700; }
.empty__s { font-size: 14px; color: var(--ink-2); }

/* 詳細 */
.detail .stage { padding: 46px 0 40px; }
.label-in { margin: 14px 16px 0; }
.label-in .field__in { font-size: 18px; font-weight: 700; text-align: center; background: var(--surface-c); }

/* 設定・アプリについて */
.list { margin: 8px 16px 0; border-radius: 28px; background: var(--surface-c); overflow: hidden; }
.li { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 16px; text-align: left; }
.li + .li { border-top: 1px solid var(--line); }
.li__ic { width: 40px; height: 40px; border-radius: 14px; background: var(--primary-c); color: var(--on-primary-c); display: grid; place-items: center; flex: none; }
.li__b { flex: 1; min-width: 0; }
.li__t { font-weight: 700; display: block; }
.li__s { font-size: 13px; color: var(--ink-2); display: block; }
.grp-t { padding: 22px 24px 6px; font-size: 13px; font-weight: 700; color: var(--primary); }
.about-hero { margin: 4px 16px 0; height: 230px; border-radius: 36px; background: var(--primary) url(/app-development/apps/a091/img/hero.webp) center 70% / cover no-repeat; position: relative; }
.about-hero__p { position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 20px; background: var(--surface); }
.about-hero__p img { width: 44px; height: 44px; border-radius: 14px; }
.about-hero__p b { font-size: 19px; }
.prose { margin: 16px 16px 0; padding: 18px; border-radius: 28px; background: var(--surface-c); font-size: 14px; }
.prose p + p { margin-top: 10px; }
.prose strong { color: var(--primary); }
.techs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.techs span { padding: 6px 12px; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 700; color: var(--primary); }
.cta { margin: 16px 16px 0; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 22px; border-radius: 32px; background: var(--primary); color: #fff; font-weight: 700; transition: border-radius .4s var(--spring); }
.cta:active { border-radius: 18px; }
.ver { margin: 18px 0 0; text-align: center; font-size: 12px; color: var(--ink-2); }

/* スプラッシュ・オンボーディング */
.splash { position: absolute; inset: 0; z-index: 90; background: var(--primary); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff; }
.splash img { width: 116px; height: 116px; border-radius: 32px; animation: spl .7s var(--spring) both; }
.splash b { font: 800 28px var(--f-en); letter-spacing: .02em; }
.splash b span { font-family: var(--f-jp); font-weight: 700; }
@keyframes spl { from { transform: scale(.4) rotate(-30deg); opacity: 0; } }
.ob { position: absolute; inset: 0; z-index: 89; display: flex; flex-direction: column; background: var(--primary) url(/app-development/apps/a091/img/hero.webp) center bottom / cover no-repeat; }
.ob__skip { position: absolute; right: 14px; top: calc(14px + var(--safe-t)); min-height: 44px; padding: 0 18px; border-radius: 22px; background: var(--surface); font-weight: 700; color: var(--primary); }
.ob__c { margin-top: calc(80px + var(--safe-t)); margin-left: 16px; margin-right: 16px; padding: 22px 20px 18px; border-radius: 32px; background: var(--surface); }
.ob__t { font-size: 25px; font-weight: 700; line-height: 1.4; }
.ob__s { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.ob__f { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.ob__dots { display: flex; gap: 6px; }
.ob__dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--primary-c); transition: width .4s var(--spring); }
.ob__dots i.on { width: 26px; background: var(--primary); }

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