/**
 * Lamilka Tour 0.6.15
 * Precision-fit transfer cancellation pill.
 *
 * Scope:
 * - preserve a fixed minimum inner padding so the label never touches edges;
 * - keep the checkmark directly beside the complete one-line statement;
 * - let the companion script reduce type only in 0.1px steps, from 12px to
 *   an absolute floor of 10.5px, and stop at the largest size that fits.
 */
@media (max-width: 767px) {
  html body.lamilka-transfers-page
  [data-lamilka-trust-contract="v063"].lamilka-transfer__benefits
  > li.lamilka-transfer__benefit--cancellation {
    --lamilka-transfer-cancellation-font-size: 12px;
    align-items: center !important;
    column-gap: 6px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    min-height: 38px !important;
    overflow: hidden !important;
    padding-block: 7px !important;
    padding-inline: 8px !important;
    white-space: nowrap !important;
  }

  html body.lamilka-transfers-page
  [data-lamilka-trust-contract="v063"].lamilka-transfer__benefits
  > li.lamilka-transfer__benefit--cancellation
  > .lamilka-transfer__benefit-check {
    align-self: center !important;
    display: inline-flex !important;
    flex: 0 0 14px !important;
    height: 14px !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
    width: 14px !important;
  }

  html body.lamilka-transfers-page
  [data-lamilka-trust-contract="v063"].lamilka-transfer__benefits
  > li.lamilka-transfer__benefit--cancellation
  > span:not(.lamilka-transfer__benefit-check) {
    display: inline-block !important;
    flex: 0 0 auto !important;
    font-size: var(--lamilka-transfer-cancellation-font-size) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: visible !important;
    text-align: center !important;
    text-wrap: nowrap !important;
    white-space: nowrap !important;
    width: auto !important;
  }
}
