/* ==========================================================================
   FULLSTORY V3 (fullstory-v3.tpl) — „žurnalo“ puslapis
   Kairėje didelis lipnus plakatas su mygtukais, dešinėje turinys.
   Visos taisyklės — po .fs3 / body:has(.fs3).
   ========================================================================== */
body:has(.fs3) { overflow-x: hidden; }
body:has(.fs3) .fhero-slot { padding: 84px var(--gut) 0 !important; background: none !important; overflow: visible !important; }
body:has(.fs3) .fhero-slot .speedbar { max-width: 1280px; margin: 0 auto 22px !important; position: relative; z-index: 2; }
body:has(.fs3) .cols { padding-top: 0 !important; }

.fs3 { position: relative; isolation: isolate; }
.fs3-tint {
  position: absolute; z-index: -1; top: -260px; left: -30vw; width: 90vw; height: 900px;
  background-size: cover; background-position: center; filter: blur(110px) saturate(1.6); opacity: .32; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent);
}
.fs3-mhead { display: none; }
.fs3-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }

/* ---------- kairė ---------- */
.fs3-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; }
.fs3-poster { position: relative; width: auto !important; margin: 0 0 6px !important; }
.fs3-poster img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -30px rgba(0,0,0,.95); }
.fs3-pst {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff;
  background: rgba(18,7,14,.7); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.fs3-pst::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.fs3-pst.is-air::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(217,70,125,.3); }
.fs3-pst.is-soon::before { background: var(--gold); }
.fs3-play {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; color: #fff;
  background: var(--accent-gradient); box-shadow: 0 18px 40px -16px rgba(217,70,125,.85); transition: transform .25s var(--ease), box-shadow .25s ease;
}
.fs3-play:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 24px 50px -16px rgba(217,70,125,.95); }
.fs3-play > .fas { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; font-size: 14px; padding-left: 3px; background: rgba(255,255,255,.2); }
.fs3-play > span:last-child { display: flex; flex-direction: column; font-size: 17px; font-weight: 800; line-height: 1.15; }
.fs3-play small { font-size: 12px; font-weight: 600; opacity: .85; }
.fs3-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fs3 .fh-fav a, .fs3 .fh-fav > span, .fs3 .fh-share {
  display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px !important; padding: 0 10px !important; margin: 0 !important;
  border-radius: 14px !important; cursor: pointer; font: inherit; font-size: 13.5px !important; font-weight: 700 !important; color: #fff !important; line-height: 1 !important;
  background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.12) !important; box-shadow: none !important; backdrop-filter: none !important;
}
.fs3 .fh-fav a:hover, .fs3 .fh-fav > span:hover, .fs3 .fh-share:hover { background: rgba(255,255,255,.12) !important; }
.fs3 .fh-fav [class*=fa-], .fs3 .fh-share .fal { font-size: 15px !important; color: var(--accent); margin: 0 !important; }
.fs3 .fh-share-txt { display: inline !important; }

