body{background:var(--bs-tertiary-bg)}
  .res-card{transition:transform .2s ease, box-shadow .2s ease}
  .res-card:hover{transform:translateY(-4px);box-shadow:var(--bs-box-shadow)!important}
  /* .ratio > * is already position:absolute (fills the square) - don't override it */
  .cover{overflow:hidden;padding:12%;display:flex;flex-direction:column;justify-content:center}
  .cover h3{font-size:clamp(1.05rem,2vw,1.5rem);line-height:1.1;font-weight:800;margin:0}
  .res-title{min-height:2.6em;line-height:1.3}
  /* guard against inherited word-break / letter-spacing from a host site */
  .res-card, .res-card *{word-break:normal!important;overflow-wrap:break-word;hyphens:manual;letter-spacing:normal}
  .res-card .small{gap:.5rem;flex-wrap:wrap}
  .res-card .small span{white-space:nowrap}
  @media (max-width:575.98px){.res-card:not(.all-card){max-width:420px;margin-inline:auto;width:100%}}
  .c1{background:#e6195d;color:#fff}
  .c2{background:#ececec;color:#1a1a1a}
  .c3{background:#4a1a8c;color:#fff}
  .c4{background:linear-gradient(180deg,#8cc7d9,#3d7f95);padding:0}
  .c5{background:#fbd9cc;color:#1a1a1a}
  .c6{background:#e8267f;color:#fff}
  .c7{background:#f8c35e;color:#1a1a1a}
  .c8{background:#17909c;color:#fff}
  .c9{background:linear-gradient(180deg,#a9c4e6,#6d97c9 55%,#2f5f94);padding:0}
  .worker{position:absolute;left:18%;bottom:0;width:44%;height:74%}
  .worker i{position:absolute;display:block}
  .w-hat{left:18%;top:0;width:64%;height:26%;background:#f7c313;border-radius:60px 60px 6px 6px}
  .w-face{left:22%;top:22%;width:56%;height:34%;background:#8a5a3b;border-radius:40%}
  .w-body{left:0;top:55%;width:100%;height:45%;background:#2f4f8a;border-radius:30px 30px 0 0}
  .mate{position:absolute;right:6%;bottom:0;width:30%;height:82%;background:#4b6aa6;border-radius:30px 30px 0 0}
  .sky{position:absolute;bottom:22%;left:8%;right:8%;height:30%;display:flex;align-items:flex-end;gap:4%}
  .sky i{flex:1;background:#e6edf7;border-radius:3px 3px 0 0}
  .sky i:nth-child(1){height:50%}.sky i:nth-child(2){height:85%}.sky i:nth-child(3){height:65%}
  .sky i:nth-child(4){height:100%}.sky i:nth-child(5){height:70%}.sky i:nth-child(6){height:45%}
  .water{position:absolute;inset:auto 0 0 0;height:24%;background:linear-gradient(180deg,#355f93,#1d3f6e)}
  .sun{position:absolute;top:12%;right:14%;width:22%;aspect-ratio:1;background:#ffe9a8;border-radius:50%}
  .hazard{position:absolute;right:10%;bottom:10%;width:26%;aspect-ratio:1;background:#1a1a1a;clip-path:polygon(50% 8%,96% 92%,4% 92%)}
  .stack-icon{width:56px;height:56px;stroke:var(--bs-primary);fill:none;stroke-width:1.6;stroke-linejoin:round}
