.tr-notification {
  border-bottom: 1px solid var(--palette-notification-edge);
  background: var(--palette-notification-backdrop);
  color: var(--palette-notification-prose);
}

.tr-notification__body {
  max-width: var(--sizing-content-width);
  margin-inline: auto;
  padding-inline: var(--sizing-padding);
}

.tr-notification__rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  min-height: 48px;
  padding-block: 8px;
  cursor: pointer;
  list-style: none;
  text-align: center;
}

.tr-notification__rail::-webkit-details-marker {
  display: none;
}

.tr-notification__logomark {
  display: none;
  flex: none;
  align-items: center;
  padding: 5px 9px;
  border-radius: var(--rounding-2);
  background: var(--palette-notification-frame);
}

.tr-notification__logomark img {
  display: block;
  width: auto;
  height: 20px;
}

.tr-notification__edge {
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
}

.tr-notification__overline {
  display: block;
  color: var(--palette-notification-faded);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.tr-notification__heading strong {
  font-weight: 900;
}

.tr-notification__unofficial-statement {
  display: block;
  color: var(--palette-notification-bold);
  font-weight: 700;
}

.tr-notification__disclosure-button {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--palette-notification-secondary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.tr-notification__disclosure-button > span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.tr-notification__disclosure-button-graphic {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.tr-notification__body[open] .tr-notification__disclosure-button-graphic {
  transform: rotate(180deg);
}

.tr-notification__rail:hover .tr-notification__disclosure-button {
  color: var(--palette-notification-bold);
}

.tr-notification__prose {
  padding-block: 12px 14px;
  border-top: 1px solid var(--palette-notification-edge);
  font-size: 14px;
  line-height: 1.7;
}

.tr-notification__prose p {
  margin: 0 0 10px;
}

.tr-notification__prose p:last-child {
  margin-bottom: 0;
}

.tr-notification__prose strong {
  color: var(--palette-notification-bold);
  font-weight: 700;
}

.tr-notification__prose a {
  color: var(--palette-notification-secondary);
  text-decoration: none;
}

.tr-notification__prose a:hover {
  color: var(--palette-notification-bold);
}

.tr-notification__stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--palette-notification-edge);
  border-radius: 999px;
  background: var(--palette-pure-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.tr-notification__stamp-graphic {
  width: 14px;
  height: 14px;
  color: var(--palette-affirmative);
}

@media (prefers-reduced-motion: reduce) {
  .tr-notification__disclosure-button-graphic {
    transition: none;
  }
}

@media (min-width: 550px) {
  .tr-notification__rail {
    gap: 6px 12px;
  }

  .tr-notification__logomark {
    display: flex;
  }

  .tr-notification__overline {
    display: inline;
    margin-inline-end: 6px;
    font-size: 11.5px;
  }

  .tr-notification__unofficial-statement {
    display: inline;
    margin-inline-start: 4px;
  }

  .tr-notification__disclosure-button > span {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
  }
}

html {
  background: var(--palette-notification-frame);
}

.footer-memo--bold {
  border-top: 4px solid var(--palette-notification-secondary);
  background: var(--palette-notification-frame);
  color: var(--palette-pure-white);
  font-size: 16px;
  line-height: 1.6;
}

.footer-memo--bold .footer-memo__prose {
  padding: 18px 0 20px;
  font-weight: 700;
}

@media (min-width: 850px) {
  .footer-memo--bold {
    font-size: 18px;
  }
}
