/* ============================================================
   TRICOLORE — Native-app feel CSS (linked from every page)
   ============================================================ */

/* Remove tap highlight flash on every element */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none; /* disable iOS callout on long-press */
}

/* Single-tap everywhere — no 300ms delay, no double-tap zoom */
html {
  touch-action: manipulation;
}

/* No pull-to-refresh, no overscroll bounce */
body {
  overscroll-behavior-y: none;
}

/* Interactive elements: fast touch, no text selection */
button,
a,
label,
[role="button"],
[role="tab"],
[role="radio"],
.option-row,
.segment,
.role-tab,
.task-card,
.page-link {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

/* Re-enable selection inside inputs */
input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
  touch-action: auto;
}

/* Smooth momentum scrolling on scrollable containers */
.sheet,
.task-grid,
body {
  -webkit-overflow-scrolling: touch;
}

/* Christoffer-specifik baggrund (kun bruger-ID 44) */
html.user-christoffer body {
  background-image:
    linear-gradient(rgba(5, 5, 6, 0.68), rgba(5, 5, 6, 0.68)),
    url('bg-christoffer.jpg') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}
