{# Renders a single .sea-card-slot for the my-sea picker — either #} {# an empty drop zone (default) or a server-pre-filled slot from a #} {# saved MySeaDraw row. Used by iter 4b's saved-hand bypass. #} {# #} {# Args: #} {# position — slug of the position (lay/cover/crown/leave/loom/cross) #} {# saved — saved_by_position[position] | dict | None #} {# crossing — bool; pass True for the cross slot (gets the #} {# `.sea-card-slot--crossing` modifier in iter-4a HTML) #} {% if saved %} {# `--rank-long` squeezes 5+-char Roman numerals (XVIII, XLVIII, …) so they #} {# fit the slot. Added server-side here to MATCH sea.js's `_fillSlot` #} {# (length >= 5) — without it a saved hand stretched the numeral back out #} {# on refresh (JS-only before, user-reported 2026-05-29). #}