.modal.profile-settings{max-width:500px;height:min(640px,100dvh - 32px);max-height:calc(100dvh - 32px);overflow:hidden}.profile-settings>.modal-inner{flex-direction:column;height:100%;min-height:0;padding:24px;display:flex;overflow:hidden}.profile-settings .modal-heading{flex-shrink:0;margin-bottom:16px}.profile-settings .modal-heading h2{font-size:23px}.settings-tabs{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.settings-tablist{border-bottom:1px solid #dce2d2;flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.settings-tablist [role=tab]{color:#6b775c;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;min-height:44px;padding:10px 8px;font-size:13px;font-weight:500}.settings-tablist [role=tab][aria-selected=true]{color:#3e5834;border-bottom-color:#5a7547}.settings-tablist [role=tab]:focus-visible,.settings-panel:focus-visible{outline-offset:-3px;border-radius:4px;outline:2px solid #5a7547}.settings-panel{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:18px 3px 3px 0;overflow-y:auto}.settings-panel[hidden]{display:none}.settings-panel .settings-profile{margin-top:0}.settings-panel .settings-profile>div{min-width:0}.settings-panel .settings-profile>svg,.settings-panel .settings-profile>.coins{flex-shrink:0}.settings-panel>.profile-stats{margin-bottom:20px}.settings-panel .home-description-editor,.settings-panel .home-visit-history{border-top:0;margin-top:0;padding-top:0}.settings-panel .home-visit-list{scrollbar-gutter:auto;max-height:none;overflow:visible}@media (max-width:480px),(max-height:500px){.profile-settings>.modal-inner{padding:18px}.profile-settings .modal-heading{gap:10px;margin-bottom:10px}.profile-settings .modal-heading h2{font-size:21px}.settings-panel{padding-top:14px}}@media (max-height:300px){.game-shell dialog.modal.profile-settings{height:auto;max-height:calc(100dvh - max(16px, env(safe-area-inset-top)));overscroll-behavior:contain;scroll-padding-block:1rem;overflow:hidden auto}.game-shell dialog.modal.profile-settings:not(.home-screen)>.modal-inner{height:auto;padding:12px 16px max(16px, env(safe-area-inset-bottom));display:block;overflow:visible}.game-shell dialog.modal.profile-settings:not(.home-screen)>.modal-inner:before{display:none}.game-shell dialog.modal.profile-settings:not(.home-screen)>.modal-inner>.modal-heading{margin-bottom:12px;padding-block:0;position:static}.game-shell .profile-settings .settings-tabs{flex:none;display:block;overflow:visible}.game-shell .profile-settings .settings-panel{scrollbar-gutter:auto;max-height:none;overflow:visible}}.game-shell .profile-settings .settings-panel>p:not([role]){max-inline-size:62ch;font-size:var(--game-reading-size,1rem);line-height:var(--game-reading-line-height,1.6);color:var(--game-reading-color,#4f604b);overflow-wrap:anywhere;margin-block:0 1rem}.game-shell .profile-settings .settings-panel{scroll-padding-block:.75rem}.game-shell .profile-settings .settings-tablist [role=tab]{min-width:0;font-size:var(--game-control-size,.875rem);overflow-wrap:anywhere;line-height:1.45}.game-shell .profile-settings .modal-heading h2{overflow-wrap:anywhere;min-width:0}.game-shell .profile-settings .modal-heading>.icon-button{width:44px;height:44px}
