/* A static green invitation while off; an yellow neon status while on. */
.dm .dm-adult {
  position: relative; display: flex; align-items: center; gap: 7px;
  padding: 6px 10px 6px 8px !important; border-radius: 12px;
  border: 2px solid #12391b !important;
  background: linear-gradient(#7bdf72, #238b35) !important;
  box-shadow: 0 3px 0 #0a0b0e, inset 0 1px 0 #c6ffa477;
  color: #fff; font-size: 16px; line-height: 1.15; text-align: left;
  text-shadow: 0 1px 2px #0008; isolation: isolate;
}
.dm-adult svg { flex-shrink: 0; color: #ebffe5; }
.adult-mode-label { display: grid; gap: 3px; white-space: nowrap; }
.adult-mode-status { color: inherit; font-size: 16px; font-weight: 700; }
.dm .dm-adult.is-active {
  border-color: #ffe33c !important;
  background: linear-gradient(#8c7412, #554609) !important;
  color: #fffce9; box-shadow: 0 3px 0 #272008, inset 0 0 12px #ffe32a2b;
}
.dm-adult.is-active .adult-mode-title { font-size: 13px; }
.dm-adult.is-active svg { color: #fff5b4; filter: drop-shadow(0 0 4px #ffe533); }
.dm-adult.is-active .adult-mode-status { color: #fff3a0; font-size: 11px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; text-shadow: 0 0 7px #ffe53399; }
.dm-adult.is-active::after {
  content: ''; position: absolute; inset: -2px; border: 1px solid #fff5af;
  border-radius: 13px; pointer-events: none;
  animation: adult-neon-live 2.8s ease-in-out infinite;
}
/* The light breathes around a fixed neon edge, without expanding rings. */
@keyframes adult-neon-live {
  0%, 100% { opacity: .65; box-shadow: 0 0 4px #ffe755, 0 0 10px #ffdf2099, 0 0 18px #ffdf2040, inset 0 0 6px #ffe74a30; }
  50% { opacity: 1; box-shadow: 0 0 6px #fff2a0, 0 0 17px #ffdf20ce, 0 0 30px #ffdf2070, inset 0 0 9px #ffe74a55; }
}
.dm-adult:active { transform: translateY(2px); }
.dm-adult:focus-visible { outline: 2px solid #fff2b0; outline-offset: 5px; }
#ov-adult-mode .panel { width: 450px; max-width: calc(100% - 32px); gap: 12px; }
#ov-adult-mode .panel-title { font-size: 24px; }
.adult-mode-copy { color: #fff4df; font-size: 16px; line-height: 1.4; }
.adult-mode-copy p { margin: 0 0 10px; }
.adult-mode-copy p:last-child { margin-bottom: 0; }
.adult-mode-copy strong { color: #fff3a0; }
.adult-mode-actions { display: flex; gap: 10px; }
.adult-mode-actions .btn { flex: 1; min-width: 0; font-size: 16px; padding: 8px; }
@media (prefers-reduced-motion: reduce) {
  .dm-adult.is-active::after { animation: none; opacity: .9; box-shadow: 0 0 5px #ffe755, 0 0 15px #ffdf20aa; }
}

.rally-ui .dm .dm-market {
  display: grid;
  height: 48px;
  align-content: center;
  justify-items: center;
  gap: 1px;
  line-height: 1.15;
  white-space: nowrap;
}
.dm-market strong { font-size: 13px; }
.dm-market small { font-size: 12px; }
.dm-market:focus-visible { outline: 2px solid #fff2b0; outline-offset: 3px; }
