/* The re-entry offer (js/reentry-offer.js,
   docs/design/REENTRY_DEALT_PROMPT_BRIEF_2026-11-18.md). Nothing here draws
   anything new: the pair is the product's own premium row — `.you-cards`
   lays it out and fans it, `.is-closed` rings it (table.css), the hole-fx
   classes light it (cards.css) — and the choices are base.css's `.btn`. This
   file only places them. */

/* The pair: in the card row your busted seat no longer uses. Two backs that
   cannot be turned take no tap, so the ring's pointer goes too. */
.you-offer {
  grid-area: cards;
  /* Only as wide as the pair, so the ring hugs the two cards. */
  justify-self: start;
  pointer-events: none;
}
.you-offer.is-closed { cursor: default; }
/* A card of the pair still in the air: its wrapper (the effect with it) is
   not on the seat yet. table.css only hides a bare `.card` this way. */
.you-offer > .is-awaiting-deal { visibility: hidden; }
.you-offer[hidden] { display: none; }

/* The two choices, where your action buttons are when it is your turn. They
   stop short of the comment button on the right, as the after-party's row
   does (table.css .ap-row): friends heckle here, and it stays reachable. */
.reentry-choices {
  position: fixed;
  left: 12px;
  right: calc(12px + var(--tap-min) + 10px);
  bottom: calc(10px + var(--safe-bottom));
  z-index: 12;
  display: flex;
  gap: 8px;
}
.reentry-choices[hidden] { display: none; }
.reentry-choices .btn {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
}
.reentry-choices .btn[hidden],
.reentry-state[hidden] { display: none; }
.reentry-decline { font-size: 14px; }
.reentry-revive { font-size: 18px; font-weight: 900; letter-spacing: .1em; }
/* A purchase under way or made: one line in the row, nothing to press. */
.reentry-state {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  min-height: var(--tap);
  margin: 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
/* The row takes the action zone's place, so its waiting line goes with it —
   by visibility, not display: the line is what holds the zone's 56px
   (action.css), and without it your panel drops onto the row. */
body.is-reentry-offer .act-wait { visibility: hidden; }

/* The way back in after 「観戦に戻る」: small, in the card row your busted
   seat no longer uses, clear of the badges on the right. */
.you-reentry-tab {
  grid-area: cards;
  justify-self: start;
  align-self: center;
  min-height: 32px;
  padding: 4px 14px;
  border: 1px solid rgba(233, 199, 110, .55);
  border-radius: 999px;
  background: rgba(233, 199, 110, .10);
  color: var(--gold);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
}
.you-reentry-tab[hidden] { display: none; }
