/* Focused behavior/accessibility corrections; preserve the supplied design. */
.profile-display-name{margin:0!important}.profile-names-wrap{min-width:0}.profile-bio-text{margin:6px 0 0!important;white-space:pre-line;overflow-wrap:anywhere}.profile-intro-row{align-items:flex-start}
#reveryNotice{position:fixed;z-index:99999;bottom:calc(95px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,15px);max-width:90vw;width:max-content;padding:12px 18px;border-radius:20px;background:rgba(25,25,28,.92);color:white;font:14px/1.5 system-ui;opacity:0;pointer-events:none;transition:.2s;box-shadow:0 8px 35px #0002}#reveryNotice.visible{opacity:1;transform:translate(-50%,0)}
.revery-backup{display:block;margin:12px auto;padding:12px 18px;border:0;border-radius:14px;background:#fff;color:#007aff;font:14px system-ui}
html{min-height:100%;-webkit-text-size-adjust:100%}body{padding-bottom:env(safe-area-inset-bottom)}
#api_model{min-width:0;max-width:65%;background:transparent;border:0;font:inherit;text-align:right}#modelStatus{padding:8px 16px;font:12px/1.5 system-ui;color:#666;overflow-wrap:anywhere}

/* The homepage now scrolls to the real per-character chat list below the final widget. */
html:has(.app-screen-container),body:has(.app-screen-container){height:100vh;min-height:100vh;overflow:hidden}
body:has(.app-screen-container) .app-screen-container{overflow-y:auto;overflow-x:hidden;padding:0 0 calc(100px + env(safe-area-inset-bottom));flex:1;min-height:0;scrollbar-width:none}
body:has(.app-screen-container) .app-screen-container> *{flex-shrink:0}
body:has(.app-screen-container) .top-header{flex-shrink:0}
body:has(.app-screen-container) .dock-navigation-wrapper{width:calc(100% - 24px);max-width:410px;gap:8px;bottom:calc(14px + env(safe-area-inset-bottom))}
body:has(.app-screen-container) .dock-island{min-width:0;flex:1;gap:0;justify-content:space-around;padding-left:8px;padding-right:8px}
body:has(.app-screen-container) .dock-unit{min-width:0;flex:1}
