

.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.6rem;
  background: #231016;
  border: 1px solid #5e3442;
  border-radius:18.9px;
  padding:1.1rem 1.2rem 1.1rem;
  box-shadow: 0 18px 38px -14px rgba(0, 0, 0, 0.6);
  font-family: "Figtree", 'Segoe UI', Arial, sans-serif;
}
.mp-notice[hidden] { display: none; }

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

.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: #e499ef;
}
.mp-notice__motif span:nth-child(1) { top: 0; left: 8px; }
.mp-notice__motif span:nth-child(2) { top: 12px; left: 0; background: #1ed162; }
.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 #794b5a;
  border-bottom: 1.5px solid #794b5a;
  border-right: 1.5px solid #794b5a;
  border-radius:0 0 8.1px 8.1px;
  opacity: 0.8;
}

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

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

.mp-notice__actions { display: flex; justify-content: flex-end; margin-top:0.2rem; }
.mp-notice__dismiss {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  background: #1ed162;
  color: #2c161e;
  border: 1.5px solid #1ed162;
  border-radius:1348.7px;
  padding:0.5rem 1.1rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.mp-notice__dismiss:hover { background: #2c161e; color: #1ed162; border-color: #1ed162; }
.mp-notice__dismiss:focus-visible { outline: 3px solid #e499ef; outline-offset: 2px; }

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