/* Keyper Osaka v3.6.39: amount-first travel information, plus scroll-aware coupon playback. */
/* The price appears before distance both visually and in the document reading order. */
.home #travel-fees .kp60-tier,
.home #travel-fees .kp60-tier:nth-child(2),
.kp623-pricing-page #travel-fees .kp60-tier,
.kp623-pricing-page #travel-fees .kp60-tier:nth-child(2){
  display:grid!important;
  grid-template-columns:minmax(142px,195px) minmax(170px,210px) minmax(0,1fr)!important;
  gap:clamp(14px,2vw,25px)!important;
  align-items:center!important;
}
#travel-fees .kp60-tier .kp60-price{
  grid-column:1!important;
  grid-row:1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:0!important;
  gap:1px!important;
  text-align:left!important;
}
#travel-fees .kp60-tier .kp60-price>span{
  font-size:10px!important;
  line-height:1.35!important;
  letter-spacing:.075em!important;
  color:#806854!important;
}
#travel-fees .kp60-tier .kp60-price strong{
  line-height:1.12!important;
  font-size:clamp(26px,3vw,34px)!important;
  font-weight:900!important;
  letter-spacing:-.055em!important;
  color:#a64928!important;
  white-space:nowrap!important;
}
#travel-fees .kp60-tier .kp60-price.kp60-free strong{
  color:#15643e!important;
  -webkit-text-fill-color:#15643e!important;
  text-shadow:none!important;
}
#travel-fees .kp60-tier .kp60-price strong small{font-size:.52em!important;letter-spacing:0!important;margin-left:1px}
#travel-fees .kp60-tier .kp60-distance{
  grid-column:2!important;
  grid-row:1!important;
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
  gap:5px!important;
  white-space:nowrap!important;
}
#travel-fees .kp60-tier .kp60-distance strong{font-size:clamp(24px,2.5vw,32px)!important;line-height:1.15!important}
#travel-fees .kp60-tier .kp60-regions{
  grid-column:3!important;
  grid-row:1!important;
  min-width:0!important;
}
#travel-fees .kp60-tier .kp60-index{font-size:10px!important;margin-right:8px!important}
@media(max-width:950px) and (min-width:621px){
 .home #travel-fees .kp60-tier,
 .home #travel-fees .kp60-tier:nth-child(2),
 .kp623-pricing-page #travel-fees .kp60-tier,
 .kp623-pricing-page #travel-fees .kp60-tier:nth-child(2){
  grid-template-columns:minmax(115px,144px) minmax(134px,175px) minmax(0,1fr)!important;
  gap:12px!important;
 }
 #travel-fees .kp60-tier .kp60-price strong{font-size:27px!important}
 #travel-fees .kp60-tier .kp60-distance strong{font-size:26px!important}
 #travel-fees .kp60-tier .kp60-index{display:none!important}
}
@media(max-width:620px){
 .home #travel-fees .kp60-tier,
 .home #travel-fees .kp60-tier:nth-child(2),
 .kp623-pricing-page #travel-fees .kp60-tier,
 .kp623-pricing-page #travel-fees .kp60-tier:nth-child(2){
  grid-template-columns:minmax(0,44%) minmax(0,56%)!important;
  gap:8px 0!important;
  padding:14px 4px!important;
 }
 #travel-fees .kp60-tier .kp60-price{grid-column:1!important;grid-row:1!important;min-width:0!important}
 #travel-fees .kp60-tier .kp60-price strong{font-size:clamp(25px,6.6vw,30px)!important}
 #travel-fees .kp60-tier .kp60-price>span{font-size:10px!important}
 #travel-fees .kp60-tier .kp60-distance{grid-column:2!important;grid-row:1!important;justify-content:flex-end!important;gap:4px!important}
 #travel-fees .kp60-tier .kp60-distance strong{font-size:clamp(23px,6.5vw,29px)!important}
 #travel-fees .kp60-tier .kp60-range-text{font-size:11px!important}
 #travel-fees .kp60-tier .kp60-index{display:none!important}
 #travel-fees .kp60-tier .kp60-regions{grid-column:1/-1!important;grid-row:2!important;display:flex!important;gap:8px!important}
}
@media(max-width:350px){
 #travel-fees .kp60-tier .kp60-price strong{font-size:23px!important}
 #travel-fees .kp60-tier .kp60-distance strong{font-size:23px!important}
 #travel-fees .kp60-tier .kp60-distance{gap:2px!important}
}
/* No invisible ticket waiting for its trigger: readable immediately even without JS. */
.home #web-coupon .kp638-armed{opacity:1!important}
.home #web-coupon .kp639-playing{
  will-change:transform;
  animation:kp639-attention 1050ms cubic-bezier(.19,.8,.25,1) both;
}
.home #web-coupon .kp639-playing .kp633-offer{
  animation:kp639-shadow 1050ms ease-out both;
}
.home #web-coupon .kp639-playing .kp633-offer-number{
  animation:kp639-number 760ms cubic-bezier(.18,.78,.2,1) 200ms both;
}
.home #web-coupon .kp639-playing .kp633-offer-discount::before{
  animation:kp638-price-glow 930ms ease-out 300ms both;
}
.home #web-coupon .kp639-playing .kp633-offer-discount::after{
  animation:kp638-price-line 650ms ease-out 460ms both;
}
@keyframes kp639-attention{
  0%{transform:translateY(9px) scale(.97);opacity:1}
  36%{transform:translateY(-3px) scale(1.012);opacity:1}
  67%{transform:translateY(1px) scale(.998);opacity:1}
  100%{transform:none;opacity:1}
}
@keyframes kp639-shadow{
  0%{box-shadow:0 2px 11px rgba(90,59,34,.07)}
  45%{box-shadow:0 14px 29px rgba(90,59,34,.14)}
  100%{box-shadow:0 7px 22px rgba(97,54,24,.065)}
}
@keyframes kp639-number{
  0%{transform:scale(1);opacity:1}
  35%{transform:scale(1.095);opacity:1}
  67%{transform:scale(.99);opacity:1}
  100%{transform:none;opacity:1}
}
@media(prefers-reduced-motion:reduce){
 .home #web-coupon .kp639-playing,
 .home #web-coupon .kp639-playing .kp633-offer,
 .home #web-coupon .kp639-playing .kp633-offer-number,
 .home #web-coupon .kp639-playing .kp633-offer-discount::before,
 .home #web-coupon .kp639-playing .kp633-offer-discount::after{animation:none!important;transform:none!important;}
}
