/**
 * Site clone protection — breaks layout when copied to another domain.
 * Activated by site-guard.js via .site-clone-broken on <html>.
 */
html.site-clone-broken,
html.site-clone-broken body {
  all: unset !important;
  display: block !important;
  background: #000 !important;
  min-height: 100vh !important;
}

html.site-clone-broken body::before {
  content: '⚠ Unauthorized copy — this site only works on the official domain.';
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  padding: 2rem !important;
  color: #ef4444 !important;
  font: 600 1.25rem/1.5 system-ui, sans-serif !important;
  text-align: center !important;
}

html.site-clone-broken *:not(body)::before {
  display: none !important;
}

html:not(.site-clone-broken) body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

html:not(.site-clone-broken) input,
html:not(.site-clone-broken) textarea,
html:not(.site-clone-broken) [contenteditable="true"],
html:not(.site-clone-broken) .allow-copy,
html:not(.site-clone-broken) .allow-copy * {
  -webkit-user-select: text;
  user-select: text;
}
