/* 家族の アプリ（おとな用）。色・書体は /shared/base.css の ブランドの 値（claude/brand-kaketa.md） */
:root {
  --c-sora: #6FAFE3; --c-wakaba: #7CC47F; --c-sakura: #F59AB0; --c-fuji: #A993D9; --c-tsuchi: #B98A5E;
  --tabh: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --k-paper: #1C1A18; --k-paper-2: #252220; --k-card: #2A2724; --k-ink: #F3EEE5; --k-ink-2: #B2AB9F; --k-line: #3B3732;
    --k-sun-soft: #3A3219; --k-mikan: #F5A266; --k-mikan-text: #F5A266; --k-shadow: rgba(0, 0, 0, .35);
  }
}
html, body { height: 100%; }
body {
  background: var(--k-paper); color: var(--k-ink); font-family: var(--round); font-size: 16px; line-height: 1.7;
  -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;
}
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--k-mikan); outline-offset: 2px; border-radius: 10px; }
input, select, textarea { font: inherit; color: var(--k-ink); background: var(--k-card); border: 2px solid var(--k-line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
input:focus, select:focus { border-color: var(--k-ink-2); outline: none; }
.hint { color: var(--k-ink-2); font-size: 13.5px; line-height: 1.7; margin: 0; }
.err { color: var(--k-mikan-text); font-size: 14px; min-height: 1.4em; margin: 0; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 22px; border-radius: 999px; border: 2px solid var(--k-line); background: var(--k-card); color: var(--k-ink); font: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer; text-decoration: none; touch-action: manipulation; }
.btn:active { transform: translateY(2px); }
.btn.pri { background: var(--k-ink); border-color: var(--k-ink); color: var(--k-paper); }
.btn.sun { background: var(--k-sun); border-color: var(--k-sun); color: #2B2F45; box-shadow: 0 3px 0 rgba(43, 47, 69, .15); }
.btn.sm { min-height: 40px; padding: 6px 16px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn.link { border: 0; background: none; min-height: 40px; color: var(--k-ink-2); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.btn:disabled { opacity: .5; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--k-ink); cursor: pointer; flex: none; }
.icon-btn:active { background: var(--k-paper-2); }
.icon-btn.pri { background: var(--k-ink); color: var(--k-paper); }
.icon-btn[aria-pressed="true"] svg { fill: var(--k-sun); stroke: var(--k-ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--k-line); background: var(--k-card); color: var(--k-ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.chip svg { width: 20px; height: 20px; }
.chip[aria-pressed="true"] { background: var(--k-sun-soft); border-color: var(--k-sun); }

/* よみこみ */
.boot { position: fixed; inset: 0; display: grid; place-items: center; background: var(--k-paper); z-index: 50; }
.boot-arch { width: 72px; height: 44px; stroke: none; color: var(--k-ink); animation: bootb 1.2s ease-in-out infinite; }
@keyframes bootb { 50% { transform: translateY(-8px); } }

/* はじめての ひと */
.onb { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--k-paper); padding: env(safe-area-inset-top, 0px) 0 calc(env(safe-area-inset-bottom, 0px) + 16px); }
.onb-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.onb-track::-webkit-scrollbar { display: none; }
.onb-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 24px 28px; text-align: center; }
.onb-art { width: min(300px, 78vw); aspect-ratio: 4 / 3; background: var(--k-sun-soft); border-radius: 28px; display: grid; place-items: center; }
.onb-art svg { width: 86%; height: auto; stroke: none; }
.onb-slide h2 { font-size: clamp(24px, 6.6vw, 30px); font-weight: 900; line-height: 1.45; margin: 12px 0 0; letter-spacing: .02em; text-wrap: balance; }
.onb-slide p { margin: 0; color: var(--k-ink-2); max-width: 30em; text-wrap: pretty; }
.onb-dots { display: flex; justify-content: center; gap: 8px; padding: 8px 0 14px; }
.onb-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--k-line); transition: width .25s, background .25s; }
.onb-dots i.on { width: 24px; background: var(--k-ink); }
.onb-foot { display: grid; gap: 4px; padding: 0 24px; max-width: 440px; width: 100%; margin: 0 auto; }

/* ログイン */
.auth { min-height: 100%; display: grid; place-items: center; padding: calc(env(safe-area-inset-top, 0px) + 24px) 20px calc(env(safe-area-inset-bottom, 0px) + 24px); }
.auth-in { width: min(400px, 100%); display: grid; gap: 16px; }
.auth-logo { display: flex; align-items: flex-end; justify-content: center; gap: 12px; font-weight: 900; font-size: 40px; letter-spacing: .04em; line-height: 1; margin-bottom: 8px; }
.auth-logo svg { width: 56px; height: 34px; stroke: none; margin-bottom: 4px; }
.invite-card { background: var(--k-sun-soft); border-radius: 18px; padding: 14px 18px; display: grid; gap: 2px; }
.invite-card span { font-size: 14px; color: var(--k-ink-2); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--k-paper-2); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: transparent; min-height: 40px; border-radius: 999px; font: inherit; font-weight: 700; color: var(--k-ink-2); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--k-card); color: var(--k-ink); box-shadow: 0 2px 0 var(--k-shadow); }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.form input { font-weight: 400; font-size: 16px; }

