/* BankMovie V283 — adaptive metadata + compact three-line story on mobile. */
@media(max-width:991px){
  body.movie-page.bm283-mobile-ready .movie-info-block>.movie-meta-grid>.meta-item[data-meta]{display:none!important}
  body.movie-page.bm283-mobile-ready .movie-info-block>.movie-meta-grid>.meta-item.bm283-primary{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;
    min-height:36px!important;padding:4px 2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
  }
  body.movie-page.bm283-mobile-ready .movie-info-block>.movie-meta-grid>.meta-item.bm283-primary-wide{grid-column:1/-1!important;justify-self:stretch!important}
  body.movie-page.bm283-mobile-ready .movie-info-block>.movie-meta-grid>.meta-item.bm283-invalid{display:none!important}
  body.movie-page.bm283-mobile-ready .movie-info-block>.movie-meta-grid>.meta-item[data-meta="next"],
  body.movie-page.bm283-mobile-ready .movie-info-block>.movie-meta-grid>.meta-item[data-meta="update"],
  body.movie-page.bm283-mobile-ready .movie-info-block>.movie-meta-grid>.meta-item[data-meta="latest_status"]{
    display:flex!important;grid-column:1/-1!important;align-items:flex-start!important;gap:8px!important;min-height:40px!important;padding:8px 2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
  }
  body.movie-page.bm283-mobile-ready .movie-info-block>.movie-meta-grid>.meta-item[data-meta="genres"]{
    display:flex!important;grid-column:1/-1!important;align-items:center!important;gap:7px!important;min-height:42px!important;padding:7px 0 1px!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important
  }
  body.movie-page.bm283-mobile-ready .movie-info-block>.movie-meta-grid>.meta-item[data-meta="type"],
  body.movie-page.bm283-mobile-ready .movie-info-block>.movie-meta-grid>.meta-item[data-meta="imdb"]{display:none!important}
  body.movie-page .bm281-more-info-btn{display:none!important}
  body.movie-page .bm283-more-info-btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-height:34px!important;margin:10px auto 0!important;padding:0 5px!important;border:0!important;background:transparent!important;color:var(--accent,#2f7cff)!important;font:inherit!important;font-size:11px!important;font-weight:900!important;cursor:pointer!important;box-shadow:none!important}
  body.movie-page .bm283-more-info-btn svg{width:17px!important;height:17px!important;flex:0 0 17px!important}

  /* Story: no growing card; always a compact 3-line preview when long. */
  body.movie-page .bm-readmore-desc.bm283-story{
    position:relative!important;margin:14px 0 8px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;overflow:visible!important
  }
  body.movie-page .bm-readmore-desc.bm283-story .bm-story-summary-head{display:none!important}
  body.movie-page .bm-readmore-desc.bm283-story .bm-readmore-content{
    margin:0!important;padding:0!important;color:rgba(255,255,255,.82)!important;font-size:13px!important;line-height:2.05!important;text-align:right!important;max-height:none!important;background:transparent!important
  }
  body.movie-page .bm-readmore-desc.bm283-story.bm283-story-needed .bm-readmore-content{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3!important;overflow:hidden!important;max-height:calc(13px * 2.05 * 3 + 3px)!important
  }
  body.movie-page .bm-readmore-desc.bm283-story::after{display:none!important}
  body.movie-page .bm-readmore-desc.bm283-story.bm283-story-needed::after{
    display:block!important;content:""!important;position:absolute!important;pointer-events:none!important;left:0!important;right:0!important;bottom:30px!important;height:34px!important;background:linear-gradient(180deg,transparent,rgba(6,8,12,.88))!important
  }
  body.movie-page .bm-readmore-desc.bm283-story .bm-readmore-btn{display:none!important}
  body.movie-page .bm-readmore-desc.bm283-story.bm283-story-needed .bm-readmore-btn{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;z-index:3!important;margin:7px 0 0!important;min-height:30px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--accent,#2f7cff)!important;font-size:11px!important;font-weight:950!important;box-shadow:none!important
  }

  body.movie-page.bm283-info-open,body.movie-page.bm283-story-open{overflow:hidden!important;touch-action:none!important}
  .bm283-info-modal[hidden],.bm283-story-modal[hidden]{display:none!important}
  .bm283-info-modal,.bm283-story-modal{position:fixed!important;z-index:2147483000!important;inset:0!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;direction:rtl!important}
  .bm283-info-backdrop,.bm283-story-backdrop{position:absolute!important;inset:0!important;background:rgba(0,0,0,.68)!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important;opacity:0!important;transition:opacity .2s ease!important}
  .bm283-info-sheet,.bm283-story-sheet{position:relative!important;z-index:2!important;width:100%!important;max-width:680px!important;max-height:min(78vh,720px)!important;padding:8px 14px calc(18px + env(safe-area-inset-bottom,0px))!important;border:1px solid rgba(255,255,255,.12)!important;border-bottom:0!important;border-radius:24px 24px 0 0!important;background:#11141a!important;box-shadow:0 -20px 70px rgba(0,0,0,.55)!important;overflow:hidden!important;transform:translateY(105%)!important;transition:transform .24s cubic-bezier(.22,.8,.22,1)!important}
  .bm283-info-modal.is-open .bm283-info-backdrop,.bm283-story-modal.is-open .bm283-story-backdrop{opacity:1!important}
  .bm283-info-modal.is-open .bm283-info-sheet,.bm283-story-modal.is-open .bm283-story-sheet{transform:translateY(0)!important}
  .bm283-sheet-handle{width:42px!important;height:4px!important;border-radius:10px!important;background:rgba(255,255,255,.24)!important;margin:3px auto 10px!important}
  .bm283-info-head,.bm283-story-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:4px 2px 12px!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
  .bm283-info-head small{display:block!important;margin-bottom:2px!important;color:rgba(255,255,255,.44)!important;font-size:9px!important;font-weight:750!important}
  .bm283-info-head h2,.bm283-story-head h2{margin:0!important;color:#fff!important;font-size:17px!important;line-height:1.4!important;font-weight:950!important}
  .bm283-sheet-close{width:38px!important;height:38px!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:12px!important;background:rgba(255,255,255,.055)!important;color:#fff!important;font-size:22px!important;line-height:1!important;cursor:pointer!important}
  .bm283-info-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;max-height:calc(78vh - 88px)!important;overflow:auto!important;padding:13px 1px 4px!important;-webkit-overflow-scrolling:touch!important}
  .bm283-modal-item{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:1px 8px!important;min-width:0!important;min-height:62px!important;margin:0!important;padding:10px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:14px!important;background:rgba(255,255,255,.035)!important;box-shadow:none!important}
  .bm283-modal-item>svg{grid-column:1!important;grid-row:1/3!important;align-self:center!important;width:19px!important;height:19px!important;color:var(--accent,#2f7cff)!important}
  .bm283-modal-item>.label{grid-column:2!important;grid-row:1!important;font-size:9px!important;line-height:1.3!important;color:rgba(255,255,255,.48)!important}
  .bm283-modal-item>.value{grid-column:2!important;grid-row:2!important;min-width:0!important;margin-top:3px!important;font-size:11px!important;line-height:1.45!important;font-weight:900!important;color:#fff!important;overflow-wrap:anywhere!important}
  .bm283-modal-item>.value a{color:inherit!important;text-decoration:none!important}
  .bm283-modal-item[data-meta="network"],.bm283-modal-item[data-meta="director"]{grid-column:1/-1!important}
  .bm283-story-body{max-height:calc(78vh - 88px)!important;overflow:auto!important;padding:15px 3px 8px!important;color:rgba(255,255,255,.86)!important;font-size:14px!important;line-height:2.15!important;text-align:right!important;-webkit-overflow-scrolling:touch!important}
}
@media(max-width:430px){
  .bm283-info-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  body.movie-page .bm-readmore-desc.bm283-story .bm-readmore-content{font-size:12.5px!important;line-height:2.05!important}
  body.movie-page .bm-readmore-desc.bm283-story.bm283-story-needed .bm-readmore-content{max-height:calc(12.5px * 2.05 * 3 + 3px)!important}
}
