

.mp-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  width: min(360px, calc(100% - 2rem));
  max-height: calc(100vh - 2.2rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap:0.5rem;
  background: #220f21;
  border: 1px solid #5d315a;
  border-radius:17.5px;
  padding:1rem 1.1rem 1rem;
  box-shadow: 0 18px 38px -14px rgba(0, 0, 0, 0.6);
  font-family: "Public Sans", 'Segoe UI', Arial, sans-serif;
}
.mp-notice[hidden] { display: none; }

.mp-notice__top { display: flex; align-items: center; gap:0.5rem; }

.mp-notice__motif { flex: 0 0 auto; width: 24px; height: 24px; position: relative; }
.mp-notice__motif span {
  position: absolute;
  width: 7px; height: 7px;
  border-radius:50%;
  background: #bea9f3;
}
.mp-notice__motif span:nth-child(1) { top: 0; left: 8px; }
.mp-notice__motif span:nth-child(2) { top: 12px; left: 0; background: #41d019; }
.mp-notice__motif span:nth-child(3) { top: 15px; left: 16px; }
.mp-notice__motif::before {
  content: "";
  position: absolute;
  top: 6px; left: 5px;
  width: 13px; height: 11px;
  border-left: 1.5px solid #774874;
  border-bottom: 1.5px solid #774874;
  border-right: 1.5px solid #774874;
  border-radius:0 0 7.5px 7.5px;
  opacity: 0.8;
}

.mp-notice__tag {
  margin:0;
  color: #bea9f3;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mp-notice__text {
  margin:0;
  color: #e1bfdf;
  font-size: 0.85rem;
  line-height: 1.42;
}
.mp-notice__text a {
  color: #d5c7f6;
  font-weight: 700;
  text-decoration: underline;
}

.mp-notice__actions { display: flex; justify-content: flex-end; margin-top:0.1rem; }
.mp-notice__dismiss {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  background: #41d019;
  color: #2b142b;
  border: 1.5px solid #41d019;
  border-radius:1248.8px;
  padding:0.4rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.mp-notice__dismiss:hover { background: #2b142b; color: #41d019; border-color: #41d019; }
.mp-notice__dismiss:focus-visible { outline: 3px solid #bea9f3; outline-offset: 2px; }

@media (max-width: 420px) {
  .mp-notice { right: 0.6rem; bottom: 0.6rem; width: calc(100% - 1.2rem); padding:0.9rem 0.9rem 0.9rem; }
}
