/* NOKOR REUNG v595: clear high-contrast, flat poster badges.
   Drop the old neon glow, glossy overlay and dark text shadow on badges only.
   Applied to Home, Catalog and Your Library; no player/payments changes. */

/* HOME POSTER QUALITY + PRICE */
.poster-wrap .card-quality,
.poster-wrap .card-price,
.catalog-art .catalog-tag--quality,
.catalog-art .catalog-tag--price{
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  filter:none!important;
  -webkit-filter:none!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  opacity:1!important;
  background-image:none!important;
  box-shadow:0 2px 5px rgba(0,0,0,.28)!important;
  border:1px solid rgba(255,255,255,.35)!important;
  letter-spacing:0!important;
  font-weight:900!important;
  text-rendering:optimizeLegibility!important;
  -webkit-font-smoothing:antialiased!important;
  transform:none!important;
}
.poster-wrap .card-quality::before,
.poster-wrap .card-quality::after,
.poster-wrap .card-price::before,
.poster-wrap .card-price::after,
.catalog-art .catalog-tag--quality::before,
.catalog-art .catalog-tag--quality::after,
.catalog-art .catalog-tag--price::before,
.catalog-art .catalog-tag--price::after{
  content:none!important;
  display:none!important;
  box-shadow:none!important;
}
.poster-wrap .card-quality,
.catalog-art .catalog-tag--quality{
  background:#ffce43!important;
  color:#231704!important;
  border-color:#ffe087!important;
}
.poster-wrap .card-price,
.poster-wrap .card-price.p1000,
.poster-wrap .card-price.p2000,
.poster-wrap .card-price.p3000,
.poster-wrap .card-price.p4000,
.catalog-art .catalog-tag--price,
.catalog-art .catalog-tag--price.catalog-tag--p1000,
.catalog-art .catalog-tag--price.catalog-tag--p2000,
.catalog-art .catalog-tag--price.catalog-tag--p3000,
.catalog-art .catalog-tag--price.catalog-tag--p4000,
.catalog-art .catalog-tag--price.catalog-tag--series{
  background:#ffce43!important;
  color:#211604!important;
  border-color:#ffdf7d!important;
}
.poster-wrap .card-price.free,
.catalog-art .catalog-tag--price.catalog-tag--free{
  background:#10a575!important;
  border-color:#39c99b!important;
  color:#fff!important;
}
.poster-wrap .card-price.coming,
.catalog-art .catalog-tag--price.catalog-tag--coming{
  background:#ffce43!important;
  border-color:#ffdf7d!important;
  color:#241905!important;
}
@media(max-width:850px){
  .poster-wrap .card-quality,.poster-wrap .card-price,
  .catalog-art .catalog-tag--quality,.catalog-art .catalog-tag--price{
    box-shadow:0 1px 3px rgba(0,0,0,.24)!important;
  }
}

/* Higher-specificity price classes previously kept an !important dark/neon
   text-shadow, making 3,000៛ appear hazy even after the flat background applied. */
.poster-wrap .card-quality,
.poster-wrap .card-price.free,
.poster-wrap .card-price.p1000,
.poster-wrap .card-price.p2000,
.poster-wrap .card-price.p3000,
.poster-wrap .card-price.p4000,
.poster-wrap .card-price.coming,
.catalog-art .catalog-tag--price.catalog-tag--free,
.catalog-art .catalog-tag--price.catalog-tag--p1000,
.catalog-art .catalog-tag--price.catalog-tag--p2000,
.catalog-art .catalog-tag--price.catalog-tag--p3000,
.catalog-art .catalog-tag--price.catalog-tag--p4000,
.catalog-art .catalog-tag--price.catalog-tag--coming{
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  filter:none!important;
  text-rendering:geometricPrecision!important;
}

/* v596: Hide visual quality badges (HD, SD, FHD, etc.) on posters.
   Keep price/FREE and episode-number tags untouched. This is display-only:
   player quality choices and underlying quality metadata remain available. */
