.ished-notice {
  border: 1px solid color-mix(in oklch, var(--app-line) 80%, transparent);
  border-radius: 0.95rem;
  padding: 0.75rem 0.95rem;
  background: color-mix(in oklch, var(--app-paper-muted) 62%, var(--app-paper));
  animation: ished-notice-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ished-notice-row {
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.ished-notice-main {
  gap: 0.55rem;
  align-items: center;
}

.ished-notice-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  border: 1px solid color-mix(in oklch, var(--app-line) 84%, transparent);
  background: color-mix(in oklch, var(--app-paper-strong) 80%, transparent);
  color: var(--app-accent-deep);
}

.ished-notice-icon.is-error {
  color: color-mix(in oklch, hsl(var(--destructive)) 72%, var(--app-ink));
  border-color: color-mix(in oklch, hsl(var(--destructive)) 56%, var(--app-line));
  background: color-mix(in oklch, hsl(var(--destructive)) 14%, var(--app-paper));
}

.ished-notice-icon.is-info {
  color: color-mix(in oklch, var(--app-ink-soft) 72%, var(--app-ink));
}

.ished-notice-copy {
  margin: 0;
  line-height: 1.45;
}

.ished-notice-success {
  border-color: color-mix(in oklch, var(--app-accent) 28%, var(--app-line));
}

.ished-notice-error {
  border-color: color-mix(in oklch, hsl(var(--destructive)) 58%, var(--app-line));
  background: color-mix(in oklch, hsl(var(--destructive)) 10%, var(--app-paper));
}

.ished-notice-info {
  border-color: color-mix(in oklch, var(--app-line) 64%, transparent);
}

.ished-notice-action {
  font-weight: 700;
  color: var(--app-accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  transition: color 140ms ease;
}

.ished-notice-action:hover {
  color: var(--app-accent);
}

@keyframes ished-notice-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .ished-notice-row {
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .ished-notice-row,
  .ished-notice-main {
    align-items: flex-start;
  }

  .ished-notice-row {
    flex-direction: column;
  }

  .ished-notice-action {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ished-notice {
    animation: none;
  }

  .ished-notice-action {
    transition: none;
  }
}
