/* Game surfaces are controls, not document text. Editing and deliberate code copying remain available. */
body, body * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
body input, body textarea, body [contenteditable]:not([contenteditable="false"]),
body [contenteditable]:not([contenteditable="false"]) * {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
body .party-code-card strong {
  -webkit-user-select: all;
  user-select: all;
  -webkit-touch-callout: default;
}
body img { -webkit-user-drag: none; }

/* Selection stays on the outline; the corner is reserved for stat comparison. */
#modal .equipment-page .item-tile.selected::after { content: none; display: none; }
.equipment-page .item-tile.has-gear-indicator > small { padding-inline-end: 20px; text-align: start; }
.equipment-page .item-tile .gear-indicator {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-end: 4px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid;
  border-radius: 50%;
  box-shadow: 0 2px 5px #081a1acc;
  pointer-events: none;
  z-index: 1;
}
.equipment-page .gear-indicator svg { width: 14px; height: 14px; }
.equipment-page .gear-indicator-more { color: #bcebc0; background: #274c3d; border-color: #82bc8d; }
.equipment-page .gear-indicator-less { color: #ecc0bb; background: #493533; border-color: #ab7a73; }
.equipment-page .gear-indicator-less svg { transform: rotate(180deg); }
.equipment-page .gear-indicator-same { color: #d3dcd5; background: #33433e; border-color: #82998c; }
