/* Install / Add to Home Screen help block (menu canvas-tag look). */
.install-help {
  --f-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(232, 224, 204, .92);
  color: #17140F;
  border: 1px solid rgba(23, 20, 15, .38);
  border-left: 3px solid #FF5B1F;
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  max-width: 320px;
  pointer-events: auto;
}
.install-help[hidden] { display: none; }
.install-title {
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.install-line { color: #4A4236; }
.install-muted { font-size: 12px; opacity: .75; }
.install-glyph { display: inline-block; vertical-align: -2px; color: #17140F; }
.install-btn {
  min-height: 44px;
  padding: 0 22px;
  margin-top: 2px;
  background: #FF5B1F;
  color: #1B0E06;
  border: 0;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
}
.install-btn:active { filter: brightness(.92); }

/* touch-controls legend in the menu (replaces the keyboard legend on phones) */
#ui .touch-legend-head {
  margin: 14px 0 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 20, 15, .18);
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4A4236;
}
#ui .touch-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; line-height: 1.3; }
#ui .touch-legend li { display: flex; gap: 8px; }
#ui .touch-legend b { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; min-width: 112px; color: #17140F; }
#ui .touch-legend span { color: #4A4236; }
