/* Account-scoped preview; reuse the original deep-purple and gold balance card. */
.balance-card.has-expiry-preview { overflow: clip; }
.tp-expiry[hidden], .tp-expiry [hidden] { display: none !important; }
.tp-expiry { position: relative; z-index: 1; margin-top: 4px; color: #c4c0da; font-size: 13px; line-height: 1.65; text-align: left; }
.tp-expiry .te-notice { padding: 10px 0 12px; text-align: center; }
.tp-expiry .te-line { overflow-wrap: anywhere; }
.tp-expiry .te-amount { color: #e8cf90; font-weight: 600; font-variant-numeric: tabular-nums; }
.tp-expiry .te-notice.is-urgent { background: rgba(240,200,80,.08); border: 1px solid rgba(240,200,80,.18); border-radius: 12px; padding: 12px 10px 4px; margin: 4px 0 12px; }
.tp-expiry .te-notice.is-urgent .te-line { color: #f1dca8; }
.tp-expiry .te-notice.is-urgent .te-amount { color: #ffe090; }
.tp-expiry .te-date { color: #c4c0da; font-size: 12px; margin-top: 3px; }
.tp-expiry .te-use { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; color: #f4d88c; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.tp-expiry .te-details { border-top: 1px solid rgba(255,255,255,.09); }
.tp-expiry summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 0; color: #c4c0da; font-size: 12px; }
.tp-expiry summary::-webkit-details-marker { display: none; }
.tp-expiry summary::after { content: '+'; color: #b7b1d1; font-size: 16px; font-weight: 400; }
.tp-expiry details[open] > summary::after { content: '−'; }
.tp-expiry .te-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: 12px; }
.tp-expiry .te-row-date { color: #c4c0da; }
.tp-expiry .te-row-time { margin-left: 5px; color: #b1abc6; }
.tp-expiry .te-row-amount { color: #eee5c9; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tp-expiry .te-note { font-size: 11px; color: #b1abc6; padding: 6px 0 12px; }
.tp-expiry .te-preview { border-top: 1px solid rgba(255,255,255,.06); }
.tp-expiry .te-preview > summary { color: #b1abc6; }
.tp-expiry .te-options { display: flex; gap: 6px; flex-wrap: wrap; padding: 2px 0 8px; }
.tp-expiry .te-option { flex: 1 1 74px; min-height: 44px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; padding: 5px 8px; color: #c4c0da; background: rgba(255,255,255,.025); font: inherit; font-size: 12px; cursor: pointer; }
.tp-expiry .te-option[aria-pressed="true"] { background: rgba(240,200,80,.12); border-color: rgba(240,200,80,.36); color: #ffe090; }
.tp-expiry .te-preview-label { margin: 0 0 8px; color: #d4c295; font-size: 11px; text-align: center; }
.tp-expiry button:focus-visible, .tp-expiry summary:focus-visible { outline: 2px solid #ffe090; outline-offset: 3px; border-radius: 6px; }
@media (max-width: 360px) { .tp-expiry .te-row-date { display: flex; flex-wrap: wrap; column-gap: 4px; } .tp-expiry .te-row-time { margin-left: 0; } }