/* ---------- dešinė ---------- */
.fs3-main { min-width: 0; padding-top: 8px; }
.fs3-kicker { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f7a3c2; }
.fs3-title { margin: 0 0 16px; font-size: clamp(36px, 4.4vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: #fff; }
.fs3-genres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.fs3-genres span { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #ede4e8; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.fs3-genres[hidden], .fs3 .fh-genres[hidden] { display: none !important; }

.fs3-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-bottom: 28px; border-radius: 18px; overflow: visible; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.07); }
.fs3-stat { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: rgba(31,13,25,.92); }
.fs3-stat:first-child { border-radius: 17px 0 0 17px; }
.fs3-stat:last-child { border-radius: 0 17px 17px 0; }
.fs3-stat-val { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #fff; }
.fs3-stat-lbl { font-size: 12px; font-weight: 600; color: var(--text-muted); }
/* įvertinimo plytelė */
.fs3 .fs3-stat-rate { position: relative; padding: 0; width: auto; }
.fs3 .fs3-stat-rate .fh-rate-btn {
  display: flex !important; flex-direction: column; align-items: flex-start; gap: 6px; height: 100% !important; width: 100%; padding: 16px 18px !important;
  border: 0 !important; background: none !important; border-radius: inherit !important; cursor: pointer; box-shadow: none !important; backdrop-filter: none !important;
}
.fs3 .fs3-stat-rate .fh-rate-btn:hover { background: rgba(230,190,118,.06) !important; }
.fs3 .fh-mscore { display: inline-flex; align-items: center; gap: 6px; }
.fs3 .fh-mscore[hidden], .fs3 .fs3-stat-rate .fh-score { display: none !important; }
.fs3 .fh-mscore svg { width: 20px; height: 20px; color: #e6be76; }
.fs3-stat-rate:has(.fh-mscore:not([hidden])) .fs3-noscore { display: none; }
.fs3 .fs3-stat-rate .fh-rate-cta { display: inline !important; height: auto !important; padding: 0 !important; margin: 0 !important; background: none !important; font-size: 12px !important; font-weight: 700 !important; color: #e6be76 !important; text-decoration: underline; text-underline-offset: 3px; }
.fs3 .fs3-stat-rate .fh-rate-cta::after { display: none !important; }
.fs3 .fh-rate-pop {
  position: absolute !important; left: 0 !important; top: calc(100% + 10px) !important; bottom: auto !important; right: auto !important;
  width: 340px; min-width: 0 !important; z-index: 60; padding: 14px 14px 10px !important; text-align: left !important;
  border-radius: 14px !important; box-shadow: 0 24px 50px -10px rgba(0,0,0,.85) !important;
}
.fs3 .fh-rate-pop::after { display: none !important; }
.fs3 .fh-rate-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.fs3 .fh-rate-pop-title { font-size: 14px; font-weight: 800; color: #fff; text-transform: none; letter-spacing: 0; }

.fs3 .fdesc { padding: 0 !important; margin: 0 0 30px !important; background: none !important; border: 0 !important; max-width: 820px; }
.fs3 .fdesc .ftext { padding: 0 !important; font-size: 16px; line-height: 1.8; color: #dbcbd2; }
.fs3 .fdesc.is-collapsed .ftext { max-height: 116px !important; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }

.fs3-lbl { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.fs3-actors-src { display: none !important; }
.fs3-cast-wrap { margin-bottom: 40px; }
.fs3 .fs3-cast { display: flex; flex-wrap: wrap; gap: 10px; }
.fs3 .fs3-person {
  display: inline-flex !important; align-items: center; gap: 10px; height: 48px !important; padding: 0 16px 0 5px !important; border-radius: 999px !important;
  font-size: 13.5px; font-weight: 600; color: #ede4e8; white-space: nowrap; background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.08) !important;
}
.fs3 a.fs3-person:hover { color: #fff; border-color: rgba(217,70,125,.5) !important; }
.fs3 .fs3-person i { position: relative; overflow: hidden; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; }
.fs3 .fs3-person i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.fs3 .fs3-person i.c0 { background: linear-gradient(135deg, #f08bb0, #9c2357); }
.fs3 .fs3-person i.c1 { background: linear-gradient(135deg, #ec4899, #7a1650); }
.fs3 .fs3-person i.c2 { background: linear-gradient(135deg, #6366f1, #2b2d7a); }
.fs3 .fs3-person i.c3 { background: linear-gradient(135deg, #14b8a6, #0b5c55); }
.fs3 .fs3-person i.c4 { background: linear-gradient(135deg, #d9a63e, #7a5b05); }
.fs3 .fs3-person i.c5 { background: linear-gradient(135deg, #8b5cf6, #44207a); }

.fs3-sec { margin-bottom: 42px; scroll-margin-top: 80px; }
.fs3-h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 22px; font-weight: 800; color: #fff; }
.fs3-count { padding: 2px 9px; border-radius: 999px; font-size: 12px; background: rgba(255,255,255,.08); }
.fs3 .fplayer { margin: 0 !important; border-radius: 20px; overflow: hidden; background: #0d060b; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 70px -30px rgba(0,0,0,.95); }
.fs3 .fplayer .fctrl { padding: 10px 12px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06); }
.fs3 .fplayer .tabs-b.video-box iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; }
.fs3 .fseo { margin: -24px 0 40px !important; }
.fs3 .frels .rel-row { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; overflow: visible !important; }
.fs3 .frels .rel-card { width: auto !important; margin: 0 !important; }

/* ---------- planšetė ---------- */
@media screen and (max-width: 1100px) {
  .fs3-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .fs3-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs3-stat:first-child { border-radius: 17px 0 0 0; } .fs3-stat:last-child { border-radius: 0 0 17px 0; }
  .fs3 .frels .rel-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* ---------- telefonas ---------- */
@media screen and (max-width: 760px) {
  body:has(.fs3) .fhero-slot { padding: 74px var(--gut) 0 !important; }
  body:has(.fs3) .fhero-slot .speedbar { display: none; }
  .fs3-tint { left: -20vw; width: 140vw; height: 700px; top: -120px; opacity: .4; }
  .fs3-grid { display: block; }
  .fs3-side { position: static; display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-areas: "poster title" "play play" "btns btns"; gap: 14px 16px; margin-bottom: 22px; }
  .fs3-poster { grid-area: poster; margin: 0 !important; }
  .fs3-poster img { border-radius: 14px; }
  .fs3-pst { top: auto; bottom: 8px; left: 8px; padding: 4px 8px; font-size: 9.5px; }
  .fs3-play { grid-area: play; justify-content: center; }
  .fs3-btns { grid-area: btns; }
}
@media screen and (max-width: 760px) {
  .fs3-main { display: block; padding: 0; }
  .fs3-mhead { display: block; grid-area: title; align-self: end; padding-bottom: 4px; }
  .fs3-mhead .fs3-kicker { font-size: 10.5px; margin-bottom: 8px; letter-spacing: .12em; }
  .fs3-mtitle { font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff; margin-bottom: 8px; }
  .fs3-mgen { font-size: 12.5px; color: var(--text-secondary); }
  .fs3-main > .fs3-kicker, .fs3-main > .fs3-title, .fs3-main > .fs3-genres { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fs3-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; }
  .fs3-stat:first-child { border-radius: 17px 0 0 17px; } .fs3-stat:last-child { border-radius: 0 17px 17px 0; }
  .fs3-stat, .fs3 .fs3-stat-rate .fh-rate-btn { padding: 12px 10px !important; gap: 4px; }
  .fs3-stat-val { font-size: 19px; }
  .fs3 .fh-mscore svg { width: 15px; height: 15px; }
  .fs3-stat-lbl { font-size: 10.5px; }
  .fs3-stat-rate .fs3-stat-lbl { font-size: 0; }
  .fs3 .fs3-stat-rate .fh-rate-cta { font-size: 11px !important; }
  .fs3 .fh-rate-pop {
    position: fixed !important; left: 10px !important; right: 10px !important; top: auto !important; bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    width: auto; z-index: 600; box-shadow: 0 -10px 40px rgba(0,0,0,.6), 0 0 0 100vmax rgba(0,0,0,.45) !important;
  }
  .fs3 .fdesc .ftext { font-size: 14.5px; }
  .fs3 .fs3-cast { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
  .fs3 .fs3-cast::-webkit-scrollbar { display: none; }
  .fs3 .fs3-person { flex-shrink: 0; }
  .fs3-h2 { font-size: 19px; }
  .fs3 .fplayer { margin: 0 calc(-1 * var(--gut)) !important; border-radius: 0; border-left: 0; border-right: 0; }
  .fs3 .frels .rel-row { grid-auto-flow: column; grid-auto-columns: 40%; grid-template-columns: none; overflow-x: auto !important; scrollbar-width: none; }
}
.fs3-pst { white-space: nowrap; }
@media screen and (max-width: 760px) { .fs3-pst { left: 50% !important; transform: translateX(-50%); font-size: 8.5px !important; padding: 4px 7px !important; gap: 5px; } .fs3-pst::before { width: 5px; height: 5px; } }
