/* 手机端入口样式
   独立文件：避免为了一个链接去改 workbench.css 的缓存代次。
   该文件不带 ?v= 版本号，静态层对 css 返回 no-cache，浏览器会每次校验。 */

.top-action-link {
  text-decoration: none;
  cursor: pointer;
}

/* 窄屏（含手机通过 ?view=desktop 进入桌面版的情况）保留入口：
   覆盖 responsive-workbench.css 里 .top-action 的 display:none !important，
   只显示图标，不挤占顶栏宽度。 */
@media (max-width: 760px) {
  .app:not(.painting-immersive-shell) .topbar-right a.top-action-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    padding: 0;
  }
  .app:not(.painting-immersive-shell) .topbar-right a.top-action-link span {
    display: none;
  }
}
