/* v0.3.39 — compact work archive character links and progressive disclosure.
   Scoped exclusively to work archives; character hub grids stay unchanged. */
.gcs-site .gcs-character-work-section--compact{
  margin:20px 0 18px!important;padding:15px 16px 13px!important;
  border:1px solid #e1eeee;border-radius:16px;background:#f8fbfa;
}
.gcs-site .gcs-character-work-section--compact .gcs-section-head{
  gap:9px;margin-bottom:6px;align-items:center;
}
.gcs-site .gcs-character-work-section--compact .gcs-section-head h2{
  font-size:clamp(16px,2vw,19px)!important;line-height:1.55!important;
  margin:0!important;min-width:0;
}
.gcs-site .gcs-character-work-section--compact .gcs-character-work-lead{
  font-size:11px;line-height:1.55;margin:0 0 9px!important;color:#667d86;
}
.gcs-site .gcs-character-work-section--compact .gcs-character-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;
  margin:0!important;padding:0!important;
}
.gcs-site .gcs-character-work-section--compact a.gcs-character-tile{
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;
  min-width:0;min-height:51px;gap:7px;padding:9px 11px;
  border:1px solid #dce8e9;border-radius:11px;
  background:#fff;box-shadow:0 2px 7px rgba(15,60,69,.025);
  text-decoration:none!important;
}
.gcs-site .gcs-character-work-section--compact a.gcs-character-tile:hover,
.gcs-site .gcs-character-work-section--compact a.gcs-character-tile:focus-visible{
  border-color:#74bdb9;background:#fafffe;
}
.gcs-site .gcs-character-work-section--compact .gcs-character-tile-name{
  font-size:13px;line-height:1.4;font-weight:800;min-width:0;overflow-wrap:anywhere;
}
.gcs-site .gcs-character-work-section--compact .gcs-character-tile-count{
  font-size:10px;line-height:1.35;font-weight:700;white-space:nowrap;flex-shrink:0;
}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand{
  margin:8px 0 0;padding:0;border:0;background:transparent;
}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand>summary{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;min-height:38px;box-sizing:border-box;padding:8px 14px;
  border:1px solid #cee6e2;border-radius:10px;background:#eaf7f3;
  color:#087a77;font-size:12px;font-weight:800;line-height:1.4;
  list-style:none;cursor:pointer;text-align:center;
}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand>summary::-webkit-details-marker{display:none}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand>summary:hover{background:#dff2ec}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand>summary:focus-visible{outline:3px solid #f49a68;outline-offset:2px}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand-symbol::before{content:'+';font-size:19px;line-height:1;font-weight:600}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand-less{display:none}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand[open] .gcs-work-character-expand-more{display:none}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand[open] .gcs-work-character-expand-less{display:inline}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand[open] .gcs-work-character-expand-symbol::before{content:'−'}
.gcs-site .gcs-character-work-section--compact .gcs-work-character-expand>.gcs-character-grid{margin:9px 0 0!important}
@media(max-width:900px){
  .gcs-site .gcs-character-work-section--compact .gcs-character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .gcs-site .gcs-character-work-section--compact{padding:12px 10px 11px!important;margin:17px 0 14px!important}
  .gcs-site .gcs-character-work-section--compact .gcs-section-head{align-items:flex-start}
  .gcs-site .gcs-character-work-section--compact .gcs-character-grid{gap:7px}
  .gcs-site .gcs-character-work-section--compact a.gcs-character-tile{min-height:49px;padding:8px;gap:5px}
  .gcs-site .gcs-character-work-section--compact .gcs-character-tile-name{font-size:11.5px}
  .gcs-site .gcs-character-work-section--compact .gcs-character-tile-count{font-size:9px}
}
@media(max-width:360px){
  .gcs-site .gcs-character-work-section--compact .gcs-character-tile-count{font-size:8.5px}
}
