/* Mobile social layout: flat surfaces, clear type, generous touch targets. */
.p-text .mention { color:#79adff; font-weight:600; }
.p-text .post-link { color:#79adff; text-decoration:underline; overflow-wrap:anywhere; }
.tool-search { flex:none; padding:10px 16px 4px; background:var(--bg); }
.tool-island { display:flex; align-items:center; gap:10px; border:1px solid #303540; background:#1c1f26; border-radius:999px; padding:0 14px; min-height:48px; }
.tool-island:focus-within { border-color:#8bafff; box-shadow:0 0 0 3px #4b7cff22; }
.tool-island svg { width:20px; height:20px; color:#b9c0cf; flex:none; }
.tool-island input { width:100%; min-width:0; border:0; outline:0; background:none; color:var(--ink); font:inherit; font-size:16px; padding:12px 0; }
.tool-island button { border:0; background:none; color:var(--ink); font-size:24px; width:32px; min-height:40px; }
.tool-search-status { font-size:12px; color:var(--muted); padding:6px 4px; }
.tool-search-status:empty { display:none; }
.tool-search-modes { display:flex; gap:8px; padding-top:10px; }
.tool-search-modes button { flex:1; padding:10px; border:1px solid var(--line); background:none; border-radius:999px; color:var(--muted); }
.tool-search-modes button[aria-pressed=true] { background:#26375c; color:#d6e3ff; border-color:#4b7cff; }
.search-filtered,[hidden] { display:none!important; }
.discovery-results h3 { margin:0; font-size:16px; line-height:1.5; }
:root { --bg:#0c0d10; --card:#15171c; --card-2:#1d2027; --line:#2a2e37; --muted:#a1a8b6; --nav-h:104px; }
.stage,.auth { background:var(--bg); }
.device { max-width:520px; }
.topbar { height:calc(104px + var(--sat)); padding:var(--sat) 14px 38px; background:var(--bg); box-shadow:none; border-color:var(--line); }
.tb-brand > span { display:none; }
.tb-brand img { width:34px; height:34px; box-shadow:none; }
.search-island { display:flex; align-items:center; gap:8px; flex:1; min-width:0; height:42px; padding:0 14px; border:1px solid #303540; border-radius:999px; color:#b9c0cf; background:#1c1f26; text-align:left; }
.search-island svg { width:18px; flex:none; }
svg { fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.search-island span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px; }
.tb-switch { position:absolute; bottom:7px; left:16px; right:16px; height:28px; font-size:16px; padding:0; }
.tb-ic { flex:none; width:34px; }
.nav { height:calc(58px + var(--sat)); background:var(--bg); box-shadow:none; border-color:var(--line); }
.nav .n-act { width:44px; height:44px; background:none; border:0; box-shadow:none; }
.nav .n-act svg { width:24px; }
.card,.chat-row { background:var(--card); border:1px solid var(--line); box-shadow:none; border-radius:16px; }
.btn,.seg button.on { background:var(--card-2); box-shadow:none; text-shadow:none; border-color:var(--line); }
.btn.primary,.seg button.on { background:#4b7cff; color:#fff; border-color:transparent; box-shadow:none; }
.field input,.compose textarea,.srch input { box-shadow:none; border:1px solid var(--line); background:var(--card-2); border-radius:14px; }
.compose-bar { flex-wrap:wrap; }
.post .p-text { line-height:1.6; }
.vis-badge { font-size:11px; background:none; color:var(--muted); }
.dock { background:var(--bg); border-top:1px solid var(--line); box-shadow:none; }
.dtab { justify-content:center; gap:5px; }
.dtab.on { background:none; box-shadow:none; color:#fff; }
.dtab.on svg { color:#fff; filter:none; stroke-width:2.4; }
.dtab::after { font-size:10px; }
.dtab[data-s=lab]::after { content:none; }
.lab-tab-name { font-size:15px; font-weight:700; }
.workspace-sheet { bottom:calc(var(--dock-h) + var(--sab)); }
.workspace-intro { border:0; background:none; box-shadow:none; padding:8px 0; }
.workspace-grid { gap:12px; }
.workspace-tool { background:var(--card); border:1px solid var(--line); border-radius:20px; box-shadow:none; padding:18px; min-height:138px; }
.workspace-tool > span { width:42px; height:42px; border-radius:14px; box-shadow:none; background:#223052; color:#a9c4ff; }
.workspace-tool:nth-child(3n+2) > span { background:#302543; color:#ceafff; }
.workspace-tool:nth-child(3n) > span { background:#173a36; color:#80d8c7; }
.workspace-tool svg { width:24px; height:24px; }
.workspace-tool b { font-size:15px; }
.workspace-tool small { font-size:12px; }
.profile-menu { padding:4px 16px; }
.profile-menu a,.profile-menu button { display:block; width:100%; text-align:left; padding:18px 0; color:var(--ink); border:0; border-bottom:1px solid var(--line); background:none; font:inherit; }
.profile-menu small { display:block; color:var(--muted); margin-top:4px; font-size:12px; }
button:focus-visible,a:focus-visible { outline:2px solid #99b8ff; outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { * { transition:none!important; scroll-behavior:auto!important; } }
