/* ── What's this? (src/whats-this.js): the question-mark pointer, what it's over outlined, the help card ── */
body.whats-this, body.whats-this * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M2 2v17l4.2-4.1 2.9 6.6 2.6-1.1-2.9-6.5H14.6z' fill='black' stroke='white' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M17.5 15.5a3.6 3.6 0 1 1 5.2 3.2c-1 .5-1.6 1.2-1.6 2.3v.8' fill='none' stroke='white' stroke-width='4.2' stroke-linecap='round'/%3E%3Cpath d='M17.5 15.5a3.6 3.6 0 1 1 5.2 3.2c-1 .5-1.6 1.2-1.6 2.3v.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='21.1' cy='26' r='2' fill='white'/%3E%3Ccircle cx='21.1' cy='26' r='1.2' fill='black'/%3E%3C/svg%3E") 2 2, help !important; /* an arrow with a question mark beside it */
}
body.whats-this button:disabled { pointer-events: auto; } /* (a disabled control has help too) */
#wt-hover {
  position: fixed; z-index: 2900; pointer-events: none; border: 2px dashed #4a7fcb; border-radius: 6px;
  background: rgba(74, 127, 203, 0.08); transition: left 0.1s, top 0.1s, width 0.1s, height 0.1s;
}
#wt-hover[hidden], #wt-card[hidden] { display: none; }
#wt-card {
  position: fixed; z-index: 2910; width: 300px; display: flex; gap: 12px; align-items: flex-start; padding: 12px;
  background: #1f2633; border: 1px solid #4a7fcb; border-radius: 10px; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  color: #e6e9f0; font-size: 0.8rem; line-height: 1.5;
}
#wt-demo { flex-shrink: 0; width: 96px; height: 96px; border-radius: 6px; image-rendering: pixelated; }
#wt-demo[hidden] { display: none; }
#wt-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#wt-body .tip-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 0.9rem; }
#wt-body .tip-line { color: #c4cad6; }
#wt-body .wt-more { margin-top: 4px; padding-top: 6px; border-top: 1px solid #2f3a4d; color: #aab3c2; }
#wt-body kbd { padding: 0 5px; border: 1px solid #4a5568; border-bottom-width: 2px; border-radius: 3px; background: #2a3242; font: 600 0.72rem/1.5 ui-monospace, Consolas, monospace; color: #e6e9f0; }
/* the ? in a window's header (a window that covers the menu bar) */
.wt-btn {
  width: 24px; height: 24px; flex-shrink: 0; margin-left: auto; padding: 0; border: 1px solid #3a3a3a; border-radius: 50%;
  background: transparent; color: #9aa3b5; font: 700 0.8rem/1 system-ui, sans-serif; cursor: pointer;
}
.wt-btn:hover, .wt-btn:focus-visible { color: #fff; border-color: #4a7fcb; background: #1a3558; outline: none; }
.wt-btn + .tpl-x, .wt-btn + .panel-min-btn { margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { #wt-hover { transition: none; } }
