/* The small-screen marks remain the three original CSS shapes. */
.offer-mark > .offer-illustration { display: none; }

@media (min-width: 801px) {
  .offer-mark {
    width: clamp(94px, 9vw, 124px);
    height: auto;
    aspect-ratio: 124 / 88;
  }

  .offer-mark > i { display: none; }
  .offer-mark > .offer-illustration {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .offer-illustration :is(path, rect, circle) { vector-effect: non-scaling-stroke; }
  .offer-illustration .mark-paper { fill: #121212; stroke: #c6c0b8; stroke-width: 1.15; }
  .offer-illustration .mark-ink { stroke: #ded8d0; stroke-width: 1.2; }
  .offer-illustration .mark-mid { stroke: #9d9993; stroke-width: 1; }
  .offer-illustration .mark-faint { stroke: #696763; stroke-width: .9; }
  .offer-illustration .mark-red { stroke: #c54042; stroke-width: 1.15; }
  .offer-illustration .mark-fill-soft { fill: #bab4ac; }
  .offer-illustration .mark-fill-red { fill: #c54042; }

  #oferta:not(.motion-in-transit) .offer-sheet:not([hidden]):is(.offer-enter, .offer-selected) .mark-draw {
    animation: offer-mark-draw .67s cubic-bezier(.25,.68,.23,1) var(--mark-delay, 90ms) backwards;
  }

  .offer-illustration .mark-delay { --mark-delay: 160ms; }
  .offer-illustration .mark-later { --mark-delay: 240ms; }

  #oferta:not(.motion-in-transit) .offer-sheet:not([hidden]):is(.offer-enter, .offer-selected) .mark-slip {
    animation: offer-mark-set .55s cubic-bezier(.21,.68,.22,1) .08s backwards;
  }

  #oferta:not(.motion-in-transit) .offer-sheet:not([hidden]):is(.offer-enter, .offer-selected) .mark-playhead {
    animation: offer-mark-cut .78s cubic-bezier(.33,.05,.17,.99) .07s backwards;
  }
}

@keyframes offer-mark-draw {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}
@keyframes offer-mark-set {
  from { opacity: .2; transform: translate(-7px, -4px); }
  to { opacity: 1; transform: translate(0, 0); }
}
@keyframes offer-mark-cut {
  from { transform: translateX(-37px); }
  to { transform: translateX(0); }
}
