.page { position:absolute; inset:0; overflow-y:auto; padding-top:env(safe-area-inset-top); }
.bar { position:sticky; top:0; z-index:5; display:flex; align-items:center; gap:8px; padding:10px 12px; background:var(--bg); }
.bar h2 { flex:1; min-width:0; margin:0; text-align:center; font-size:1rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.search-box { flex:1; display:flex; align-items:center; gap:8px; height:42px; padding:0 12px; border-radius:6px; background:var(--soft); }
.search-box input { flex:1; min-width:0; border:0; outline:0; background:none; font-size:16px; }
.search-box:focus-within { box-shadow:0 0 0 1px var(--muted); }
.filters { display:flex; border-bottom:1px solid var(--line); }
.filters button { flex:1; height:42px; border:0; border-bottom:2px solid transparent; background:none; color:var(--muted); font-weight:700; }
.filters button.on { color:#fff; border-color:#fff; }
.section-title { margin:18px 12px 6px; font-size:.95rem; }
.entry { display:flex; align-items:center; gap:12px; padding:10px 12px; }
.entry:hover { background:var(--soft); }
.avatar { width:48px; height:48px; flex:none; display:grid; place-items:center; border-radius:50%; border:1px solid var(--line); background:var(--soft); font-size:1.4rem; font-weight:700; }
.entry b { display:block; overflow-wrap:anywhere; }
.entry small { color:var(--muted); }
.profile { display:flex; flex-direction:column; align-items:center; gap:8px; padding:12px 20px 18px; text-align:center; }
.profile .avatar { width:92px; height:92px; font-size:2.6rem; }
.profile .avatar svg { width:42px; height:42px; }
.profile h1 { margin:4px 0 0; font-size:1.3rem; overflow-wrap:anywhere; }
.profile p { margin:0; color:var(--muted); }
.profile .buttons { display:flex; gap:8px; margin-top:6px; }
.grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:2px; }
@media (min-width:640px) { .grid { grid-template-columns:repeat(4, 1fr); } }
@media (min-width:900px) { .grid { grid-template-columns:repeat(5, 1fr); } }
.card { position:relative; display:block; aspect-ratio:9/16; overflow:hidden; background:var(--soft); }
.card:focus-visible { outline-offset:-3px; }
.card img { width:100%; height:100%; object-fit:cover; display:block; }
.card span { position:absolute; left:0; right:0; bottom:0; padding:22px 8px 6px; font-size:.78rem; font-weight:600; background:linear-gradient(transparent, rgba(0,0,0,.75)); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.card span:empty { display:none; }
.card > svg { position:absolute; top:50%; left:50%; margin:-11px; color:var(--muted); }
