/* Small-fish UI: restrained iOS/WeChat navigation, separated from old page composition. */
#phone .xy-main-page { height:100%; min-height:0; box-sizing:border-box; }
#phone .xy-main-page>.settings-inner { flex:1; min-height:0; height:100%; box-sizing:border-box; padding-bottom:76px!important; }
#phone .xy-main-page .settings-topbar { flex:0 0 46px; }
#phone .xy-main-page .settings-body { min-height:0; overflow:auto; }
#phone .xy-tabbar { position:absolute; bottom:0; left:0; right:0; height:76px; padding:7px 10px 24px; box-sizing:border-box; display:grid; grid-template-columns:repeat(4,1fr); background:var(--ios-surface); border-top:1px solid var(--ios-line); z-index:40; }
#phone .xy-tab { border:0; background:none; color:var(--ios-secondary); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; font:400 11px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; }
#phone .xy-tab i { font-size:24px; }
#phone .xy-tab[aria-current="true"] { color:#07a35a; }
#phone .chat-list-dock { display:none!important; }
#phone .chat-list-main::before,#phone .chat-main::before { display:none!important; }
#phone #chat-list-screen .chat-list-scroll { padding:12px 16px 22px!important; }
#phone #chat-list-screen .ios-inbox-head { flex:0 0 auto; }
#phone .xy-inbox-title { display:flex; justify-content:space-between; align-items:center; }
#phone .xy-inbox-title h1 { font-size:30px; margin:8px 0 18px; }
#phone .xy-inbox-title .chat-thread-add-actions { margin:0; padding:0; }
#phone #chat-list-screen .chat-thread-list-root { background:var(--ios-surface); border-radius:0; }
#phone #chat-list-screen .chat-list-sec-head[hidden] { display:none!important; }
#phone .xy-discover { position:absolute; inset:0; z-index:32; padding:65px 0 90px; background:var(--ios-group); color:var(--ios-ink); overflow:auto; box-sizing:border-box; }
#phone .xy-discover[hidden] { display:none; }
#phone .xy-page-heading { padding:12px 20px 22px; }
#phone .xy-page-heading h1 { margin:0; font-size:30px; letter-spacing:-.5px; }
#phone .xy-group { background:var(--ios-surface); margin:0 0 18px; }
#phone .xy-list-row { width:100%; min-height:58px; display:flex; align-items:center; gap:15px; border:0; border-bottom:1px solid var(--ios-line); border-radius:0!important; padding:14px 20px; box-sizing:border-box; background:var(--ios-surface)!important; color:var(--ios-ink); box-shadow:none; font:400 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; text-align:left; }
#phone .xy-list-row>span { flex:1; }
#phone .xy-list-row>i:first-child { color:#07a35a; font-size:23px; }
#phone .xy-list-row>i:last-child { color:#b2b2b6; font-size:15px; }
#phone #my-screen .my-ambient,#phone #my-screen .my-topbar-meta,#phone #my-screen .my-cover-grid { display:none!important; }
#phone #my-screen .my-inner { height:100%; display:flex; flex-direction:column; padding:54px 0 76px; box-sizing:border-box; }
#phone #my-screen .my-topbar { flex:0 0 46px; padding:8px 16px; background:var(--ios-surface); }
#phone #my-screen .my-body { flex:1; min-height:0; overflow:auto; padding:0; background:var(--ios-group); }
#phone .xy-me-content>.my-cover { padding:25px 20px!important; background:var(--ios-surface)!important; margin:0 0 20px; border:0; border-radius:0; box-shadow:none; }
#phone .xy-me-content .my-cover-inner { display:flex; align-items:center; gap:18px; }
#phone .xy-me-content .my-avatar { width:62px; height:62px; border-radius:10px; box-shadow:none; }
#phone .xy-me-content .my-kicker-row,#phone .xy-me-content .my-issue { display:none!important; }
#phone .xy-me-content .my-title { font-size:23px!important; }
#phone .xy-me-content .my-row-l { display:flex; gap:12px; align-items:center; }
#phone .xy-me-content .my-row-r { color:var(--ios-secondary); }
#phone .xy-me-content .my-tile { justify-content:flex-start; }
#phone #my-screen .settings-body { padding:0!important; }
#phone .my-layout[hidden] { display:none!important; }
#phone .xy-wallet { border-bottom:1px solid var(--ios-line); }
#phone .xy-wallet summary { padding:18px 20px; font-size:16px; cursor:pointer; }
#phone .xy-wallet .my-card { margin:0; border-radius:0!important; box-shadow:none; }
#phone .xy-wallet .my-card-k { display:none; }
#phone .xy-contact-list { display:flex!important; flex-direction:column!important; gap:0!important; padding:0!important; width:100%; overflow:auto; background:var(--ios-surface); }
#phone .xy-contact-list .char-roster-li { width:100%!important; flex:0 0 auto!important; }
#phone .xy-contact-list .char-roster-card { width:100%; height:auto; min-height:74px; display:flex; flex-direction:row; align-items:center; gap:14px; padding:12px 16px; border:0; border-bottom:1px solid var(--ios-line); border-radius:0; background:var(--ios-surface); box-shadow:none; transform:none!important; }
#phone .xy-contact-list .char-roster-card-av { width:48px; height:48px; aspect-ratio:1; flex:0 0 48px; border-radius:8px; margin:0; background:var(--ios-group); display:grid; place-items:center; font-size:22px; }
#phone .xy-contact-list .char-roster-card-av img { width:100%; height:100%; object-fit:cover; border-radius:8px; }
#phone .xy-contact-list .char-roster-card-name { font:500 17px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--ios-ink); margin:0; }
#phone .xy-contact-list .char-roster-card-tape { display:none; }
#phone .char-lib-choice-grid { display:flex; flex-direction:column; background:var(--ios-surface); border-radius:12px; overflow:hidden; }
#phone .char-lib-choice { min-height:65px; display:flex; align-items:center; justify-content:space-between; background:var(--ios-surface); border:0; border-bottom:1px solid var(--ios-line); border-radius:0; padding:16px; }
#phone .char-lib-choice strong { font-size:17px; font-family:inherit; }
#phone .char-roster-divider,#phone .char-roster-empty::before,#phone .char-roster-empty::after,#phone .chat-thread-kind-tab::before,#phone .chat-thread-kind-tab::after { display:none!important; }
#phone .char-roster-empty { background:transparent!important; border:0!important; box-shadow:none!important; padding:45px 16px; text-align:center; }
#phone .char-roster-empty :is(h2,h3,strong,p) { font-family:inherit!important; font-style:normal!important; }
#phone .ios-inbox-search input { border-radius:0!important; box-shadow:none!important; }
#phone .ios-inbox-search[hidden],#phone .chat-thread-add-actions[hidden] { display:none!important; }
#phone #chat-list-panel-moments { background:var(--ios-surface)!important; }
#phone #chat-list-panel-moments .moments-ins-topbar { min-height:45px; border:0; background:var(--ios-surface); }
#phone #chat-list-panel-moments .moments-ins-profile { background:var(--ios-group); padding:22px 16px; border-radius:0; }
#phone #chat-list-panel-moments .moments-ins-profile-row { display:flex; flex-direction:row-reverse; gap:15px; align-items:center; }
#phone #chat-list-panel-moments .moments-ins-avatar { width:66px; height:66px; border-radius:10px; border:0; box-shadow:none; }
#phone #chat-list-panel-moments .moments-ins-bio { font-style:normal; text-align:right; border:0; }
#phone #chat-list-panel-moments .moments-ins-decor-k { display:none; }
#phone .xy-moments-decor summary { padding:12px 16px; color:var(--ios-secondary); font-size:14px; cursor:pointer; }
#phone .xy-appearance-group { border-radius:14px; background:var(--ios-surface); overflow:hidden; }
#phone .xy-appearance-group summary { padding:18px 16px; color:var(--ios-ink); font-size:16px; cursor:pointer; }
#phone .xy-appearance-group .settings-panel { border-radius:0; }
#phone .xy-profile-group { background:var(--ios-surface); border-radius:12px; margin-bottom:14px; }
#phone .xy-profile-group>summary { padding:16px; font-size:16px; font-weight:600; color:var(--ios-ink); cursor:pointer; }
#phone .xy-profile-group .settings-sec-head[hidden] { display:none!important; }
#phone .xy-profile-group .settings-panel { margin:0; padding-top:0; }
#phone #char-screen :is(.char-label,.char-field-k,.char-studio-label,.char-textarea-label) { font-family:inherit; letter-spacing:0; font-size:14px; }
#phone #char-screen :is(.char-studio-lead,.char-field-note,.char-help) { font-size:13px; line-height:1.6; }
#phone #wardrobe-screen .settings-sec-head[hidden] { display:none!important; }
#phone .chat-thread-kind-tab.is-active { background-image:none!important; }
#phone .chat-thread-kind-tab.is-active::after { display:none!important; }
#phone #chat-screen .chat-composer-fabs { align-items:center; }
#phone #chat-screen #chat-send { background:#07a35a; border-radius:9px; }
#phone #chat-screen .chat-composer-cap { display:none!important; }
#phone #chat-screen .chat-slab-panel { background:var(--ios-group); border:0; box-shadow:none; border-radius:0; }
#phone [hidden] { /* Components with deliberate display rules are handled by their original logic. */ }
