/* Home Dashboard + Badges shortcut row — 2026-10-12
   Keep Dashboard truly centered while its Badges star sits at the far left.
   Scoped to Home to avoid changing progress, badges, or modal layouts. */
#rank-tab .rank-content > .rank-home-shortcuts-row {
    position: relative !important;
    z-index: 5 !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    column-gap: clamp(6px, 2vw, 12px) !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    margin: 28px 0 13px !important;
    padding: 0 !important;
    border-top: 1px solid rgba(172,192,219,.23) !important;
    border-bottom: 1px solid rgba(172,192,219,.23) !important;
}
#rank-tab .rank-content > .rank-home-shortcuts-row > #rankBadgesShortcut {
    position: relative !important;
    inset: auto !important;
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid rgba(var(--theme-primary-rgb,0,212,255),.28) !important;
    border-radius: 12px !important;
    background: var(--theme-secondary,#080e1b) !important;
    color: var(--ui-special-text,var(--theme-text,#fff)) !important;
    -webkit-text-fill-color: currentColor !important;
    box-shadow: none !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
}
#rank-tab .rank-content > .rank-home-shortcuts-row > #rankBadgesShortcut svg {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linejoin: round !important;
    stroke-linecap: round !important;
}
#rank-tab .rank-content > .rank-home-shortcuts-row > #rankLifeDashboardButton {
    position: relative !important;
    inset: auto !important;
    grid-column: 2 !important;
    justify-self: stretch !important;
    align-self: center !important;
    display: flex !important;
    flex: 0 1 auto !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: var(--theme-text,#fff) !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
}
#rank-tab .rank-content > .rank-home-shortcuts-row > #rankLifeDashboardButton .rank-life-dashboard-label {
    display: inline-block !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: .08em !important;
    color: var(--theme-text,#fff) !important;
    -webkit-text-fill-color: var(--theme-text,#fff) !important;
}
#rank-tab .rank-content > .rank-home-shortcuts-row > #rankLifeDashboardButton .rank-life-dashboard-icon,
#rank-tab .rank-content > .rank-home-shortcuts-row > #rankLifeDashboardButton .rank-life-dashboard-icon svg {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    color: var(--ui-special-text,var(--theme-text,#fff)) !important;
    filter: none !important;
}
#rank-tab .rank-content > .rank-home-shortcuts-row > #rankBadgesShortcut:active {
    transform: scale(.94) !important;
}
#rank-tab .rank-content > .rank-home-shortcuts-row > #rankLifeDashboardButton:active {
    transform: scale(.985) !important;
    background: rgba(var(--theme-primary-rgb,0,212,255),.07) !important;
}
#rank-tab .rank-content > .rank-home-shortcuts-row > :is(#rankBadgesShortcut,#rankLifeDashboardButton):focus-visible {
    outline: 2px solid var(--theme-primary,#00D4FF) !important;
    outline-offset: 2px !important;
}
@media(max-width:350px) {
    #rank-tab .rank-content > .rank-home-shortcuts-row {
        grid-template-columns: 40px minmax(0,1fr) 40px !important;
        gap: 4px !important;
    }
    #rank-tab .rank-content > .rank-home-shortcuts-row > #rankLifeDashboardButton {
        gap: 7px !important;
    }
}
