/* GAME//DOSSIER 0.4.18 — expandable game description */
.detail-summary.gd-summary-expandable > p{
  position:relative;
}
.detail-summary.gd-summary-expandable:not(.is-expanded) > p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:5;
  overflow:hidden;
}
.detail-summary.gd-summary-expandable:not(.is-expanded) > p::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2.35em;
  pointer-events:none;
  background:linear-gradient(180deg, transparent, var(--bg));
}
.gd-summary-toggle{
  width:100%;
  min-height:38px;
  margin-top:10px;
  padding:4px 0;
  border:0;
  background:transparent;
  color:var(--accent);
  font-family:var(--font-dossier), monospace;
  font-size:10px;
  font-weight:760;
  letter-spacing:.11em;
  text-transform:uppercase;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
}
.gd-summary-toggle::after{
  content:"↓";
  font-size:15px;
  line-height:1;
  transition:transform .18s ease;
}
.detail-summary.is-expanded .gd-summary-toggle::after{
  transform:rotate(180deg);
}
.gd-summary-toggle[hidden]{display:none!important}
html[data-interface="terminal"] .detail-summary.gd-summary-expandable:not(.is-expanded) > p::after{
  background:linear-gradient(180deg, transparent, #0b0f0b);
}
html[data-interface="terminal"] .gd-summary-toggle{
  border-top:1px solid rgba(120,255,120,.18);
  color:#74f59a;
  padding-top:9px;
}
@media (prefers-reduced-motion:reduce){.gd-summary-toggle::after{transition:none}}
