/* ===================== 2breath · MOBILE APP ===================== */
body { background: var(--bg-tint); min-height: 100vh; }
[data-theme="dark"] body { background: #0A0F1F; }

.stage { min-height: 100vh; padding: 56px 24px 80px; }
.stage-head { max-width: 1180px; margin: 0 auto 44px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.stage-head .logo { height: 30px; }
.stage-head h1 { font-size: 26px; margin-left: 4px; }
.stage-head .sub { color: var(--text-2); font-size: 15px; flex: 1; min-width: 200px; }
.stage-head .actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.phones { display: flex; gap: 48px; justify-content: center; align-items: flex-start; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; }
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }

/* device */
.phone {
  width: 322px; height: 696px; border-radius: 52px;
  background: #0c0c10; padding: 11px;
  box-shadow: 0 40px 90px -30px rgba(20,16,40,.55), 0 0 0 2px rgba(255,255,255,.04) inset;
  flex: none; position: relative;
}
[data-theme="dark"] .phone { box-shadow: 0 40px 100px -28px rgba(0,0,0,.8), 0 0 0 1px var(--border-2); }
.screen {
  width: 100%; height: 100%; border-radius: 42px; overflow: hidden;
  background: var(--bg); position: relative; display: flex; flex-direction: column;
}
.island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 104px; height: 30px; background: #0c0c10; border-radius: 99px; z-index: 30; }

/* status bar */
.statusbar { height: 50px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 24px 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.statusbar .si { display: flex; gap: 6px; align-items: center; }
.statusbar svg { width: 16px; height: 16px; }

/* app header */
.app-head { flex: none; padding: 8px 18px 12px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.app-head .logo { height: 22px; }
.app-head h3 { font-size: 19px; margin-right: auto; }
.app-head .ico-btn { width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; color: var(--text-2); position: relative; }
.app-head .ico-btn:hover { background: var(--bg-tint); }
.app-head .ico-btn svg { width: 21px; height: 21px; }
.app-head .ico-btn .dotn { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 99px; background: var(--warm); border: 1.5px solid var(--bg); }

/* scroll body */
.app-body { flex: 1; overflow-y: auto; padding: 14px 16px 92px; }
.app-body::-webkit-scrollbar { width: 0; }

.m-greet { margin-bottom: 14px; }
.m-greet h4 { font-size: 20px; margin-bottom: 2px; }
.m-greet p { font-size: 13px; color: var(--text-2); }

.m-filters { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; }
.m-filters::-webkit-scrollbar { height: 0; }
.m-chip { flex: none; padding: 7px 14px; border-radius: 3px; font-size: 13px; font-weight: 500; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.m-chip.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.m-chip.need { color: var(--gold); border-color: color-mix(in srgb,var(--gold) 40%,transparent); }

/* mobile post */
.m-post { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 15px 16px; margin-bottom: 12px; }
.m-post.need { border-color: color-mix(in srgb,var(--gold) 45%,var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb,var(--gold) 12%,transparent); }
.m-ph { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.m-ph .av { width: 38px; height: 38px; border-radius: 99px; flex: none; display: grid; place-items: center; font-size: 17px; }
.m-ph .nm { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.m-ph .star { color: var(--gold); font-size: 12px; font-weight: 700; }
.m-ph .sb { font-size: 12px; color: var(--text-2); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 1px; }
.m-mood { padding: 1px 8px; border-radius: 3px; font-size: 11px; font-weight: 500; }
.m-tag { color: var(--accent); font-weight: 500; }
[data-theme="dark"] .m-tag { color: var(--accent-2); }
.m-need { font-size: 10.5px; font-weight: 600; color: var(--gold); background: color-mix(in srgb,var(--gold) 14%,transparent); padding: 1px 7px; border-radius: 3px; }
.m-body { font-size: 14.5px; line-height: 1.55; margin-bottom: 12px; }
.m-react { display: flex; gap: 6px; align-items: center; padding-top: 11px; border-top: 1px solid var(--border); }
.m-r { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 34px; border-radius: var(--r-full); background: var(--bg-tint); font-size: 16px; transition: all .2s; }
.m-r.on { background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow-sm); transform: scale(1.05); }
.m-r.star { color: var(--gold); margin-left: auto; }
.m-r.star.on { background: color-mix(in srgb,var(--gold) 16%,transparent); border-color: var(--gold); }
.m-cmt { font-size: 13px; color: var(--text-2); display: inline-flex; gap: 5px; align-items: center; padding: 0 10px; }
.m-cmt svg { width: 15px; height: 15px; }

/* swipe hint */
.swipe-hint { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11.5px; color: var(--text-3); font-family: var(--mono); margin: 6px 0 14px; }

/* bottom nav */
.botnav { position: absolute; bottom: 0; left: 0; right: 0; height: 78px; background: color-mix(in srgb,var(--surface) 92%,transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--border); display: flex; align-items: flex-start; padding: 12px 14px 0; z-index: 20; }
.bn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-3); font-size: 10.5px; font-weight: 500; padding-top: 4px; }
.bn svg { width: 23px; height: 23px; }
.bn.active { color: var(--accent); }
[data-theme="dark"] .bn.active { color: var(--accent-2); }
.bn-plus { flex: none; width: 54px; }
.bn-plus .pbtn { width: 50px; height: 50px; border-radius: 99px; background: var(--brand-grad); color: #fff; display: grid; place-items: center; box-shadow: var(--glow); margin-top: -16px; }
.bn-plus .pbtn svg { width: 26px; height: 26px; }

/* ===== create bottom sheet ===== */
.sheet-dim { position: absolute; inset: 0; background: rgba(10,8,20,.4); z-index: 25; border-radius: 42px; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0; z-index: 26; padding: 8px 18px 24px; box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
.sheet .grip { width: 40px; height: 4px; border-radius: 99px; background: var(--border-2); margin: 6px auto 16px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-head b { font-family: var(--display); font-size: 18px; }
.sheet textarea { width: 100%; border: none; background: transparent; resize: none; font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--text); min-height: 96px; }
.sheet textarea:focus { outline: none; }
.sheet-tools { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--border); margin-top: 8px; }
.s-tool { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--bg-tint); display: grid; place-items: center; color: var(--text-2); }
.s-tool svg { width: 19px; height: 19px; }
.s-opt { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid var(--border); }
.s-opt .t { flex: 1; } .s-opt .t b { font-size: 13.5px; display: block; } .s-opt .t span { font-size: 11.5px; color: var(--text-2); }
.m-switch { width: 42px; height: 25px; border-radius: 99px; background: var(--border-2); position: relative; flex: none; transition: background .25s; }
.m-switch i { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s; }
.m-switch.on { background: var(--accent); } .m-switch.on i { transform: translateX(17px); }
.sheet .btn { width: 100%; margin-top: 14px; }

/* ===== profile screen ===== */
.m-cover { height: 120px; background: var(--brand-grad); position: relative; }
.m-cover::after { content:""; position:absolute; inset:0; background: radial-gradient(90% 140% at 80% 0%, rgba(255,255,255,.25), transparent 60%); }
.m-prof { padding: 0 16px 92px; }
.m-pav { width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--bg); margin: -42px 0 0; position: relative; }
.m-prof h3 { font-size: 21px; display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.m-prof h3 .star { color: var(--gold); font-size: 15px; }
.m-prof .psub { font-size: 13px; color: var(--text-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.m-bio { font-size: 14px; line-height: 1.55; margin: 14px 0; }
.m-pactions { display: flex; gap: 8px; margin: 14px 0; }
.m-pactions .btn { flex: 1; }
.m-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.m-bdg { font-size: 12px; font-weight: 500; padding: 6px 11px; border-radius: 3px; background: var(--bg-tint); border: 1px solid var(--border); }
.m-gal { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.m-gal .ph { aspect-ratio: 1; border-radius: var(--r-md); } .m-gal .ph span { font-size: 9px; }

.view { display: none; height: 100%; flex-direction: column; }
.view.active { display: flex; }

@media (max-width: 760px) {
  .stage { padding: 32px 12px 60px; }
  .phones { gap: 40px; }
  .phone { transform: scale(.96); }
}
