/* ─────────────────────────────────────────────────────────
   EU Cookie/Privacy Notice Banner — eu-notice.css
   Displayed only for EU/EEA visitors (geo-gated via eu-notice.js).
   Design: SHINKAI dark tone + rose-gold OK button.
   ───────────────────────────────────────────────────────── */

#eu-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;

  background: rgba(10, 16, 40, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* Subtle top border using SHINKAI abyss-border */
  border-top: 1px solid rgba(28, 41, 96, 0.8);

  color: rgba(230, 234, 246, 0.95);
  font-family: 'Inter', 'Noto Sans JP', system-ui, sans-serif;
  font-size: 0.8125rem;   /* 13px — compact but legible */
  line-height: 1.4;

  transition: opacity 0.6s ease;
}

/* Fade states controlled by JS */
#eu-notice.eu-notice--dimmed {
  opacity: 0.7;
}
#eu-notice.eu-notice--hidden {
  opacity: 0;
  pointer-events: none;
}

#eu-notice p {
  margin: 0;
  max-width: 680px;
  flex: 1 1 auto;
  min-width: 0;
}

#eu-notice a {
  color: rgba(232, 197, 99, 0.9);   /* --ux-primary-gold equivalent */
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
#eu-notice a:hover {
  color: #e8c563;
}

/* OK button — rose-gold (#d98a7a) */
#eu-notice-ok {
  flex: 0 0 auto;
  padding: 6px 18px;
  background: #d98a7a;
  color: #0a1028;
  border: none;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease;
}
#eu-notice-ok:hover {
  background: #e49d8e;
}
#eu-notice-ok:active {
  transform: scale(0.96);
}
#eu-notice-ok:focus-visible {
  outline: 2px solid #e8c563;
  outline-offset: 2px;
}

/* Mobile: taller bar, stacked layout */
@media (max-width: 640px) {
  #eu-notice {
    height: auto;
    min-height: 80px;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 10px;
  }

  #eu-notice p {
    max-width: 100%;
  }

  #eu-notice-ok {
    align-self: flex-end;
  }
}
