.meadow-frame {
  display: block;
  border-top: 1px solid rgba(16, 23, 40, 0.2192);
  border-radius: 0px;
}
.meadow-frame:last-of-type { border-bottom: 1px solid rgba(16, 23, 40, 0.2192); }

.meadow-frame > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  cursor: pointer;
  color: #ffdfe6;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.meadow-frame > summary::-webkit-details-marker { display: none; }
.meadow-frame > summary:focus-visible {
  outline: 2px solid rgba(255, 23, 77, 0.9);
  outline-offset: -3px;
}

.meadow-frame > summary > :first-child {
  margin: 0;
  font-size: inherit;
  line-height: 1.35;
}

.meadow-contents {
  box-sizing: border-box;
  padding: 8px 14px 12px;
  color: #ffb0c2;
}
.meadow-contents > :first-child { margin-top: 0; }
.meadow-contents > :last-child { margin-bottom: 0; }

.meadow-frame.meadow-live .meadow-contents {
  overflow: hidden;
  will-change: height;
}

.meadow-frame > summary {
  border-left: 3px solid transparent;
  transition: border-color 256ms linear, padding-left 256ms cubic-bezier(0.25, 0.8, 0.4, 1);
}
.meadow-frame[open] > summary {
  border-left-color: rgba(255, 23, 77, 0.95);
  padding-left: calc(14px + 8px);
}

.meadow-frame > summary::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 23, 77, 0.55);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 256ms cubic-bezier(0.25, 0.8, 0.4, 1);
}
.meadow-frame[open] > summary::before { transform: scaleX(1); }

.meadow-frame > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: rgba(255, 23, 77, 0.85);
  clip-path: polygon(22% 8%, 22% 92%, 88% 50%);
  transform: rotate(0deg);
  transition: transform 256ms cubic-bezier(0.25, 0.8, 0.4, 1);
}
.meadow-frame[open] > summary::after { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) {
  .meadow-frame > summary::after,
  .meadow-frame > summary::before,
  .meadow-frame > summary { transition: none; }
}
