/* The cookie banner on ticketos.one (TIC-68): Qernel's banner, the same card in plain CSS.
   Not from the website's own files: scripts/site-sync.mjs leaves this file in place. */
.tos-consent {
  --tc-card: #ffffff;
  --tc-ink: #111111;
  --tc-body: #444444;
  --tc-muted: #555555;
  --tc-line: rgba(0, 0, 0, 0.1);
  --tc-hover: #f4f4f4;
  --tc-off: #d4d4d4;
  --tc-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.28);
  font-family: inherit;
}
.tos-consent-card {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 110;
  max-height: 85vh;
  overflow-y: auto;
  box-sizing: border-box;
  border: 1px solid var(--tc-line);
  border-radius: 14px;
  background: var(--tc-card);
  padding: 16px;
  color: var(--tc-ink);
  box-shadow: var(--tc-shadow);
  text-align: left;
}
@media (min-width: 640px) {
  .tos-consent-card { left: 16px; right: auto; width: 400px; }
}
.tos-consent-title { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.375; }
.tos-consent-body { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--tc-body); }
.tos-consent-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tos-consent-grid.tight { margin-top: 8px; }
.tos-consent-btn {
  height: 40px;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 150ms, background-color 150ms;
}
.tos-consent-btn:focus-visible, .tos-consent-link:focus-visible, .tos-consent-switch:focus-visible, .tos-consent-reopen:focus-visible {
  outline: 2px solid var(--tc-ink);
  outline-offset: 2px;
}
.tos-consent-btn.dark { border: 0; background: var(--tc-ink); color: var(--tc-card); }
.tos-consent-btn.dark:hover { opacity: 0.9; }
.tos-consent-btn.light { border: 1px solid var(--tc-ink); background: var(--tc-card); color: var(--tc-ink); }
.tos-consent-btn.light:hover { background: var(--tc-hover); }
.tos-consent-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  font-size: 12px;
}
.tos-consent-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--tc-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.tos-consent-link.strong { font-weight: 600; color: var(--tc-ink); }
.tos-consent-list { margin: 8px 0 0; padding: 0; list-style: none; }
.tos-consent-list li { padding: 12px 0; }
.tos-consent-list li + li { border-top: 1px solid var(--tc-line); }
.tos-consent-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tos-consent-cat { font-size: 13px; font-weight: 600; }
.tos-consent-always { font-size: 12px; font-weight: 500; color: var(--tc-muted); }
.tos-consent-text { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--tc-muted); }
.tos-consent-switch {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--tc-muted);
  cursor: pointer;
}
.tos-consent-track { position: relative; height: 24px; width: 40px; border-radius: 999px; background: var(--tc-off); transition: background-color 150ms; }
.tos-consent-switch[aria-checked="true"] .tos-consent-track { background: var(--tc-ink); }
.tos-consent-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  height: 20px;
  width: 20px;
  border-radius: 999px;
  background: var(--tc-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: left 150ms;
}
.tos-consent-switch[aria-checked="true"] .tos-consent-knob { left: 18px; }
.tos-consent-reopen {
  position: fixed;
  left: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 110;
  display: flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--tc-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: opacity 150ms;
}
@media (min-width: 640px) {
  .tos-consent-reopen { opacity: 0.8; }
  .tos-consent-reopen:hover { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tos-consent * { transition: none !important; }
}