.poster-wrap .card-quality,
.catalog-art .catalog-tag.catalog-tag--quality{
  display:none!important;
  visibility:hidden!important;
}

/* v597 — Compact Coming Soon badge in a distinct calm violet.
   Label: ឆាប់ៗនេះ. Applies only to Coming poster prices, not price or FREE,
   and does not alter episode tags, availability, or movie playback. */
.poster-wrap .card-price.coming,
.catalog-art .catalog-tag--price.catalog-tag--coming{
  background:#6851B8!important;
  background-image:none!important;
  border:1px solid #A998F0!important;
  color:#FFFFFF!important;
  box-shadow:0 2px 6px rgba(7,6,20,.34)!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  text-rendering:optimizeLegibility!important;
  font-weight:850!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  line-height:1.35!important;
  max-width:none!important;
  width:max-content!important;
  box-sizing:border-box!important;
  text-align:center!important;
  padding:4px 10px!important;
  font-size:10px!important;
  border-radius:9px!important;
  opacity:1!important;
  filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.poster-wrap .card-price.coming::before,
.poster-wrap .card-price.coming::after,
.catalog-art .catalog-tag--price.catalog-tag--coming::before,
.catalog-art .catalog-tag--price.catalog-tag--coming::after{
  display:none!important;
  content:none!important;
}
@media (max-width:600px){
  .poster-wrap .card-price.coming,
  .catalog-art .catalog-tag--price.catalog-tag--coming{
    font-size:9px!important;
    padding:4px 7px!important;
    border-radius:8px!important;
    max-width:calc(100% - 12px)!important;
    height:auto!important;
    min-height:23px!important;
  }
}

/* v598: Coming Soon — compact premium onyx + gold instead of purple.
   Applies to poster badges ONLY. Price/Free/Episode and Player unchanged. */
.poster-wrap .card-price.coming,
.catalog-art .catalog-tag--price.catalog-tag--coming{
  background:#25221C!important;
  background-image:none!important;
  color:#FFE3A3!important;
  border:1px solid #C5A15A!important;
  box-shadow:0 2px 6px rgba(0,0,0,.30)!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  filter:none!important;
  -webkit-filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  white-space:nowrap!important;
  width:max-content!important;
  max-width:calc(100% - 14px)!important;
  height:25px!important;
  min-height:23px!important;
  box-sizing:border-box!important;
  padding:0 9px!important;
  border-radius:8px!important;
  font:800 10px/1.25 "Noto Sans Khmer",Inter,sans-serif!important;
  letter-spacing:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  opacity:1!important;
}
.poster-wrap .card-price.coming::before,
.poster-wrap .card-price.coming::after,
.catalog-art .catalog-tag--price.catalog-tag--coming::before,
.catalog-art .catalog-tag--price.catalog-tag--coming::after{
  content:none!important;
  display:none!important;
}
@media(max-width:600px){
 .poster-wrap .card-price.coming,
 .catalog-art .catalog-tag--price.catalog-tag--coming{
   height:23px!important;
   min-height:22px!important;
   font-size:9px!important;
   padding:0 7px!important;
   border-radius:7px!important;
   max-width:calc(100% - 12px)!important;
 }
}

/* v599 — FREE poster badge label now Khmer: "ឥតគិតថ្លៃ". */
.poster-wrap .card-price.free,
.catalog-art .catalog-tag--price.catalog-tag--free{
  background:#10A575!important;
  border:1px solid #39C99B!important;
  color:#FFFFFF!important;
  background-image:none!important;
  -webkit-text-stroke:0!important;
  text-shadow:none!important;
  box-shadow:0 2px 5px rgba(0,0,0,.24)!important;
  backdrop-filter:none!important;
  filter:none!important;
  opacity:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  width:max-content!important;
  min-width:0!important;
  max-width:calc(100% - 12px)!important;
  height:27px!important;
  min-height:25px!important;
  padding:1px 10px!important;
  border-radius:9px!important;
  font:800 11px/1.2 "Noto Sans Khmer",Inter,sans-serif!important;
  letter-spacing:0!important;
  text-align:center!important;
}
.poster-wrap .card-price.free::before,
.poster-wrap .card-price.free::after,
.catalog-art .catalog-tag--price.catalog-tag--free::before,
.catalog-art .catalog-tag--price.catalog-tag--free::after{
  content:none!important;
  display:none!important;
}
@media(max-width:600px){
 .poster-wrap .card-price.free,
 .catalog-art .catalog-tag--price.catalog-tag--free{
  height:26px!important;
  min-height:24px!important;
  font-size:10px!important;
  padding:1px 8px!important;
  border-radius:8px!important;
  max-width:calc(100% - 10px)!important;
 }
}

/* v600: refined matte-gold PRICE chips on poster artwork.
   Prices only (1,000 / 2,000 / 3,000 / 4,000 KHR); never Free,
   Coming Soon, series status, episode labels or video/player controls. */
.poster-wrap .card-price.p1000,
.poster-wrap .card-price.p2000,
.poster-wrap .card-price.p3000,
.poster-wrap .card-price.p4000,
.catalog-art .catalog-tag--price.catalog-tag--p1000,
.catalog-art .catalog-tag--price.catalog-tag--p2000,
.catalog-art .catalog-tag--price.catalog-tag--p3000,
.catalog-art .catalog-tag--price.catalog-tag--p4000{
  background:#E7B84D!important;
  background-image:none!important;
  color:#2B1E0A!important;
  border:1px solid #EAC774!important;
  box-shadow:0 1px 3px rgba(0,0,0,.26)!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  filter:none!important;
  -webkit-filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  opacity:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  width:max-content!important;
  min-width:0!important;
  max-width:calc(100% - 12px)!important;
  height:24px!important;
  min-height:24px!important;
  padding:0 8px!important;
  border-radius:7px!important;
  box-sizing:border-box!important;
  font:800 10px/1.2 "Noto Sans Khmer",Inter,sans-serif!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  clip-path:none!important;
  transform:none!important;
}
.poster-wrap .card-price.p1000::before,
.poster-wrap .card-price.p1000::after,
.poster-wrap .card-price.p2000::before,
.poster-wrap .card-price.p2000::after,
.poster-wrap .card-price.p3000::before,
.poster-wrap .card-price.p3000::after,
.poster-wrap .card-price.p4000::before,
.poster-wrap .card-price.p4000::after,
.catalog-art .catalog-tag--price.catalog-tag--p1000::before,
.catalog-art .catalog-tag--price.catalog-tag--p1000::after,
.catalog-art .catalog-tag--price.catalog-tag--p2000::before,
.catalog-art .catalog-tag--price.catalog-tag--p2000::after,
.catalog-art .catalog-tag--price.catalog-tag--p3000::before,
.catalog-art .catalog-tag--price.catalog-tag--p3000::after,
.catalog-art .catalog-tag--price.catalog-tag--p4000::before,
.catalog-art .catalog-tag--price.catalog-tag--p4000::after{
  content:none!important;
  display:none!important;
}
@media(max-width:850px){
  .poster-wrap .card-price.p1000,
  .poster-wrap .card-price.p2000,
  .poster-wrap .card-price.p3000,
  .poster-wrap .card-price.p4000,
  .catalog-art .catalog-tag--price.catalog-tag--p1000,
  .catalog-art .catalog-tag--price.catalog-tag--p2000,
  .catalog-art .catalog-tag--price.catalog-tag--p3000,
  .catalog-art .catalog-tag--price.catalog-tag--p4000{
    height:23px!important;
    min-height:23px!important;
    padding:0 7px!important;
    border-radius:6px!important;
    font-size:10px!important;
    box-shadow:0 1px 2px rgba(0,0,0,.23)!important;
  }
}
