/* ===== 试玩站样式：只保留剧情 + 新手引导 =====
 * 通过隐藏（而不是删除 DOM）来保证既有绑定与教程定位不受影响：
 *  - 封面菜单 / 图鉴 / 羊圈 / 问卷 / 调参 / 测试等入口全部不出现
 *  - 背包把手只做不可见处理（保留布局，教程第 4 步需要用它计算托盘位置）
 *  - 引导的「跳过引导」在试玩里会走进死路，直接隐藏
 */
#screen-title .cover-menu,
#screen-title .cover-circle,
#screen-title .cover-devbar,
#screen-title .cover-recall,
#screen-title .cover-about-panel,
#screen-dex .nav-rail,
.nav-rail,
#tut-skip {
  display: none !important;
}

/* 背包把手：不可见但保留占位与尺寸，避免托盘定位拿不到 rect；
 * 用 visibility 而不是 display，保持布局与可测量性，同时移出焦点顺序 */
#tray-handle {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ===== 试玩结局页 ===== */
.trial-ending {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 38%, rgba(255, 216, 120, .16), rgba(0, 0, 0, 0) 58%),
              rgba(18, 13, 34, .9);
  opacity: 0;
  transition: opacity .35s ease;
}
.trial-ending[hidden] { display: none; }
.trial-ending.show { opacity: 1; }

.te-card {
  width: min(320px, 86vw);
  padding: 28px 22px 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, #FFF8EC, #FFEFD8);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 209, 102, .55);
  text-align: center;
}
.te-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--ink);
}
.te-text {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.te-replay { margin-top: 18px; }
