/* The cookie and storage notice (js/consent.js), on the game and on the privacy page. */

.consent {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(620px, calc(100vw - 24px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 13, 26, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(116, 239, 255, 0.08);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
  user-select: text;
}

.consent h2 { margin: 0 0 6px; font-size: 15px; font-weight: 500; letter-spacing: 0.04em; }
.consent p { margin: 0 0 10px; color: var(--muted); }
.consent a { color: var(--accent); font-size: 12px; }
.consent details { margin: 0 0 12px; }
.consent summary { cursor: pointer; color: var(--accent); }
.consent details[open] summary { margin-bottom: 8px; }

.consent-choice { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; color: var(--muted); }
.consent-choice b { color: var(--ink); font-weight: 500; }
.consent-choice input { margin-top: 3px; accent-color: var(--accent); }

.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin: 0 0 6px; }
.consent-actions button {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(116, 239, 255, 0.1);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.consent-actions button:hover, .consent-actions button:focus-visible { border-color: var(--accent); outline: none; }

.storage { width: 100%; border-collapse: collapse; font-size: 12px; }
.storage th, .storage td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.storage th { color: var(--muted); font-weight: 500; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.storage code { color: var(--accent); white-space: nowrap; }
