/* iOS native grouped surfaces. Framework7 remains the shared modal runtime. */
body #phone .xy-screen { background:var(--ios-group)!important; }
body #phone .xy-screen :is(.settings-topbar,.forum-wx-subheader,.relation-head,.roam-header,.checkup-topbar,.roleplay-topbar) { background:var(--ios-surface)!important; border-bottom:1px solid var(--ios-line); backdrop-filter:none; box-shadow:none; }
.xy-nav-title { position:absolute; left:50%; transform:translateX(-50%); font-size:17px; font-weight:600; white-space:nowrap; pointer-events:none; }
body #phone :is(.settings-watermark,.watermark,.chat-filmgrain,.settings-ambient,.roleplay-hub-dot,[class*="-tape"],[class*="-watermark"]) { display:none!important; }
body #phone :is(.my-profile-card,.my-identity-card,.my-tile,.my-row,.char-studio-card,.char-lib-card,.checkup-session-card,.forum-post-card,.relation-char-card,.roleplay-fcard,.roam-panel) { border:0!important; background:var(--ios-surface)!important; box-shadow:none!important; border-radius:14px!important; color:var(--ios-ink); }
body #phone :is(.my-title,.char-title,.roleplay-hub-title,.checkup-masthead-title,.relation-masthead-title,.roam-head-title,.settings-masthead-title) { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important; font-style:normal!important; letter-spacing:-.4px!important; }
body #phone :is(.my-row,.my-tile) { min-height:54px; font-size:16px; }
body #phone :is(.minimax-head,.chat-detail-head,.forum-sector-sheet-head,.relation-link-set-head,.checkup-sheet-head) { border-bottom:1px solid var(--ios-line); padding:16px 18px; background:transparent; }
body #phone :is(.minimax-title,.forum-sector-sheet-title,.relation-link-set-head h3,.checkup-sheet-title) { font:600 18px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:0; }
body #phone :is(.minimax-card,.forum-sector-sheet,.relation-link-set-sheet,.checkup-sheet-card,.chat-send-choice-card,.chat-more-sheet-card,.roam-char-picker-sheet) { border:0!important; border-radius:24px!important; background:var(--ios-surface)!important; backdrop-filter:none!important; box-shadow:0 16px 50px #0002!important; }
body #phone :is(.forum-sector-sheet-save,.relation-link-set-confirm,.checkup-sheet-primary,.my-primary-btn) { border:0; border-radius:12px; background:var(--ios-blue); color:white; font-size:16px; min-height:44px; }
body #phone :is(.char-field,.relation-field,.forum-field) { font-family:inherit; }
body #phone .roleplay-hub-title { font-size:32px; }
body #phone .chat-list-dock-tabs { border:0; box-shadow:none; }
body #phone #chat-list-screen .chat-list-scroll { scroll-padding-top:0; }
body #phone #chat-list-screen .chat-list-section { background:none!important; border:0; padding:0; }
body #phone #chat-list-screen .chat-list-hint { background:transparent; border:0; font-size:14px; line-height:1.6; color:var(--ios-secondary); padding:24px 10px; text-align:center; }
body #phone #chat-list-screen .chat-thread-kind-tabs { background:rgba(120,120,128,.1); padding:3px; border-radius:10px; }
body #phone #chat-list-screen .chat-thread-kind-tab { border-radius:8px; flex:1; }
body #phone #chat-list-screen .chat-thread-kind-tab.is-active { background:var(--ios-surface); box-shadow:0 1px 3px #0001; }
@media(prefers-reduced-transparency:reduce){body #phone .ios-dock,body #phone .ios-widget{backdrop-filter:none;background:#527ba8;}}
