{% comment %}
my_sea.html table-hex center — included via core/_partials/_table_hex.html
(hex_center). Verbatim move of the old inline .table-center body; inherits
my_sea.html's context (show_cont_draw, show_paid_draw, show_gate_view).
{% endcomment %}
{% if show_cont_draw %}
    {# CONT DRAW — user came to the landing via the gear-menu NVM mid-draw      #}
    {# (?phase=landing). The picker hand is non-empty + incomplete; CONT DRAW   #}
    {# re-enters the picker (a fresh GET w.o. ?phase=landing falls through to   #}
    {# show_picker=True via the hand_non_empty branch).                         #}
    <a id="id_my_sea_cont_draw_btn"
       href="{% url 'my_sea' %}"
       class="btn btn-primary">CONT<br>DRAW</a>
{% elif show_paid_draw %}
    {# PAID DRAW — two underlying states collapse into one button (user-spec     #}
    {# 2026-05-23):                                                              #}
    {#   • `deposit_reserved` → POST commits the deposited token via             #}
    {#     `my_sea_paid_draw` + redirects to picker.                             #}
    {#   • `paid_through` (token already spent this cycle, hand still empty) →   #}
    {#     POST is a no-op commit branch in the view; redirects to picker anyway.#}
    <form method="POST" action="{% url 'my_sea_paid_draw' %}" style="display:contents">
        {% csrf_token %}
        <button type="submit"
                id="id_my_sea_paid_draw_btn"
                class="btn btn-primary">PAID<br>DRAW</button>
    </form>
{% elif show_gate_view %}
    <button id="id_my_sea_gate_view_btn"
            type="button"
            class="btn btn-primary"
            data-gate-url="{% url 'my_sea_gate' %}">GATE<br>VIEW</button>
{% else %}
    <button id="id_draw_sea_btn" type="button" class="btn btn-primary">FREE<br>DRAW</button>
{% endif %}
