/* Page-wide behaviour, loaded last. The game reads like an app: nothing on the page can be highlighted by dragging
   or double-clicking (owner, 2026-11-26). Fields you type in still select normally so text can be edited. */
html, body, body * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, [contenteditable='true'] { -webkit-user-select: text; user-select: text; }
img, canvas { -webkit-user-drag: none; }
::selection { background: transparent; }
input::selection, textarea::selection { background: #2fd1b8; color: #0f1923; }

/* Official team logos and player photos come from the league's image host and are shown as they are: smooth, never
   pixelated (owner, 2026-11-26). Everything drawn by Valrillion stays pixel art. */
.art img.logo, .art img.photo { image-rendering: auto; }
.art-logo { background: rgba(236, 232, 225, .08); }
.art img.logo { object-fit: contain; padding: 10%; }
.pcard-photo { background: linear-gradient(180deg, #33414f 0 70%, var(--team, #33414f) 70% 100%); }
.pcard img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
