/* LUXEN88 Global Feedback Center V1 — frontend-only, namespaced. */
#luxen88-feedback-root-v1 {
  position: fixed;
  z-index: 2147482400;
  inset: 0;
  pointer-events: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #eef8ff;
  box-sizing: border-box;
}
#luxen88-feedback-root-v1 *,
#luxen88-feedback-root-v1 *::before,
#luxen88-feedback-root-v1 *::after { box-sizing: border-box; }
#luxen88-feedback-root-v1 .lxf-toast-stack {
  position: absolute;
  top: max(16px, env(safe-area-inset-top, 0px));
  right: 16px;
  width: min(420px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
#luxen88-feedback-root-v1 .lxf-toast {
  --lxf-accent: #47b7ff;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 15px;
  background: linear-gradient(135deg, rgba(8,33,75,.97), rgba(6,20,52,.98));
  border: 1px solid rgba(100,180,250,.35);
  border-left: 4px solid var(--lxf-accent);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0,10,32,.33), 0 0 25px rgba(27,120,240,.10);
  pointer-events: auto;
  animation: lxf-in .22s ease-out both;
}
#luxen88-feedback-root-v1 .lxf-success { --lxf-accent: #36db9e; }
#luxen88-feedback-root-v1 .lxf-error { --lxf-accent: #ff6879; }
#luxen88-feedback-root-v1 .lxf-warning { --lxf-accent: #f7bb55; }
#luxen88-feedback-root-v1 .lxf-info { --lxf-accent: #49bcff; }
#luxen88-feedback-root-v1 .lxf-icon,
#luxen88-feedback-root-v1 .lxf-dialog-icon {
  background: color-mix(in srgb, var(--lxf-accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--lxf-accent) 40%, transparent);
  color: var(--lxf-accent);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
  flex: 0 0 32px;
  height: 32px;
}
#luxen88-feedback-root-v1 .lxf-details { flex: 1; min-width: 0; }
#luxen88-feedback-root-v1 .lxf-title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 750;
  color: #f2f9ff;
}
#luxen88-feedback-root-v1 .lxf-description {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 450;
  color: #c3dcef;
  overflow-wrap: anywhere;
}
#luxen88-feedback-root-v1 .lxf-dismiss {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #c2d8ee;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
  padding: 0;
  border-radius: 8px;
}
#luxen88-feedback-root-v1 .lxf-dismiss:hover,
#luxen88-feedback-root-v1 .lxf-dismiss:focus-visible { background: rgba(255,255,255,.12); }
#luxen88-feedback-root-v1 .lxf-backdrop:not([hidden]) {
  position: absolute;
  inset: 0;
  background: rgba(2,10,29,.57);
  display: grid;
  place-items: center;
  pointer-events: auto;
  padding: 20px;
}
#luxen88-feedback-root-v1 .lxf-backdrop[hidden] { display: none !important; }
#luxen88-feedback-root-v1 .lxf-dialog {
  --lxf-accent: #49bcff;
  width: min(420px, 100%);
  padding: 28px 24px 24px;
  border-radius: 22px;
  border: 1px solid rgba(89,171,239,.48);
  background: linear-gradient(160deg, #0d2c5e 0%, #071b3a 75%);
  box-shadow: 0 20px 80px rgba(1,8,26,.65), 0 0 34px rgba(29,145,242,.11);
  text-align: center;
  pointer-events: auto;
  animation: lxf-in .22s ease-out both;
}
#luxen88-feedback-root-v1 .lxf-dialog-icon {
  margin: 0 auto 14px;
  width: 54px;
  height: 54px;
  line-height: 52px;
  font-size: 30px;
}
#luxen88-feedback-root-v1 .lxf-dialog-title {
  margin: 0;
  font-weight: 760;
  font-size: 21px;
  line-height: 1.4;
  color: #f3faff;
}
#luxen88-feedback-root-v1 .lxf-dialog-description {
  margin: 12px 0 0;
  color: #c1d9ec;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
#luxen88-feedback-root-v1 .lxf-dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: stretch;
  margin-top: 25px;
}
#luxen88-feedback-root-v1 .lxf-btn {
  border: 1px solid rgba(111,181,250,.34);
  min-height: 43px;
  flex: 1;
  border-radius: 10px;
  padding: 10px 13px;
  font: 650 14px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}
#luxen88-feedback-root-v1 .lxf-btn-primary {
  border-color: rgba(82,199,255,.75);
  background: linear-gradient(110deg, #1587ec, #33bdff);
  color: #fff;
}
#luxen88-feedback-root-v1 .lxf-btn-secondary { background: rgba(255,255,255,.075); color: #e7f6ff; }
#luxen88-feedback-root-v1 .lxf-btn-danger { background: linear-gradient(110deg,#b93d4d,#f05d70); border-color:#f77487; }
#luxen88-feedback-root-v1 .lxf-btn:focus-visible { outline: 3px solid #e5f6ff; outline-offset: 2px; }
@keyframes lxf-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 640px) {
  #luxen88-feedback-root-v1 .lxf-toast-stack { left: 12px; right: 12px; width: auto; top: max(12px, env(safe-area-inset-top, 0px)); }
  #luxen88-feedback-root-v1 .lxf-toast { border-radius: 13px; padding: 13px 12px; }
  #luxen88-feedback-root-v1 .lxf-dialog { padding: 24px 18px 19px; }
}
@media (prefers-reduced-motion: reduce) {
  #luxen88-feedback-root-v1 .lxf-toast,
  #luxen88-feedback-root-v1 .lxf-dialog { animation: none !important; }
}

/* V1R2: all feedback is displayed as a centered, acknowledged modal. */
#luxen88-feedback-root-v1 .lxf-dialog {
  max-width: min(440px, calc(100vw - 28px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#luxen88-feedback-root-v1 .lxf-dialog .lxf-dialog-actions { justify-content: stretch; }
@media (max-width: 640px) {
  #luxen88-feedback-root-v1 .lxf-backdrop:not([hidden]) { padding: 14px; }
}

/* V1R4 LOGO MODAL: all five modal types show the verified LUXEN88 website logo.
   Only the feedback icon presentation changes. Existing messages, accent colors,
   keyboard handlers, confirmation promises, finance/game workflows stay untouched. */
#luxen88-feedback-root-v1 .lxf-dialog-icon {
  display: block;
  width: min(208px, 72vw);
  height: 86px;
  margin: 0 auto 15px;
  padding: 0;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url('/assets/luxen88-member-home-v1/luxen88-logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
@media (max-width: 640px) {
  #luxen88-feedback-root-v1 .lxf-dialog-icon {
    width: min(184px, 70vw);
    height: 76px;
  }
}