/* アプリの 骨組み */
.app { min-height: 100%; }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 8px) 12px 8px 20px; background: color-mix(in srgb, var(--k-paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top-t { font-size: 24px; font-weight: 900; margin: 0; letter-spacing: .02em; }
.top-fam { margin-left: auto; font-size: 13px; color: var(--k-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.views { max-width: 720px; margin: 0 auto; padding: 4px 16px calc(var(--tabh) + env(safe-area-inset-bottom, 0px) + 28px); }
.view { display: grid; gap: 16px; align-content: start; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--k-card); border-top: 2px solid var(--k-line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.tabs a { position: relative; height: var(--tabh); display: grid; place-items: center; align-content: center; gap: 2px; text-decoration: none; color: var(--k-ink-2); font-size: 11px; font-weight: 700; }
.tabs a svg { width: 26px; height: 26px; }
.tabs a[aria-current="page"] { color: var(--k-ink); }
.tabs a[aria-current="page"]::before { content: ""; position: absolute; top: 6px; width: 44px; height: 32px; border-radius: 999px; background: var(--k-sun); z-index: -1; }
.tabs a[aria-current="page"] svg { stroke: #2B2F45; }
.tabs .dot { position: absolute; top: 9px; right: calc(50% - 20px); width: 9px; height: 9px; border-radius: 50%; background: var(--k-mikan); }
.sec-t { font-size: 15px; font-weight: 700; color: var(--k-ink-2); margin: 8px 4px 0; }
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--k-ink-2); padding: 48px 16px; margin: 0; }
.empty svg { width: 44px; height: 44px; }
.more { margin-top: 4px; }

/* アルバム */
.kids { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; margin: 0 -16px; padding-inline: 16px; }
.kids::-webkit-scrollbar { display: none; }
.kids .chip { flex: none; padding-left: 6px; }
.kids .chip.all { padding-left: 16px; }
.kids .chip .mark { width: 28px; height: 28px; box-shadow: none; }
.month { display: grid; gap: 10px; }
.month h3 { margin: 10px 2px 0; font-size: 18px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; }
.month h3 small { font-size: 13px; color: var(--k-ink-2); font-weight: 500; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: #FFFFFF; cursor: pointer; box-shadow: inset 0 0 0 2px var(--k-line); }
.tile img { width: 100%; height: 100%; object-fit: contain; padding: 6%; display: block; }
.tile .b { position: absolute; left: 6px; bottom: 6px; display: flex; gap: 4px; }
.tile .b span { display: inline-flex; align-items: center; gap: 2px; background: rgba(43, 47, 69, .78); color: #FFFDF8; font-size: 11px; font-weight: 700; padding: 1px 7px 1px 5px; border-radius: 99px; }
.tile .b svg { width: 13px; height: 13px; stroke-width: 2.4; }
.tile .fav { position: absolute; right: 6px; top: 6px; width: 20px; height: 20px; fill: var(--k-sun); stroke: #2B2F45; stroke-width: 1.6; }
.tile .new { position: absolute; right: 7px; bottom: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--k-mikan); }

/* 近況 */
.feed { display: grid; gap: 16px; }
.post { background: var(--k-card); border: 2px solid var(--k-line); border-radius: 22px; overflow: hidden; box-shadow: 0 3px 0 var(--k-shadow); }
.post-h { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.post-h .mark { width: 36px; height: 36px; box-shadow: none; }
.post-h b { font-size: 16px; }
.post-h span { font-size: 13px; color: var(--k-ink-2); display: block; line-height: 1.4; }
.post-art { display: block; width: 100%; border: 0; padding: 0; background: #FFFFFF; cursor: pointer; aspect-ratio: 4 / 3; }
.post-art img { width: 100%; height: 100%; object-fit: contain; padding: 4%; display: block; }
.post-b { padding: 12px 16px 14px; display: grid; gap: 10px; }
.post-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.seen { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--k-ink-2); margin: 0; }
.seen svg { width: 18px; height: 18px; }
.cm { display: grid; gap: 6px; }
.cm p { margin: 0; font-size: 15px; line-height: 1.6; }
.cm p b { margin-right: 8px; }
.cm .all { font-size: 13.5px; color: var(--k-ink-2); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; font-size: 13.5px; }

/* 遊ぶ */
.play-hero-unused { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background: var(--k-paper-2); box-shadow: inset 0 0 0 2px var(--k-line); text-align: left; color: var(--k-ink); font: inherit; }
.play-hero canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.play-hero-t { position: absolute; left: 12px; bottom: 12px; right: 12px; display: grid; background: var(--k-card); border-radius: 16px; padding: 10px 14px; box-shadow: 0 3px 0 var(--k-shadow); }
.play-hero-t b { font-size: 17px; }
.play-hero-t span { font-size: 13px; color: var(--k-ink-2); }
.soon-list { display: grid; gap: 10px; }
.soon { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; background: var(--k-card); border: 2px solid var(--k-line); border-radius: 18px; padding: 12px 14px; }
.soon-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #2B2F45; }
.soon b { display: block; }
.soon span { font-size: 13px; color: var(--k-ink-2); }
.soon em { font-style: normal; font-size: 12px; font-weight: 700; background: var(--k-paper-2); padding: 3px 10px; border-radius: 99px; color: var(--k-ink-2); white-space: nowrap; }
.show { position: fixed; inset: 0; z-index: 40; background: #1C1A18; display: grid; place-items: center; }
.show canvas { width: 100%; height: 100%; object-fit: contain; }
.show .icon-btn { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 10px); right: 10px; background: rgba(255, 253, 248, .9); color: #2B2F45; }

/* ストア */
.store-lead { background: var(--k-sun-soft); border-radius: 22px; padding: 18px 20px; display: grid; gap: 4px; }
.store-lead b { font-size: 18px; }
.store-lead span { font-size: 14px; color: var(--k-ink-2); }
.store-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.prod { background: var(--k-card); border: 2px solid var(--k-line); border-radius: 22px; overflow: hidden; display: grid; }
.prod-art { aspect-ratio: 1; display: grid; place-items: center; background: var(--k-paper-2); }
.prod-art svg { width: 70%; height: auto; stroke: none; }
.prod-b { padding: 12px 14px 14px; display: grid; gap: 4px; }
.prod-b b { font-size: 15.5px; line-height: 1.4; }
.prod-b span { font-size: 12.5px; color: var(--k-ink-2); line-height: 1.6; }
.prod-b .chip { margin-top: 8px; justify-content: center; min-height: 36px; font-size: 13px; }

/* 設定 */
.group { display: grid; gap: 8px; }
.card { background: var(--k-card); border: 2px solid var(--k-line); border-radius: 22px; padding: 6px 16px; display: grid; }
.card > :not([hidden]) ~ :not([hidden]) { border-top: 2px solid var(--k-paper-2); }
.row-f, .row-kv { display: grid; gap: 6px; padding: 12px 0; font-size: 14px; font-weight: 700; }
.row-kv { grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.row-kv b { text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.row-kv span { font-weight: 700; }
.row-in { display: flex; gap: 8px; align-items: center; }
.row-in input { flex: 1; min-width: 0; }
.kid-rows { display: grid; gap: 8px; padding: 12px 0; }
.kid-row { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.kid-row .mark { width: 32px; height: 32px; box-shadow: none; }
.kid-row small { margin-left: auto; color: var(--k-ink-2); font-weight: 500; font-size: 13px; }
.row-link { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; text-decoration: none; font-weight: 700; background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; font: inherit; font-weight: 700; color: var(--k-ink); cursor: pointer; text-align: left; }
.card > .row-link:first-child { border-top: 0; }
.row-link > svg:last-child { margin-left: auto; color: var(--k-ink-2); width: 20px; height: 20px; }
.row-link .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--k-paper-2); flex: none; }
.row-link .ic svg { width: 22px; height: 22px; }
.row-link .tx { display: grid; line-height: 1.45; }
.row-link .tx small { font-weight: 500; font-size: 12.5px; color: var(--k-ink-2); }
.a2hs { display: grid; gap: 4px; padding: 12px 0; }
.a2hs span { font-size: 13px; color: var(--k-ink-2); }
.a2hs .btn { justify-self: start; margin-top: 6px; }

/* シート */
.sheet-bg { position: fixed; inset: 0; z-index: 30; background: rgba(28, 26, 24, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: min(560px, 100%); max-height: 92%; overflow-y: auto; background: var(--k-paper); border-radius: 26px 26px 0 0; padding: 8px 20px calc(env(safe-area-inset-bottom, 0px) + 24px); animation: up .28s cubic-bezier(.3, 1.2, .5, 1); }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
.sheet-top { display: flex; align-items: center; gap: 8px; padding: 6px 0 4px; }
.sheet-top h2 { margin: 0; font-size: 19px; font-weight: 900; flex: 1; }
.sheet-body { display: grid; gap: 14px; }
.qr-box { justify-self: center; background: #FFFFFF; padding: 14px; border-radius: 22px; box-shadow: inset 0 0 0 2px var(--k-line); }
.qr-box canvas { display: block; width: min(220px, 60vw); height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.link-row { display: flex; gap: 8px; }
.link-row input { flex: 1; font-size: 13px; color: var(--k-ink-2); }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--k-sun); color: #2B2F45; font-weight: 900; font-size: 14px; display: grid; place-items: center; }
.code-in { font-size: 26px; letter-spacing: .3em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; }

/* 1まいの 絵 */
.detail { position: fixed; inset: 0; z-index: 20; background: var(--k-paper); display: flex; flex-direction: column; }
.d-top { display: flex; align-items: center; gap: 6px; padding: calc(env(safe-area-inset-top, 0px) + 6px) 8px 6px; }
.d-who { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.d-who .mark { width: 34px; height: 34px; box-shadow: none; }
.d-who div { display: grid; line-height: 1.35; min-width: 0; }
.d-who b { font-size: 16px; }
.d-who span { font-size: 12.5px; color: var(--k-ink-2); }
.d-body { flex: 1; overflow-y: auto; padding: 0 16px 16px; display: grid; gap: 14px; align-content: start; max-width: 720px; width: 100%; margin: 0 auto; }
.d-art { background: #FFFFFF; border-radius: 22px; box-shadow: inset 0 0 0 2px var(--k-line); overflow: hidden; aspect-ratio: 9 / 7; display: grid; place-items: center; }
.d-art img, .d-art canvas { width: 100%; height: 100%; object-fit: contain; display: block; }
.d-art img { padding: 5%; }
/* 絵の なまえ（長くても 1行で 切る）と、大きさが そろった ボタン（文字の 量で ならびが ずれない） */
.d-name { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; min-height: 48px; padding: 8px 14px; border-radius: 16px; border: 2px dashed var(--k-line); background: var(--k-card); color: var(--k-ink); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-align: left; }
.d-name span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-name.set { border-style: solid; }
.d-name svg { width: 18px; height: 18px; flex: none; color: var(--k-ink-2); }
.d-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.act { display: grid; justify-items: center; align-content: center; gap: 4px; height: 68px; min-width: 0; padding: 6px 4px; border-radius: 16px; border: 2px solid var(--k-line); background: var(--k-card); color: var(--k-ink); font: inherit; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.act svg { width: 24px; height: 24px; }
.act span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.act[aria-pressed="true"] { background: var(--k-sun-soft); border-color: var(--k-sun); }
.d-seen { margin: 0; font-size: 14px; color: var(--k-ink-2); display: flex; gap: 6px; align-items: center; }
.d-seen svg { width: 18px; height: 18px; }
.d-comments { display: grid; gap: 10px; }
.bub { background: var(--k-card); border: 2px solid var(--k-line); border-radius: 18px 18px 18px 6px; padding: 10px 14px; display: grid; gap: 2px; }
.bub.mine { background: var(--k-sun-soft); border-color: transparent; border-radius: 18px 18px 6px 18px; }
.bub-h { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.bub-h b { font-size: 14px; }
.bub-h span { color: var(--k-ink-2); }
.bub-h button { margin-left: auto; border: 0; background: none; color: var(--k-ink-2); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 4px; }
.bub p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.d-say { display: flex; gap: 8px; align-items: center; padding: 10px 12px calc(env(safe-area-inset-bottom, 0px) + 10px); border-top: 2px solid var(--k-line); background: var(--k-card); }
.d-say input { flex: 1; border-radius: 999px; padding: 11px 16px; background: var(--k-paper); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabh) + env(safe-area-inset-bottom, 0px) + 16px); transform: translateX(-50%); z-index: 60; background: var(--k-ink); color: var(--k-paper); border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 700; max-width: calc(100% - 32px); box-shadow: 0 3px 0 var(--k-shadow); }
@media (prefers-reduced-motion: reduce) { .boot-arch, .sheet { animation: none; } }

/* 動画に 書き出す */
.check { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 700; }
.check input { width: 22px; height: 22px; accent-color: var(--k-ink); padding: 0; }
.vid { justify-self: center; width: min(320px, 80vw); aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--k-line); }
.vid canvas, .vid video { width: 100%; height: 100%; display: block; object-fit: contain; background: #FFFFFF; }
.prog { height: 10px; border-radius: 99px; background: var(--k-paper-2); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--k-sun); transition: width .2s; }
.btn svg { width: 20px; height: 20px; }

/* 家族 */
.sub-t { font-size: 15px; font-weight: 700; margin: 6px 0 -4px; }
.fam-list { padding: 4px 14px; }
.mem { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.mem .av { width: 40px; height: 40px; border-radius: 50%; background: var(--k-sun-soft); display: grid; place-items: center; font-weight: 900; flex: none; }
.mem .av.pend { background: var(--k-paper-2); }
.mem .av svg { width: 20px; height: 20px; }
.mem .tx { display: grid; line-height: 1.45; min-width: 0; flex: 1; }
.mem .tx small { color: var(--k-ink-2); font-size: 12.5px; overflow-wrap: anywhere; }
.mem .acts { display: flex; }
.mem .btn.link { min-height: 36px; padding: 4px 8px; font-size: 13px; }

/* 招待が とどいている（確認まち） */
.wait { background: var(--k-sun-soft); border-radius: 22px; padding: 16px 18px; display: grid; gap: 6px; }
.wait > span:not(.btn-row) { font-size: 14px; color: var(--k-ink-2); }
.wait .btn-row { margin-top: 6px; }

/* 子どもの 設定・だれが 描いた */
.btn-row-kid { width: 100%; border: 0; background: none; padding: 4px 0; font: inherit; font-weight: 700; color: var(--k-ink); cursor: pointer; text-align: left; }
.btn-row-kid > span:not(.mark) { flex: 1; }
.kid-row .mark { flex: none; }
.btn-row-kid > svg:last-child { width: 18px; height: 18px; color: var(--k-ink-2); }
.kid-rows .btn.sm { justify-self: start; margin-top: 4px; }
.pick { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.marks, .colors { display: flex; flex-wrap: wrap; gap: 8px; }
.marks button { border: 0; background: none; padding: 3px; border-radius: 50%; cursor: pointer; }
.marks button .mark { box-shadow: none; }
.marks button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--k-ink); }
.colors button { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--k-card); box-shadow: 0 0 0 2px var(--k-line); cursor: pointer; }
.colors button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--k-ink); }
.artist .row-link .mark { box-shadow: none; flex: none; }
.artist .row-link[aria-pressed="true"] { background: var(--k-sun-soft); border-radius: 14px; margin: 0 -8px; padding-inline: 8px; }
.artist .row-link > svg:last-child { fill: var(--k-sun); stroke: var(--k-ink); }

/* 遊ぶ：ゲームの 入口 */
.games { display: grid; gap: 12px; }
.game-card { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; text-align: left; background: var(--k-card); border: 2px solid var(--k-line); border-radius: 22px; padding: 12px; cursor: pointer; font: inherit; color: var(--k-ink); box-shadow: 0 3px 0 var(--k-shadow); }
.game-card:active { transform: translateY(2px); }
.gc-t { display: grid; gap: 2px; }
.gc-t b { font-size: 17px; }
.gc-t span { font-size: 13px; color: var(--k-ink-2); }
.gc-art { width: 96px; height: 80px; border-radius: 16px; background: var(--k-sun-soft); display: grid; place-items: center; overflow: hidden; }
.gc-mem { grid-template-columns: repeat(3, 22px); grid-template-rows: repeat(2, 26px); gap: 5px; place-content: center; place-items: stretch; }
.gc-mem i { border-radius: 6px; background: var(--k-sun); box-shadow: inset 0 0 0 2px rgba(43, 47, 69, .15); }
.gc-mem i.f { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--c-sora); }
.gc-quiz { grid-template-rows: auto auto; gap: 2px; padding: 6px; }
.gc-quiz svg { width: 26px; height: 26px; }
.gc-quiz em { font-style: normal; font-size: 10.5px; font-weight: 700; line-height: 1.3; text-align: center; }

/* あそび場 */
.game { position: fixed; inset: 0; z-index: 25; background: var(--k-paper); display: flex; flex-direction: column; }
.g-top { display: flex; align-items: center; gap: 6px; padding: calc(env(safe-area-inset-top, 0px) + 6px) 12px 6px 8px; }
.g-top h2 { margin: 0; font-size: 19px; font-weight: 900; flex: 1; }
.g-side { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--k-ink-2); }
.pip { width: 10px; height: 10px; border-radius: 50%; background: var(--k-line); }
.pip.done { background: var(--k-sun); }
.pip.now { background: var(--k-ink); }
.g-body { flex: 1; overflow-y: auto; padding: 8px 16px calc(env(safe-area-inset-bottom, 0px) + 20px); }
.g-menu { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; }
.g-lead { margin: 4px 0; font-size: 16px; font-weight: 700; text-align: center; text-wrap: balance; }
.btn.big { min-height: 60px; font-size: 19px; }
.lv-list { display: grid; gap: 10px; }
.lv { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; text-align: left; background: var(--k-card); border: 2px solid var(--k-line); border-radius: 18px; padding: 10px 14px; font: inherit; color: var(--k-ink); cursor: pointer; }
.lv:disabled { opacity: .5; cursor: default; }
.lv-grid { width: 64px; height: 52px; display: grid; grid-template-columns: repeat(var(--c), 1fr); grid-template-rows: repeat(var(--r), 1fr); gap: 2px; }
.lv-grid i { background: var(--k-sun); border-radius: 3px; }
.lv-t { display: grid; }
.lv-t b { font-size: 18px; font-variant-numeric: tabular-nums; }
.lv-t small { font-size: 13px; color: var(--k-ink-2); }

/* おなじ え さがし */
.mem-wrap { position: relative; max-width: 720px; margin: 0 auto; }
.mem-grid { display: grid; grid-template-columns: repeat(var(--c), minmax(0, 1fr)); gap: 8px; perspective: 800px; }
.mem-grid.tiny { gap: 3px; }
.mcard { position: relative; aspect-ratio: 3 / 4; border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .38s cubic-bezier(.3, 1.3, .5, 1); animation: deal .4s backwards cubic-bezier(.3, 1.4, .5, 1); }
.mem-grid.tiny .mcard { aspect-ratio: 1; }
@keyframes deal { from { transform: translateY(18px) scale(.6); opacity: 0; } }
.mcard .face { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; overflow: hidden; }
.mem-grid.tiny .mcard .face { border-radius: 4px; }
.mcard .back { background: var(--k-sun); box-shadow: inset 0 0 0 2px rgba(43, 47, 69, .12), 0 3px 0 rgba(43, 47, 69, .15); color: #2B2F45; }
.mcard .back svg { width: 48%; height: auto; stroke: none; }
.mcard .front { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--k-line); transform: rotateY(180deg); }
.mcard .front img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.mcard.up, .mcard.got { transform: rotateY(180deg); }
.mcard.got .front { box-shadow: inset 0 0 0 3px var(--k-sun); animation: got .5s; }
@keyframes got { 40% { transform: rotateY(180deg) scale(1.08); } }
.g-end { position: sticky; bottom: 10px; margin-top: 14px; background: var(--k-card); border: 2px solid var(--k-line); border-radius: 22px; padding: 16px; display: grid; gap: 10px; justify-items: center; box-shadow: 0 3px 0 var(--k-shadow); animation: up .35s cubic-bezier(.3, 1.3, .5, 1); }
.g-end b, .g-big { font-size: 24px; font-weight: 900; }
.g-end2 { justify-items: center; padding-top: 18vh; }
.g-conf { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 30; }
.g-conf i { position: absolute; top: -12px; width: 10px; height: 14px; border-radius: 3px; animation: fall 2.2s ease-in forwards; }
@keyframes fall { to { transform: translate(var(--dx), 105vh) rotate(var(--r)); } }

/* どれかな クイズ */
.quiz { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.q-ask b { min-width: 0; overflow-wrap: anywhere; }
.q-ask { display: flex; align-items: center; gap: 8px; background: var(--k-sun-soft); border-radius: 22px; padding: 10px 16px 10px 8px; }
.q-ask b { font-size: 20px; font-weight: 900; line-height: 1.4; }
.q-say { background: var(--k-card); flex: none; }
.q-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.q-grid.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.q-tile { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 18px; background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--k-line), 0 3px 0 var(--k-shadow); cursor: pointer; animation: deal .4s backwards cubic-bezier(.3, 1.4, .5, 1); }
.q-tile img { width: 100%; height: 100%; object-fit: contain; padding: 10%; pointer-events: none; }
.q-tile:active { transform: scale(.96); }
.q-tile.ok { box-shadow: inset 0 0 0 5px var(--k-sun), 0 3px 0 var(--k-shadow); animation: okpop .5s; }
@keyframes okpop { 40% { transform: scale(1.1); } }
.q-tile.ng { opacity: .45; animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.q-tile.hint { box-shadow: inset 0 0 0 5px var(--k-mikan), 0 3px 0 var(--k-shadow); animation: hint 0.8s ease-in-out 2; }
@keyframes hint { 50% { transform: scale(1.08); } }
.q-mark { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; }
.q-tile.ok .q-mark::after { content: ""; width: 58%; aspect-ratio: 1; border-radius: 50%; border: 7px solid var(--k-mikan); opacity: .85; }
/* うごき方の もんだい：タイルも その うごきで */
.q-tile.mv-fly img { animation: mvfly 1.4s ease-in-out infinite; }
.q-tile.mv-float img { animation: mvfloat 2.4s ease-in-out infinite; }
.q-tile.mv-swim img { animation: mvswim 2s ease-in-out infinite; }
.q-tile.mv-hop img { animation: mvhop .9s cubic-bezier(.3, 0, .5, 1) infinite; }
.q-tile.mv-walk img { animation: mvwalk .8s ease-in-out infinite; }
.q-tile.mv-crawl img { animation: mvcrawl 1.6s ease-in-out infinite; }
@keyframes mvfly { 50% { transform: translateY(-10%) rotate(-4deg); } }
@keyframes mvfloat { 50% { transform: translateY(-6%); } }
@keyframes mvswim { 25% { transform: translateX(6%) rotate(3deg); } 75% { transform: translateX(-6%) rotate(-3deg); } }
@keyframes mvhop { 0%, 100% { transform: translateY(0) scale(1.06, .94); } 45% { transform: translateY(-16%) scale(.96, 1.04); } }
@keyframes mvwalk { 50% { transform: translateY(-3%) rotate(3deg); } }
@keyframes mvcrawl { 50% { transform: translateX(5%) scaleY(.94); } }
.q-how { background: var(--k-card); border: 2px solid var(--k-line); border-radius: 22px; padding: 16px 18px; display: grid; gap: 8px; font-size: 14px; }
.q-how span { color: var(--k-ink-2); }
.q-how ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.lb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.lb-tile { border: 0; padding: 6px; border-radius: 16px; background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--k-line); display: grid; gap: 4px; cursor: pointer; font: inherit; }
.lb-tile img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.lb-tile span { font-size: 13px; font-weight: 700; color: #2B2F45; }
.lb-edit { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: start; background: var(--k-sun-soft); border-radius: 22px; padding: 12px; margin-bottom: 12px; }
.lb-edit img { width: 90px; aspect-ratio: 1; object-fit: contain; background: #FFFFFF; border-radius: 14px; }
.sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.sugg .chip { min-height: 34px; padding: 4px 12px; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .mcard, .q-tile, .q-tile img, .g-conf { animation: none !important; } .mcard { transition: none; } }

/* ためし：AI の 候補 */
.row-sw { display: flex; align-items: center; gap: 14px; padding: 14px 0; cursor: pointer; }
.row-sw .tx { display: grid; gap: 2px; flex: 1; }
.row-sw .tx small { font-size: 12.5px; color: var(--k-ink-2); font-weight: 500; }
.row-sw input { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; border-radius: 99px; background: var(--k-line); position: relative; flex: none; padding: 0; border: 0; cursor: pointer; transition: background .2s; }
.row-sw input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s; }
.row-sw input:checked { background: var(--k-ink); }
.row-sw input:checked::after { transform: translateX(22px); }
.row-sw input:disabled { opacity: .5; }
.ai-note { padding: 0 0 12px; }
.ai-box:empty { display: none; }
.ai-box .ai-l { font-size: 12.5px; font-weight: 700; color: var(--k-ink-2); align-self: center; margin-right: 2px; }
.ai-box .ai-w { background: var(--k-sun-soft); border-color: var(--k-sun); }
.post-acts .chip.ask { background: var(--k-sun-soft); border-color: var(--k-sun); }

/* そろった・ぜんぶ そろった の えんしゅつ */
.mcard.got { z-index: 1; }
.mcard.got .front { animation: gotpop .55s cubic-bezier(.3, 1.6, .5, 1); box-shadow: inset 0 0 0 4px var(--k-sun), 0 0 0 4px rgba(255, 210, 63, .35); }
@keyframes gotpop { 0% { transform: rotateY(180deg) scale(1); } 35% { transform: rotateY(180deg) scale(1.16) rotate(-4deg); } 65% { transform: rotateY(180deg) scale(.97) rotate(2deg); } 100% { transform: rotateY(180deg) scale(1); } }
.mcard.wave { animation: wave .7s cubic-bezier(.3, 1.5, .5, 1) var(--wd, 0ms) 2; }
@keyframes wave { 40% { transform: rotateY(180deg) translateY(-18%) scale(1.06); } }
.g-spark { position: fixed; width: 0; height: 0; pointer-events: none; z-index: 40; }
.g-spark i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; animation: burst .75s cubic-bezier(.2, .8, .3, 1) forwards; }
.g-spark i.st { border-radius: 2px; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); width: 16px; height: 16px; left: -8px; top: -8px; }
@keyframes burst { 0% { transform: translate(0, 0) scale(.4); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(1); opacity: 0; } }
.g-spark .ring { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; border: 4px solid #FFD23F; animation: ring .6s ease-out forwards; }
@keyframes ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.g-end b { animation: endpop .6s cubic-bezier(.3, 1.7, .5, 1) both .2s; }
@keyframes endpop { from { transform: scale(.4); opacity: 0; } }
.g-stars { display: flex; gap: 10px; }
.g-stars i { width: 30px; height: 30px; background: #FFD23F; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation: starpop .5s cubic-bezier(.3, 1.8, .5, 1) both; }
.g-stars i:nth-child(1) { animation-delay: .35s; }
.g-stars i:nth-child(2) { animation-delay: .5s; width: 40px; height: 40px; margin-top: -8px; }
.g-stars i:nth-child(3) { animation-delay: .65s; }
@keyframes starpop { from { transform: scale(0) rotate(-90deg); } }
@media (prefers-reduced-motion: reduce) { .mcard.wave, .g-spark, .g-stars i, .g-end b { animation: none !important; } }

/* 描く（右下の ボタン） */
.fab-draw { position: fixed; right: 16px; bottom: calc(var(--tabh) + env(safe-area-inset-bottom, 0px) + 16px); z-index: 9; display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--k-ink); color: var(--k-paper); font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 4px 0 rgba(43, 47, 69, .2), 0 8px 20px rgba(43, 47, 69, .16); }
.fab-draw svg { width: 22px; height: 22px; }
.fab-draw:active { transform: translateY(2px); }
.app[data-tab="store"] .fab-draw, .app[data-tab="settings"] .fab-draw { display: none; }
.views { padding-bottom: calc(var(--tabh) + env(safe-area-inset-bottom, 0px) + 96px); }
/* いらすと たっち */
.gc-touch { position: relative; }
.gc-touch i { width: 46px; height: 38px; border-radius: 50% 50% 46% 54%; background: var(--c-sora); animation: gct 1.6s ease-in-out infinite; }
.gc-touch em { position: absolute; right: 8px; top: 6px; font-style: normal; font-size: 11px; font-weight: 900; }
@keyframes gct { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.18, .84); } 90% { transform: scale(.92, 1.1); } }
.touch { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; justify-items: center; }
.t-stage { position: relative; width: min(100%, 440px); aspect-ratio: 1; border-radius: 28px; background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--k-line), 0 3px 0 var(--k-shadow); overflow: hidden; touch-action: pan-y; cursor: pointer; border: 0; padding: 0; }
.t-stage img { width: 100%; height: 100%; object-fit: contain; padding: 10%; pointer-events: none; transform-origin: 50% 80%; }
.t-stage img.in-l { animation: tinl .35s cubic-bezier(.3, 1.3, .5, 1); }
.t-stage img.in-r { animation: tinr .35s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes tinl { from { transform: translateX(-60%) rotate(-8deg); opacity: 0; } }
@keyframes tinr { from { transform: translateX(60%) rotate(8deg); opacity: 0; } }
.t-stage img.r-jump { animation: rjump .6s cubic-bezier(.3, 1.2, .5, 1); }
.t-stage img.r-spin { animation: rspin .7s cubic-bezier(.4, 1.3, .5, 1); }
.t-stage img.r-wiggle { animation: rwig .6s ease-in-out; }
.t-stage img.r-squish { animation: rsq .55s cubic-bezier(.3, 1.6, .5, 1); }
.t-stage img.r-grow { animation: rgrow .7s cubic-bezier(.3, 1.5, .5, 1); }
.t-stage img.r-flip { animation: rflip .7s ease-in-out; }
@keyframes rjump { 0% { transform: scale(1.1, .9); } 40% { transform: translateY(-22%) scale(.95, 1.08); } 70% { transform: translateY(0) scale(1.08, .92); } 100% { transform: none; } }
@keyframes rspin { to { transform: rotate(360deg); } }
@keyframes rwig { 20% { transform: rotate(-10deg); } 40% { transform: rotate(9deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
@keyframes rsq { 30% { transform: scale(1.25, .75); } 60% { transform: scale(.9, 1.12); } }
@keyframes rgrow { 40% { transform: scale(1.3); } }
@keyframes rflip { 50% { transform: scaleX(-1); } }
.t-pop { position: absolute; pointer-events: none; font-weight: 900; font-size: 22px; color: #2B2F45; background: rgba(255, 253, 248, .94); padding: 2px 14px; border-radius: 99px; box-shadow: 0 3px 0 rgba(43, 47, 69, .12); animation: tpop .9s ease-out forwards; white-space: nowrap; }
@keyframes tpop { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 25% { transform: translate(-50%, -90%) scale(1.1); opacity: 1; } 100% { transform: translate(-50%, -170%) scale(1); opacity: 0; } }
.t-who { font-size: 15px; font-weight: 700; color: var(--k-ink-2); min-height: 1.6em; }
.t-nav { display: flex; gap: 12px; width: min(100%, 440px); }
.t-nav .btn { flex: 1; min-height: 60px; font-size: 17px; }
.t-nav .btn svg { width: 22px; height: 22px; }
.t-hint { font-size: 13px; color: var(--k-ink-2); }
@media (prefers-reduced-motion: reduce) { .t-stage img, .t-pop, .gc-touch i { animation: none !important; } }
.d-name:disabled { cursor: default; opacity: 1; }

/* 遊ぶの サムネイル：家族の 描いた 絵 */
.gc-art img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.gc-touch.has-art { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--k-line); }
.gc-touch.has-art img { width: 64px; height: 56px; animation: gct 1.6s ease-in-out infinite; transform-origin: 50% 90%; }
.gc-mem i.f { overflow: hidden; padding: 2px; }
.gc-quiz.has-art { position: relative; padding: 5px; background: var(--k-sun-soft); }
.gq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; width: 100%; height: 100%; }
.q4 .gq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gq i { background: #FFFFFF; border-radius: 5px; overflow: hidden; padding: 1px; min-height: 0; }
.gq-s { position: absolute; right: 3px; bottom: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--k-ink); color: var(--k-paper); display: grid; place-items: center; }
.gq-s svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { .gc-touch.has-art img { animation: none; } }

/* ホーム画面に 追加 の おしらせ */
.install { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 4px 0 14px; padding: 12px 40px 12px 12px; border-radius: 20px; background: var(--k-sun-soft); border: 2px solid var(--k-sun); }
.install img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 1px 0 var(--k-shadow); }
.install-t { display: grid; gap: 2px; line-height: 1.35; }
.install-t b { font-size: 15px; }
.install-t span { font-size: 12.5px; color: var(--k-ink-2); }
.install .btn { white-space: nowrap; }
.install-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; color: var(--k-ink-2); display: grid; place-items: center; cursor: pointer; }
.install-x svg { width: 18px; height: 18px; }
.app[data-tab="settings"] .install, .app[data-tab="store"] .install { display: none; }
.inst-head { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.inst-head img { border-radius: 16px; box-shadow: 0 1px 0 var(--k-shadow); }
.inst-head p { margin: 0; font-size: 14px; }
.ib { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--k-paper-2); vertical-align: middle; margin: 0 2px; }
.ib svg { width: 18px; height: 18px; color: #2F7BF6; }
