/* A river occupies exactly the same 39.2 × 26.6 diamond as the placement grid. */
.world-item.river-tile{height:26.6px;min-height:0;isolation:isolate;filter:none}.river-canvas{position:absolute;left:-14px;top:-33.6px;width:67.2px;height:70px;pointer-events:none}.river-ready>img{opacity:0!important}.world-item.river-tile::before,.world-item.river-tile::after{display:none}.world-item.river-tile.hovered .river-canvas,.world-item.river-tile.selected .river-canvas{filter:drop-shadow(0 0 2px #dcffe2) brightness(1.15)}#placement-ghost.river-tile{height:26.6px}#placement-ghost.river-tile .river-canvas{opacity:.8}#placement-ghost.river-tile.anchored .river-canvas{opacity:1}.river-tile.constructing .river-canvas{opacity:.6}.river-tile .build-time{top:-22px;bottom:auto;left:50%;transform:translateX(-50%);font-size:12px;padding:2px 5px;min-width:0}.shop[data-category=rivers] .shop-card>img{width:86%;height:72%;object-fit:contain}.shop .category-tabs button[data-category=rivers]{background:#1698ab;border:1px solid #b6fbeb}.shop .category-tabs button[data-category=rivers] span{position:static;display:block;width:auto;height:auto;clip:auto;font:700 12px/1.1 Tahoma;color:white}.shop .category-tabs button[data-category=rivers] img{height:65%}

/* One shared wall surface prevents neighbouring tile extrusions from overwriting each other. */
.river-bank-canvas{position:absolute;pointer-events:none}

/* Keep per-item masks for picking; the visible water has one shared raster. */
.river-water-surface{position:absolute;z-index:3;pointer-events:none}
.world-item.river-ready>.river-canvas{opacity:0}
