.ascii-disclosure {
  border-bottom: 1px solid #ffffff22;
  transition: border-color .2s;
}

.ascii-disclosure summary {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 9px 4px 9px 0;
  border-radius: 4px;
  color: #f5f6f8;
  font-size: 17px;
  font-weight: 450;
  letter-spacing: -.026em;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s, text-shadow .2s;
}

.ascii-disclosure summary::-webkit-details-marker { display: none; }
.ascii-disclosure summary:focus-visible {
  outline: none;
  text-decoration: underline;
  text-underline-offset: .24em;
}

.ascii-disclosure[open] { border-color: #ffffff48; }

@media (hover: hover) {
  .ascii-disclosure summary:hover {
    color: #fff;
    text-shadow: 0 0 9px #ffffff40;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @supports (background-clip: text) {
    .ascii-disclosure summary:hover .ascii-disclosure-label {
      background: linear-gradient(105deg, #fff 43%, #c9cbd1 46%, #fff 50%, #c9cbd1 54%, #fff 57%) 100% 0 / 260% 100% no-repeat;
      background-clip: text;
      color: transparent;
      animation: ascii-text-sheen .58s cubic-bezier(.2,.55,.42,1) both;
    }
  }
}

@keyframes ascii-text-sheen {
  from { background-position-x: 100%; }
  to { background-position-x: 0%; }
}

.ascii-disclosure-toggle {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  color: #c1c1c5;
}

.ascii-disclosure-toggle::before,
.ascii-disclosure-toggle::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 1px;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.ascii-disclosure-toggle::after {
  transform: rotate(90deg);
  transition: transform .24s ease, opacity .2s ease;
}

.ascii-disclosure[open] .ascii-disclosure-toggle::after { transform: rotate(0); opacity: 0; }

.ascii-disclosure p {
  max-width: 64ch;
  margin: 0;
  padding: 1px 24px 16px 0;
  color: #c1c1c5;
  font-size: 15px;
  line-height: 1.65;
}

.ascii-disclosure p a {
  color: #dedee0;
  text-underline-offset: 3px;
}

.ascii-disclosure p a:hover { color: #fff; }

.ascii-disclosure a:focus-visible {
  outline: 2px solid #efefef;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .ascii-disclosure::details-content {
      block-size: 0;
      overflow: clip;
      opacity: 0;
      interpolate-size: allow-keywords;
      transition: block-size .32s cubic-bezier(.22,.72,.25,1), opacity .23s ease, content-visibility .32s allow-discrete;
    }

    .ascii-disclosure[open]::details-content { block-size: auto; opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .ascii-disclosure, .ascii-disclosure summary, .ascii-disclosure-toggle::after { transition: none; }
}
