.member-offer { container: member-offer / inline-size; overflow: hidden; border: 1px solid var(--ff-line); border-radius: 24px; background: var(--ff-surface); font-family: 'DM Sans', system-ui, sans-serif; }
.member-offer [hidden] { display: none !important; }
.member-offer__body { padding: 24px; }
.member-offer__brand-row { display: flex; align-items: center; gap: 22px; margin-bottom: 19px; }
.member-offer__brand { flex: none; width: 124px; min-height: 35px; display: flex; align-items: center; }
.member-offer__brand img { display: block; width: 124px; height: 35px; object-fit: contain; object-position: left center; }
.member-offer__brand .member-offer__logo-dark { display: none; }
html.dark .member-offer__brand .member-offer__logo-light { display: none; }
html.dark .member-offer__brand .member-offer__logo-dark { display: block; }
.member-offer__partner { margin: 0; color: var(--ff-text); font-size: 18px; font-weight: 600; }
.member-offer__category { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ff-muted); }
.member-offer__summary { display: flex; gap: 34px; align-items: flex-start; justify-content: space-between; }
.member-offer__copy { min-width: 0; max-width: 650px; }
.member-offer__copy h3 { margin: 0; font-size: 24px; line-height: 1.3; letter-spacing: -.025em; font-weight: 700; color: var(--ff-text); }
.member-offer__description { margin: 9px 0 0; max-width: 630px; color: var(--ff-muted); font-size: 14px; line-height: 1.72; }
.member-offer__disclaimer { margin: 14px 0 0; color: var(--ff-muted); font-size: 12px; line-height: 1.7; max-width: 590px; }
.member-offer__action { flex: none; padding-top: 2px; }
.member-offer__button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border: 1px solid transparent; border-radius: 12px; padding: 11px 18px; background: var(--ff-action); color: #fff; font-size: 14px; line-height: 1.6; font-weight: 700; text-decoration: none; cursor: pointer; }
.member-offer__button:hover { background: #04534f; }
.member-offer__button svg { width: 17px; height: 17px; flex: none; }
.member-offer__footer { padding: 15px 24px; border-top: 1px solid var(--ff-line); }
.member-offer__disclosure { margin: 0; color: var(--ff-muted); font-size: 12px; line-height: 1.7; }
.member-offer__disclosure strong { font-weight: 600; color: var(--ff-text); }
.member-offer__footer details { margin-top: 9px; }
.member-offer__footer summary { display: flex; width: fit-content; align-items: center; gap: 5px; min-height: 32px; margin-left: -5px; padding: 4px 5px; border-radius: 5px; color: var(--ff-muted); font-size: 12px; line-height: 1.6; font-weight: 600; cursor: pointer; list-style: none; }
.member-offer__footer summary::-webkit-details-marker { display: none; }
.member-offer__footer summary:hover { color: var(--ff-text); background: var(--ff-surface-muted); }
.member-offer__footer summary svg { width: 15px; height: 15px; }
.member-offer__footer details[open] summary svg { transform: rotate(180deg); }
.member-offer__details { max-width: 650px; padding: 11px 0 5px; color: var(--ff-muted); font-size: 13px; line-height: 1.7; }
.member-offer__details h4 { margin: 0; color: var(--ff-text); font-weight: 600; font-size: 14px; }
.member-offer__details p { margin: 7px 0 0; white-space: pre-line; }
.member-offer__code-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 13px 0 17px; }
.member-offer__code-row code { font-family: 'JetBrains Mono', monospace; color: var(--ff-text); font-size: 20px; letter-spacing: .05em; overflow-wrap: anywhere; }
.member-offer__copy-button { border: 1px solid var(--ff-line-strong); border-radius: 7px; min-height: 40px; padding: 8px 12px; background: transparent; color: var(--ff-text); font-size: 12px; font-weight: 600; cursor: pointer; }
.member-offer__copy-button:hover { background: var(--ff-surface-muted); }
.member-offer__continue { margin-top: 17px; }
.member-offer__details .member-offer__new-tab { font-size: 11px; }
.member-offer__save { display: block; margin: 13px 0 0; padding: 7px 0; background: transparent; color: var(--ff-muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.member-offer__save:disabled { cursor: default; text-decoration: none; }
.member-offer__status:empty { display: none; }
.member-offer__error { color: #b42318; }
html.dark .member-offer__error { color: #fda29b; }
.member-offer :is(a, button, summary, code):focus-visible { outline: 2px solid var(--ff-accent); outline-offset: 4px; }
@container member-offer (max-width: 680px) {
  .member-offer__summary { flex-direction: column; gap: 18px; }
  .member-offer__action { padding: 0; }
  .member-offer__copy h3 { font-size: 22px; }
}
@container member-offer (max-width: 510px) {
  .member-offer__body { padding: 20px; }
  .member-offer__brand-row { gap: 16px; margin-bottom: 18px; }
  .member-offer__category { font-size: 11px; }
  .member-offer__footer { padding: 15px 20px; }
  .member-offer__description { line-height: 1.7; }
  .member-offer__action, .member-offer__button { width: 100%; }
}
