/* 抓大鹅 · 界面精简与可见度增强
   不修改打包产物，仅以更高优先级覆盖。 */

/* ── 1. 安装条：始终不显示 ──
   浏览器里也去掉。安装改走浏览器自带入口：
   安卓 = 菜单「添加到主屏幕 / 安装应用」，iPhone = 分享「添加到主屏幕」。 */
.install-bar { display: none !important; }

/* ── 2. 删除冗余说明文案 ── */

/* 「● 运输带待命」「← 由右向左 · 错过即离场」整行 */
.belt-top { display: none !important; }

/* 「三个相同，自动消除」（保留左侧「收集槽 0/7」） */
.tray-top > span { display: none !important; }

/* 「看准再接，别把槽位填满。」（保留右侧「重新开始」按钮） */
.panel-bottom > span { display: none !important; }
.panel-bottom { justify-content: flex-end !important; }

/* 「看准同类，点一下就能接住。」
   这个元素在局内还要显示「运输带启动！」「漂亮！3 连消，+180」等实时反馈，
   所以只在它显示待机提示时隐藏，由 ui-tweaks.js 打标记。 */
.feedback-row output.ui-idle { display: none !important; }
.feedback-row.ui-idle-row { justify-content: flex-end !important; }

/* ── 3. 禁止下拉露出空白背景 ──
   手机上橡皮筋回弹会把页面拉出画面，局内误触很容易点空。 */
html, body {
  overscroll-behavior-y: none !important;
  overscroll-behavior-x: none !important;
}

/* ── 4. 三个道具：提高可见度 ── */
.tools {
  gap: 8px !important;
  margin-top: 14px !important;
}

.tools button {
  background: linear-gradient(#fffaf1, #f5e6cb) !important;
  border: 1.5px solid #cfa87a !important;
  border-bottom: 4px solid #b3885a !important;
  border-radius: 13px !important;
  padding: 11px 4px !important;
  box-shadow: 0 2px 6px rgba(120, 80, 40, .14) !important;
  transition: transform .08s ease, box-shadow .08s ease;
}

/* 可用状态：明确的可点按感 */
.tools button:not(:disabled) {
  background: linear-gradient(#fffdf8, #f7e4c2) !important;
  border-color: #b96138 !important;
  border-bottom-color: #9a4f2c !important;
}

.tools button:not(:disabled):active {
  transform: translateY(2px);
  border-bottom-width: 2px !important;
  box-shadow: 0 1px 3px rgba(120, 80, 40, .18) !important;
}

/* 文字：加大、加深、加粗 */
.tools strong {
  color: #6f3f18 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .2px !important;
}

.tools b {
  color: #b96138 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
}

.tools small {
  color: #8a6748 !important;
  font-size: 11px !important;
  margin-top: 2px !important;
}

/* 图标：用主题橙，加粗描边 */
.tools svg {
  width: 21px !important;
  height: 21px !important;
  color: #b96138 !important;
  stroke-width: 2.3 !important;
}

/* 不可用状态：仍能看清写的是什么，但明确区分 */
.tools button:disabled {
  opacity: .62 !important;
  filter: saturate(.55) !important;
  box-shadow: none !important;
}

/* ── 5. 压缩多余高度，尽量让一屏装下 ── */

/* 页脚「COLLECT MOMENTS. CATCH THE GOOSE.」纯装饰，占 43px */
.shell > footer { display: none !important; }

/* 待机时这一行只剩「漏接 0」，不需要 39px */
.feedback-row.ui-idle-row {
  min-height: 0 !important;
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.tools button { padding: 10px 4px !important; }
.tools { margin-top: 12px !important; }

/* 纯空白压缩，不动任何功能区域的尺寸 */
.game-layout { padding-bottom: 4px !important; }
.game-panel  { padding-top: 13px !important; padding-bottom: 13px !important; }
.levelbar    { margin-bottom: 9px !important; }
.dashboard   { margin-bottom: 8px !important; }
.tools       { margin-top: 9px !important; }
