/* ═══ MarKomX consent banner (U21KK) ═══
   Theme tokens: navy #16162B, Inter body, star accent, sharp radii.
   Equal button prominence (legal dark-pattern check): identical style
   for Accept and Refuse — same size, contrast and affordance. */

.mkx-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9990;
  background: #16162B;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  font-family: Inter, system-ui, sans-serif;
}

.mkx-consent[hidden] { display: none; }

.mkx-consent__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 14px;
  display: grid;
  gap: 10px;
}

.mkx-consent__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 70ch;
}

.mkx-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mkx-consent__btn {
  appearance: none;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 9px 22px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.mkx-consent__btn:hover,
.mkx-consent__btn:focus-visible {
  background: #fff;
  color: #16162B;
  outline: none;
}

.mkx-consent__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mkx-consent__link:hover { color: #fff; }

/* Mobile: buttons full-width, same prominence, text above actions. */
@media (max-width: 600px) {
  .mkx-consent { padding-bottom: env(safe-area-inset-bottom, 0); }
  .mkx-consent__inner { padding: 14px 18px 16px; }
  .mkx-consent__btn {
    flex: 1 1 100%;
    padding: 12px 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mkx-consent { animation: mkx-consent-in 0.25s ease-out both; }
  @keyframes mkx-consent-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }
}