/* Compact profile actions and footer spacing. / 紧凑的个人页操作与页尾间距。 */
#app .settings-overview .daily-checkin-button{margin-left:auto;margin-right:8px;padding:5px 10px;min-height:28px;white-space:nowrap;border:1px solid color-mix(in srgb,var(--theme-primary,#8098f9) 25%,transparent);border-radius:10px;background:color-mix(in srgb,var(--theme-primary,#8098f9) 8%,transparent);color:var(--theme-primary,#8098f9);font-size:11px;cursor:pointer}
#app .settings-overview:has(.daily-checkin-button) .user-profile-action{margin-left:0!important}
#app .daily-checkin-button:disabled{opacity:.6;cursor:default}
:root[data-theme-bg-tab="settings"] body{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
:root[data-theme-bg-tab="settings"] #app .page.active>.container{padding-bottom:0!important}
:root[data-theme-bg-tab="settings"] .my-public-copyright{margin-bottom:0!important;padding-bottom:0!important}
:root[data-theme-bg-tab="settings"] #app .page.active .copyright-link{margin:2px 0 0!important;padding:2px 0 0!important}

/* Stack signed-in profile actions on the right: check-in above logout. / 登录后右侧按钮上下排列：签到在上、退出在下。 */
:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button){display:grid!important;grid-template-columns:auto minmax(0,1fr) 96px!important;grid-template-rows:28px 28px!important;gap:6px 12px!important;align-items:center!important}
:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button)>.settings-overview-mark{grid-column:1!important;grid-row:1 / 3!important;align-self:center!important}
:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button)>.settings-overview-copy{grid-column:2!important;grid-row:1 / 3!important;align-self:center!important;min-width:0!important}
:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button)>.daily-checkin-button,:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button)>.user-profile-action{position:static!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;grid-column:3!important;width:96px!important;min-width:0!important;height:28px!important;min-height:28px!important;max-height:28px!important;padding:0 8px!important;margin:0!important;border-radius:9px!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important}
:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button)>.daily-checkin-button{grid-row:1!important}
:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button)>.user-profile-action{grid-row:2!important}
:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button)>.user-profile-action::before{display:inline-flex!important;align-items:center!important;margin:0 5px 0 0!important;line-height:1!important;font-size:16px!important}
@media(max-width:380px){:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button){grid-template-columns:auto minmax(0,1fr) 88px!important;column-gap:8px!important}:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button)>.daily-checkin-button,:root #app#app .user-profile-panel .settings-overview:has(>.daily-checkin-button)>.user-profile-action{width:88px!important}}
