/* /cursed-city/: the Cursed City map (cursed-city.js). Built on grim-forest.css; only what differs is here. */
.cursed-city h2{margin-top:2rem}
.cc-r .gf-portrait{z-index:0}
.cc-r .gf-frame{z-index:1}
.cc-r .gf-lv{z-index:2}
.cc-code{position:absolute;left:50%;top:100%;transform:translateX(-50%);margin-top:1px;padding:0 3px;border-radius:3px;background:rgba(8,12,20,.85);color:#ffd65c;font-size:8px;font-weight:800;line-height:11px;white-space:nowrap;pointer-events:none;z-index:2}
.cc-code:empty{display:none}
.gf-room-rw .gf-chip{font-size:.8rem}
/* Owner, 19 Nov 2026 21:02 (screenshot of the Grim Forest page): exactly the Grim Forest layout: the same map box
   (grim-forest.css .gf-view, up to 820 px tall) with the rewards panel beside it, the whole map fitted inside. No size overrides here. */
/* Owner, 19 Nov 2026 19:06: "enemy waves must fit all into 1 row": up to five enemies side by side, cards shrink to fit. */
.cursed-city .gf-wave{grid-template-columns:repeat(5,minmax(0,1fr))}
.cursed-city .gf-enemy{min-width:0}
.cursed-city .gf-enemy dl{grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr)}
@media (max-width:700px){.cursed-city .gf-wave{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
.cursed-city .gf-enemy-head>div{min-width:0}
.cursed-city .gf-enemy-head a,.cursed-city .gf-enemy-head strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
