/* ショートタイル — 黒×ビビッドピンク、浮かぶタイル、没入 */
:root {
  --bk: #09090B;
  --s1: #151519;
  --s2: #1F1F25;
  --ln: #2C2C34;
  --tx: #F6F4F9;
  --tx2: #B3B0BE;
  --pk: #FF2E88;
  --pk2: #FF8CC0;
  --pk-dk: #D41A6E;
  --f-jp: 'Murecho', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --f-en: 'Unbounded', 'Murecho', sans-serif;
  --r-tile: 28px;
  --spring: cubic-bezier(.2, 1.6, .4, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
  --top: env(safe-area-inset-top, 0px);
  --bot: env(safe-area-inset-bottom, 0px);
  --nav-h: 68px;
  --bar-h: 56px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { background: #000; color: var(--tx); font-family: var(--f-jp); font-size: 15px; line-height: 1.65; font-weight: 500; line-break: strict; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow: hidden; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 24px; height: 24px; flex: none; }
h1, h2, p, ul, dl, dd { margin: 0; }
.nw { white-space: nowrap; }
.noscript, .fallback { position: fixed; left: 16px; right: 16px; top: 40%; padding: 16px; background: var(--s1); border-radius: 16px; text-align: center; z-index: 50; }
.app { position: fixed; inset: 0; margin: 0 auto; width: 100%; max-width: 430px; background: var(--bk); overflow: hidden; overflow: clip; isolation: isolate; }
@media (min-width: 600px) { body { background: #000 radial-gradient(circle at 50% 40%, #2a0b1c, #000 70%); } .app { box-shadow: 0 0 0 1px #222, 0 0 80px rgba(255, 46, 136, .18); } }
.stage { position: absolute; inset: 0; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bk); overflow: hidden; overflow: clip; }
.scr__body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.has-nav .scr__body { padding-bottom: calc(var(--nav-h) + var(--bot) + 20px); }
.scr.in-r { animation: inR 300ms var(--out) both; }
.scr.out-r { animation: fade 300ms ease both; }
.scr.in-l { animation: fadeIn 260ms ease both; }
.scr.out-l { animation: outR 300ms var(--out) both; z-index: 2; }
.scr.in-f { animation: fadeIn 200ms ease both; }
.scr.out-f { animation: fade 200ms ease both; }
@keyframes inR { from { transform: translateX(100%); } }
@keyframes outR { to { transform: translateX(100%); } }
@keyframes fade { to { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }

/* 共通部品 */
.ibtn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--s2); color: var(--tx); text-decoration: none; transition: transform 140ms var(--out); }
.ibtn:active { transform: scale(.88); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform 140ms var(--out); white-space: nowrap; }
.pill:active { transform: scale(.94); }
.pill--pink { background: var(--pk); color: var(--bk); }
.pill--ghost { background: var(--s2); color: var(--tx); box-shadow: inset 0 0 0 1.5px var(--ln); }
.pill--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.pill--wide { width: 100%; }
.av { --g1: #FF2E88; --g2: #7A2CFF; width: 40px; height: 40px; flex: none; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.av svg { width: 60%; height: 60%; }
.av--s { width: 34px; height: 34px; border-radius: 11px; }
.av--l { width: 60px; height: 60px; border-radius: 19px; }
.av--xl { width: 92px; height: 92px; border-radius: 28px; box-shadow: 0 0 0 5px var(--bk); }

/* 下のナビ */
.nav {
  position: absolute; z-index: 20; left: 0; right: 0; bottom: 0; height: calc(var(--nav-h) + var(--bot)); padding: 8px 12px calc(8px + var(--bot)) 8px;
  display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr; gap: 4px; background: var(--bk); border-top: 1px solid var(--ln); transition: transform 300ms var(--out);
}
.app:not(.nav-on) .nav { transform: translateY(110%); visibility: hidden; }
.nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 16px; text-decoration: none; color: var(--tx2); font-size: 11px; font-weight: 700; letter-spacing: .04em; transition: color 160ms, transform 140ms var(--out); }
.nav a:active { transform: scale(.9); }
.nav a.is-on { color: var(--tx); }
.nav a.is-on svg { color: var(--pk); }
.nav .nav__make { flex-direction: row; gap: 6px; margin: 2px 0 2px 6px; border-radius: 999px; background: var(--pk); color: var(--bk); font-size: 14px; font-weight: 800; box-shadow: 0 6px 20px rgba(255, 46, 136, .35); }
.nav .nav__make svg { width: 22px; height: 22px; color: var(--bk) !important; }

/* ---------- ながれ ---------- */
.scr--feed { padding-bottom: calc(var(--nav-h) + var(--bot)); }
.fbar { flex: none; display: flex; align-items: center; gap: 10px; height: calc(var(--bar-h) + var(--top)); padding: var(--top) 12px 0; background: var(--bk); }
.logo { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--pk); }
.logo svg { width: 24px; height: 24px; }
.ftabs { flex: 1; display: flex; gap: 2px; }
.ftabs button { position: relative; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--tx2); font-weight: 800; font-size: 16px; }
.ftabs button.is-on { color: var(--tx); }
.ftabs button.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--pk); }
.feed { flex: 1; min-height: 0; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; }
.feed::-webkit-scrollbar { display: none; }
.slide { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; padding: 4px 10px 8px; transition: opacity 260ms, transform 260ms; }
.slide.gone { opacity: 0; transform: scale(.94); }
.tile { position: relative; flex: 1; min-height: 0; border-radius: var(--r-tile); overflow: hidden; background: var(--s1); touch-action: pan-y; user-select: none; -webkit-user-select: none; isolation: isolate; }
.tile__media { position: absolute; inset: 0; }
.tile__media canvas { width: 100%; height: 100%; display: block; }
.tile__media .kb { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; animation: kb 18s ease-in-out infinite alternate, hue 18s linear infinite; animation-play-state: paused; }
.tile__media .kb.is-on { animation-play-state: running; }
@keyframes kb { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.22) translate(-3%, -4%); } }
@keyframes hue { 50% { filter: hue-rotate(-25deg) saturate(1.2); } }
.tile__prog { position: absolute; left: 16px; right: 16px; top: 12px; height: 4px; border-radius: 2px; background: rgba(9, 9, 11, .45); overflow: hidden; pointer-events: none; }
.tile__prog i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.tile__state { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(9, 9, 11, .62); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity 200ms, transform 300ms var(--spring); pointer-events: none; }
.tile__state svg { width: 34px; height: 34px; }
.slide.is-paused .tile__state, .slide.flash .tile__state { opacity: 1; transform: none; }
.burst { position: absolute; z-index: 3; width: 0; height: 0; pointer-events: none; }
.burst__h { position: absolute; width: 110px; height: 110px; left: -55px; top: -55px; color: var(--pk); filter: drop-shadow(0 6px 18px rgba(255, 46, 136, .6)); animation: heart 820ms var(--spring) both; }
@keyframes heart { 0% { transform: scale(0) rotate(-14deg); opacity: 0; } 25% { transform: scale(1.18) rotate(-8deg); opacity: 1; } 55% { transform: scale(.96) rotate(-8deg); } 100% { transform: scale(1.4) translateY(-60px) rotate(-8deg); opacity: 0; } }
.burst i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 3px; background: var(--pk2); transform: rotate(var(--a)) translateX(0); animation: spark 700ms var(--out) both; }
.burst i:nth-child(odd) { background: #fff; }
@keyframes spark { to { transform: rotate(var(--a)) translateX(var(--d)) scale(.2); opacity: 0; } }

.meta { flex: none; padding: 10px 6px 0; }
.meta__who { display: flex; align-items: center; gap: 10px; }
.meta__u { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.meta__n { min-width: 0; line-height: 1.35; }
.meta__n b { display: block; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta__n span { display: block; font-size: 12px; color: var(--tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fbtn { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--pk); color: var(--bk); font-weight: 800; font-size: 13px; transition: transform 140ms var(--out), background 160ms; position: relative; }
.fbtn::before { content: ""; position: absolute; inset: -4px 0; }
.fbtn:active { transform: scale(.92); }
.fbtn.is-on { background: var(--s2); color: var(--tx); box-shadow: inset 0 0 0 1.5px var(--ln); }
.meta__cap { margin: 8px 0 0; font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag { color: var(--pk2); text-decoration: none; font-weight: 700; white-space: nowrap; }
.acts { display: grid; grid-template-columns: 1fr 1fr 1.25fr 1fr; gap: 6px; margin-top: 8px; }
.act { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 6px; border: 0; border-radius: 999px; background: var(--s1); color: var(--tx); text-decoration: none; font-size: 13px; transition: transform 140ms var(--out), background 160ms; }
.act:active { transform: scale(.92); }
.act b { font-weight: 700; white-space: nowrap; }
.act svg { width: 21px; height: 21px; }
.act.is-on { background: var(--s2); }
.act--like.is-on svg { color: var(--pk); }
.act.pop svg { animation: pop 420ms var(--spring); }
@keyframes pop { 40% { transform: scale(1.45); } }
.slide--end { justify-content: center; }
.endcard { margin: auto 6px; padding: 28px 22px; border-radius: var(--r-tile); background: var(--s1); text-align: center; }
.endcard__k { font-family: var(--f-en); font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.endcard p { color: var(--tx2); margin-bottom: 16px; }
.endcard .endcard__k { color: var(--tx); }

/* 投票タイル */
.poll { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px 22px; background: var(--s1); }
.poll__q { font-weight: 800; font-size: 24px; line-height: 1.45; text-align: center; margin-bottom: 8px; word-break: keep-all; }
.poll__o { position: relative; min-height: 76px; border: 0; border-radius: 22px; font-weight: 800; font-size: 19px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; transition: transform 160ms var(--out); }
.poll__o:active { transform: scale(.97); }
.poll__o--a { background: var(--pk); color: var(--bk); }
.poll__o--b { background: #8F7CFF; color: var(--bk); }
.poll__o i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(9, 9, 11, .16); transition: width 600ms var(--out); z-index: 0; }
.poll__o > span { position: relative; z-index: 1; }
.poll__o.is-on { box-shadow: inset 0 0 0 4px #fff; }
.poll__p { font-family: var(--f-en); font-size: 20px; }
.poll__n { text-align: center; color: var(--tx2); font-size: 14px; }

/* ---------- シート ---------- */
.sheet-root { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
.scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity 280ms; pointer-events: auto; }
.scrim.is-on { opacity: 1; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86%; display: flex; flex-direction: column; background: var(--s1); border-radius: 26px 26px 0 0; transform: translateY(100%); transition: transform 340ms var(--out); pointer-events: auto; padding-bottom: var(--bot); }
.sheet.is-on { transform: none; }
.sheet--cm { height: 72%; }
.sheet__grab { display: grid; place-items: center; height: 24px; touch-action: none; cursor: grab; }
.sheet__grab i { width: 40px; height: 5px; border-radius: 3px; background: #4A4853; }
.sheet__h { display: flex; align-items: center; gap: 10px; padding: 0 14px 8px 18px; }
.sheet__h h2 { flex: 1; font-size: 17px; font-weight: 800; }
.sheet__n { color: var(--tx2); font-weight: 700; font-size: 14px; margin-left: 4px; }
.cm-sort { display: flex; gap: 6px; padding: 0 16px 8px; border-bottom: 1px solid var(--ln); }
.cm-sort button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--s2); color: var(--tx2); font-weight: 700; font-size: 13px; }
.cm-sort button.is-on { background: var(--tx); color: var(--bk); }
.cms { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; padding: 6px 0; }
.cm { display: flex; gap: 10px; padding: 10px 12px 6px 16px; }
.cm--mine { background: #22161C; }
.cm__b { flex: 1; min-width: 0; }
.cm__h { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.cm__h b { font-weight: 800; }
.cm__h span { color: var(--tx2); font-size: 12px; }
.cm__t { font-size: 15px; line-height: 1.6; }
.cm__re { min-height: 32px; padding: 0; border: 0; background: none; color: var(--tx2); font-size: 13px; font-weight: 700; }
.cm__like { width: 48px; min-height: 48px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; background: none; color: var(--tx2); font-size: 12px; }
.cm__like svg { width: 20px; height: 20px; }
.cm__like.is-on { color: var(--pk); }
.cm-empty { padding: 30px 20px; text-align: center; color: var(--tx2); }
.cin { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--ln); background: var(--s1); }
.cin input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--s2); font-size: 16px; outline: none; }
.cin input:focus { box-shadow: 0 0 0 2px var(--pk); }
.cin input::placeholder { color: #8F8C9B; }
.cin__send { width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--pk); color: var(--bk); display: grid; place-items: center; }
.cin__err { padding: 0 18px; color: var(--pk2); font-size: 13px; font-weight: 700; min-height: 0; }
.cin__err:empty { display: none; }
.menu { padding: 4px 12px 14px; }
.mrow { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 8px 10px; border: 0; border-radius: 16px; background: none; text-align: left; text-decoration: none; color: var(--tx); font-weight: 700; font-size: 15px; }
.mrow:active { background: var(--s2); }
.mrow small { display: block; font-weight: 500; font-size: 13px; color: var(--tx2); }
.confirm { padding: 4px 18px 18px; }
.confirm p { color: var(--tx2); line-height: 1.75; margin-bottom: 14px; }
.confirm__b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- プロフィール ---------- */
.pbar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: calc(var(--top) + 8px) 12px 8px; }
.pbar .ibtn { background: rgba(9, 9, 11, .8); }
.pbar__t { font-family: var(--f-en); font-weight: 600; font-size: 14px; background: var(--bk); padding: 4px 12px; border-radius: 999px; }
.pbanner { height: calc(150px + var(--top)); background: url(/app-development/apps/a096/img/banner.webp) center / cover; filter: hue-rotate(var(--hue, 0deg)); }
.phead { position: relative; z-index: 1; padding: 0 18px 8px; margin-top: -46px; text-align: center; }
.phead .av { margin: 0 auto 10px; }
.phead__n { font-size: 22px; font-weight: 800; }
.phead__h { font-family: var(--f-en); font-weight: 600; font-size: 13px; color: var(--tx2); }
.phead__bio { margin: 8px auto 12px; max-width: 320px; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 14px; padding: 10px 4px; border-radius: 18px; background: var(--s1); }
.stats div { text-align: center; }
.stats dt { font-size: 11px; color: var(--tx2); font-weight: 700; }
.stats dd { font-family: var(--f-en); font-weight: 800; font-size: 17px; }
.ptabs { display: flex; gap: 4px; padding: 6px 12px 10px; position: sticky; top: 0; background: var(--bk); z-index: 2; }
.ptabs > * { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: none; color: var(--tx2); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.ptabs .is-on { background: var(--s2); color: var(--tx); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 4px; }
.grid--two { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 12px; }
.gcell { position: relative; aspect-ratio: 9 / 14; border-radius: 14px; overflow: hidden; background: var(--s1); display: block; transition: transform 140ms var(--out); }
.gcell:active { transform: scale(.96); }
.gcell__m { position: absolute; inset: 0; }
.gcell__m canvas { width: 100%; height: 100%; display: block; }
.gcell__m .kb { width: 100%; height: 100%; object-fit: cover; animation: none; }
.gcell .poll { padding: 10px; gap: 6px; }
.gcell .poll__q { font-size: 12px; margin: 0; }
.gcell .poll__o { min-height: 30px; font-size: 11px; padding: 0 8px; border-radius: 10px; }
.gcell .poll__n, .gcell .poll__p { display: none; }
.gcell__c { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px 1px 6px; border-radius: 999px; background: var(--bk); font-size: 12px; font-weight: 700; color: var(--tx); }
.gcell__c svg { width: 14px; height: 14px; color: var(--pk); }
.gcell__u { position: absolute; left: 6px; top: 6px; max-width: calc(100% - 12px); padding: 1px 8px; border-radius: 999px; background: var(--bk); font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tx); }
.set { margin: 24px 12px 0; padding: 4px 16px; border-radius: 20px; background: var(--s1); }
.set__h { font-size: 13px; color: var(--tx2); font-weight: 800; padding: 10px 0 4px; }
.set__row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 8px 0; border: 0; border-top: 1px solid var(--ln); background: none; text-align: left; text-decoration: none; color: var(--tx); font-weight: 700; font-size: 15px; }
.set__row > span { flex: 1; min-width: 0; line-height: 1.45; }
.set__row small { display: block; font-weight: 500; font-size: 13px; color: var(--tx2); }
.set__row--danger { color: var(--pk2); }
.switch { position: relative; width: 54px; height: 32px; flex: none; border: 0; border-radius: 999px; background: #3A3842; padding: 0; transition: background 200ms; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform 260ms var(--spring); }
.switch[aria-checked="true"] { background: var(--pk); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.empty { padding: 40px 28px; text-align: center; }
.empty--in { padding: 20px 28px 10px; }
.empty img { width: 180px; height: 180px; margin: 0 auto 16px; border-radius: 40px; object-fit: cover; }
.empty h2 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.empty p { color: var(--tx2); font-size: 14px; margin-bottom: 16px; }

/* ---------- さがす ---------- */
.sh { padding: calc(var(--top) + 14px) 14px 6px; }
.sh__t { font-family: var(--f-en); font-weight: 800; font-size: 26px; margin-bottom: 10px; }
.sbox { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border-radius: 999px; background: var(--s1); color: var(--tx2); }
.sbox input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: none; color: var(--tx); font-size: 16px; outline: none; }
.sbox:focus-within { box-shadow: 0 0 0 2px var(--pk); }
.sbox input::placeholder { color: #8F8C9B; }
.trend, .creators { padding: 14px 14px 0; }
.trend__k, .res__k { font-size: 13px; font-weight: 800; color: var(--tx2); margin-bottom: 8px; letter-spacing: .04em; }
.res__k { padding: 18px 14px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 6px; border: 0; border-radius: 999px; background: var(--s1); font-weight: 700; font-size: 14px; color: var(--tx); }
.chip__r { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--s2); font-family: var(--f-en); font-size: 12px; }
.chip:nth-child(-n+3) .chip__r { background: var(--pk); color: var(--bk); }
.chip__n { font-size: 12px; color: var(--tx2); }
.chip.is-on { background: var(--tx); color: var(--bk); }
.chip.is-on .chip__n { color: #3D3B45; }
.crow { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.crow::-webkit-scrollbar { display: none; }
.cr { flex: 0 0 76px; text-align: center; text-decoration: none; }
.cr .av { margin: 0 auto 6px; }
.cr b { display: block; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr span { font-size: 11px; color: var(--tx2); }

/* ---------- つくる ---------- */
.cbar { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(var(--top) + 8px) 12px 8px; }
.cbar__t { flex: 1; font-size: 17px; font-weight: 800; }
.cprev { display: grid; justify-items: center; padding: 4px 0 6px; }
.cprev__tile { position: relative; width: 210px; aspect-ratio: 9 / 14; border-radius: 24px; overflow: hidden; background: var(--s1); box-shadow: 0 0 0 1px var(--ln), 0 20px 50px rgba(255, 46, 136, .2); }
.cprev__tile canvas { width: 100%; height: 100%; display: block; }
.cprev__k { margin-top: 8px; font-size: 12px; color: var(--tx2); }
.cf { padding: 12px 14px 0; }
.cf__k { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.cf__n { margin-left: auto; font-family: var(--f-en); font-weight: 600; font-size: 12px; color: var(--tx2); }
.cf__h { font-size: 12px; color: var(--tx2); margin-top: 4px; }
.tpls { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tpls::-webkit-scrollbar { display: none; }
.tpls button { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--s1); font-weight: 700; font-size: 14px; }
.tpls button.is-on { background: var(--pk); color: var(--bk); }
.pals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pals button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 6px; border: 0; border-radius: 16px; background: var(--s1); font-size: 12px; font-weight: 700; }
.pals button.is-on { box-shadow: inset 0 0 0 2px var(--pk); background: var(--s2); }
.pal { display: grid; grid-template-columns: 1fr 1fr; width: 34px; height: 34px; border-radius: 10px; overflow: hidden; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--s1); }
.seg button { min-height: 40px; border: 0; border-radius: 999px; background: none; font-weight: 700; font-size: 14px; color: var(--tx2); }
.seg button.is-on { background: var(--tx); color: var(--bk); }
.inp { width: 100%; padding: 12px 14px; border: 0; border-radius: 16px; background: var(--s1); font-size: 16px; line-height: 1.5; outline: none; resize: none; }
.inp:focus { box-shadow: 0 0 0 2px var(--pk); }
.inp::placeholder { color: #8F8C9B; }
.cerr { padding: 10px 14px 0; color: var(--pk2); font-weight: 700; font-size: 14px; }
.cerr span { display: block; }
.cerr:empty { display: none; }
.cnote { padding: 12px 14px 30px; font-size: 13px; color: var(--tx2); }

/* ---------- アプリについて ---------- */
.about { text-align: center; padding: calc(var(--top) + 70px) 16px 6px; }
.about img { width: 108px; height: 108px; border-radius: 26px; margin: 0 auto 12px; box-shadow: 0 0 40px rgba(255, 46, 136, .35); }
.about h1 { font-size: 24px; font-weight: 800; }
.about p { font-size: 13px; color: var(--tx2); }
.card { margin: 14px 12px 0; padding: 14px 16px; border-radius: 20px; background: var(--s1); font-size: 14px; line-height: 1.75; }
.card p + p { margin-top: 8px; }
.card__h { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.techs { display: flex; flex-wrap: wrap; gap: 6px; }
.techs span { padding: 3px 12px; border-radius: 999px; background: var(--s2); font-size: 13px; font-weight: 700; }
.cta { padding: 18px 12px 30px; }

/* トースト・スプラッシュ・案内 */
.toast { position: absolute; left: 50%; bottom: calc(var(--nav-h) + var(--bot) + 14px); z-index: 70; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 24px); padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--tx); color: var(--bk); font-size: 14px; font-weight: 800; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 220ms, transform 360ms var(--spring); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--pk); color: var(--bk); font-weight: 800; font-size: 13px; }
.splash { position: absolute; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 16px; background: var(--bk); transition: opacity 280ms; }
.splash img { width: 120px; height: 120px; border-radius: 28px; animation: spl 700ms var(--spring) both; }
.splash p { font-weight: 800; font-size: 24px; letter-spacing: .06em; }
.splash.out { opacity: 0; }
@keyframes spl { from { transform: translateY(30px) scale(.7); opacity: 0; } }
.onb { position: absolute; inset: 0; z-index: 85; display: flex; flex-direction: column; padding: calc(var(--top) + 10px) 0 calc(var(--bot) + 18px); background: var(--bk); transition: opacity 260ms; }
.onb.out { opacity: 0; }
.onb__skip { align-self: flex-end; margin-right: 12px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--s2); font-weight: 700; font-size: 14px; }
.onb__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.onb__track::-webkit-scrollbar { display: none; }
.onb__s { flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; justify-content: center; padding: 0 28px; text-align: center; }
.onb__img { display: block; width: min(58vw, 230px); aspect-ratio: 9 / 14; margin: 0 auto 26px; border-radius: 30px; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 30px 60px rgba(255, 46, 136, .3); }
.onb__img img { width: 100%; height: 100%; object-fit: cover; }
.onb__s h2 { font-size: 24px; font-weight: 800; line-height: 1.4; margin-bottom: 8px; word-break: keep-all; }
.onb__s p { color: var(--tx2); font-size: 15px; }
.onb__f { display: flex; align-items: center; gap: 12px; padding: 12px 20px 0; }
.onb__dots { flex: 1; display: flex; gap: 6px; }
.onb__dots i { width: 8px; height: 8px; border-radius: 4px; background: #45434E; transition: width 240ms var(--out); }
.onb__dots i.on { width: 24px; background: var(--pk); }

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