/* P6J-65: Eleven previously text-only flight CTAs now reuse their existing city hero images.
   KEEP current href / onclick / partner tags; no fabricated climate score.
   CSS only for explicitly opted-in 11-city Korean month pages. */
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore.twf-master-travel-score{margin-top:15px!important;}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card{
  display:grid!important;grid-template-columns:minmax(0,.38fr) minmax(0,.62fr)!important;
  gap:10px!important;padding:11px!important;align-items:stretch!important;
  background:#f0f7f0!important;border:1px solid #dae9dc!important;border-radius:17px!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card > .twf-okinawa-air-left{
  min-width:0!important;max-width:100%!important;overflow-wrap:anywhere;padding:4px 0!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card .twf-master-flight-tiptitle{
  font-size:17px!important;line-height:1.24!important;letter-spacing:-.35px!important;word-break:keep-all!important;
  margin:6px 0!important;display:block!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card .twf-master-flight-tip{
  font-size:10.5px!important;line-height:1.4!important;letter-spacing:-.3px!important;
  display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;
  overflow:hidden!important;word-break:keep-all!important;margin:5px 0 8px!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card .travel-score-label{
  font-size:11px!important;line-height:1.25!important;word-break:keep-all!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card .twf-okinawa-air-tags{
  display:flex!important;flex-direction:column!important;gap:5px!important;align-items:stretch!important;margin-top:7px!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card .twf-okinawa-air-tags .travel-tag{
  display:block!important;white-space:normal!important;font-size:9.5px!important;padding:4px 6px!important;
  line-height:1.22!important;background:#fff!important;border-radius:999px!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-p6j65-right{
  min-width:0!important;max-width:100%!important;width:100%!important;display:flex!important;align-items:center!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair{
  position:relative!important;isolation:isolate!important;box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:space-between!important;gap:0!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;aspect-ratio:800/450!important;
  padding:10px 11px!important;margin:0!important;border:0!important;border-radius:14px!important;
  overflow:hidden!important;line-height:1.13!important;text-decoration:none!important;white-space:normal!important;
  background:#083a70!important;box-shadow:0 2px 7px rgba(19,47,67,.08)!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair:hover{transform:translateY(-1px)}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair::before{
  content:""!important;position:absolute!important;z-index:1!important;inset:0!important;pointer-events:none!important;
  background:linear-gradient(91deg,rgba(2,24,58,.96) 0%,rgba(4,30,66,.80) 35%,rgba(6,35,69,.18) 82%)!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair img.twf-p6j65-scene{
  position:absolute!important;inset:0!important;z-index:0!important;display:block!important;
  width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;
  object-fit:cover!important;object-position:center!important;border-radius:0!important;
  opacity:1!important;filter:none!important;pointer-events:none!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair > span{
  position:relative!important;z-index:2!important;min-width:0!important;max-width:100%!important;
  flex:0 0 auto!important;display:block!important;white-space:normal!important;word-break:keep-all!important;
  text-align:left!important;text-decoration:none!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-master-flight-brand{
  display:inline-block!important;width:max-content!important;max-width:100%!important;
  padding:3px 7px!important;border:1px solid rgba(255,255,255,.50)!important;border-radius:999px!important;
  background:rgba(0,120,235,.9)!important;color:white!important;font-size:10px!important;font-weight:750!important;
  line-height:1.12!important;letter-spacing:-.15px!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-master-flight-main{
  display:block!important;width:100%!important;color:#ffe775!important;font-size:clamp(14px,1.4vw,23px)!important;
  font-weight:950!important;letter-spacing:-.55px!important;line-height:1.11!important;overflow:visible!important;
  margin:3px 0 1px!important;text-shadow:0 1px 3px rgba(0,0,0,.26)!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-p6j65-word{
  display:block!important;color:#fff!important;font-size:.96em!important;line-height:1.07!important;margin-top:2px!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-p6j65-note{
  color:rgba(255,255,255,.91)!important;font-size:9.3px!important;line-height:1.1!important;letter-spacing:-.2px!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-master-flight-cta{
  display:block!important;align-self:flex-start!important;max-width:100%!important;width:auto!important;
  border:1px solid rgba(255,255,255,.76)!important;border-radius:999px!important;
  background:#ee2878!important;color:#fff!important;text-align:center!important;
  padding:4px 10px!important;font-size:11px!important;font-weight:900!important;line-height:1.14!important;
  margin-top:3px!important;letter-spacing:-.2px!important;white-space:nowrap!important;
}
@media(max-width:600px){
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card{
   grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)!important;gap:5px!important;padding:9px!important;
 }
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card .twf-master-flight-tiptitle{font-size:13px!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card .twf-master-flight-tip{font-size:9.6px!important;-webkit-line-clamp:3!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card .travel-score-label{font-size:10px!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore .twf-master-air-card .twf-okinawa-air-tags .travel-tag{font-size:8.3px!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair{padding:8px!important;border-radius:12px!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-master-flight-brand{font-size:8px!important;padding:2px 6px!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-master-flight-main{font-size:clamp(12px,4.1vw,18px)!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-p6j65-note{font-size:8px!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-master-flight-cta{font-size:9px!important;padding:3px 7px!important;margin-top:2px!important;}
}
@media(max-width:360px){
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair{padding:6px!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-master-flight-main{font-size:12px!important;margin:1px 0!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-master-flight-brand{font-size:7.5px!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-p6j65-note{font-size:7.6px!important;}
 html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-photoair .twf-master-flight-cta{font-size:8.2px!important;padding:2px 6px!important;}
}

/* Honest visual labels appear only when a remote representative photograph fails. */
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-ai-fallback::after,
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-svg-fallback::after{
  position:absolute!important;z-index:3!important;right:5px!important;bottom:5px!important;
  background:rgba(0,0,0,.48)!important;border-radius:4px!important;color:#fff!important;
  font-size:8px!important;padding:1px 3px!important;line-height:1.1!important;pointer-events:none!important;
}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-ai-fallback::after{content:"AI 이미지"!important;}
html[lang="ko"] body[data-twf-p6j65-photoair="1"] #twfStableTravelScore a.twf-p6j65-svg-fallback::after{content:"일러스트"!important;}
