/* Despani movies component (/app/movies, /app/movie/*, /app/movieperson/*): Georgian film graph + linked movies.
   Light Despani theme only (white cards, cream paper, Despani red #7d0001, Tahoma UI + Georgian serif headings).
   EVERY selector is scoped under .mv-page (the movies frame) or .mvm (movies rail modules): nothing here restyles site chrome. */

/* ---- page width: movies pages are fluid. Only the content paper that CONTAINS the movies frame is widened
   (header, band, view bar and every other page keep the site's width setting). Beats the rail-collapse !important rule. ---- */
html body.desp-heritage .desp-paper:has(.alx.mv-page[data-desp-rail]){max-width:100%!important;box-sizing:border-box}

/* ---- frame: one left rail + a fluid main column (no right rail: it was squeezing main to ~430px) ---- */
.alx.mv-page{grid-template-columns:210px minmax(0,1fr);gap:22px}
.alx.mv-page>.alx-main{min-width:0}
@media (max-width:1100px){.alx.mv-page{grid-template-columns:180px minmax(0,1fr);gap:16px}}
@media (max-width:900px){.alx.mv-page{grid-template-columns:minmax(0,1fr)}}

.mv-page{--mv-ink:#2a1d1d;--mv-muted:#7a6b66;--mv-acc:#7d0001;--mv-acc2:#a3171b;--mv-rule:#e6e0e0;--mv-soft:#faf5ef;--mv-card:#fff;--mv-r:12px;
 --mv-shadow:0 1px 2px rgba(0,0,0,.04);--mv-shadow2:0 10px 24px rgba(0,0,0,.10);
 --mv-serif:"Noto Serif Georgian","BPG Nino Mtavruli",Georgia,serif;--mv-ui:Tahoma,system-ui,sans-serif}
.mv-page .mv{color:var(--mv-ink);min-width:0;font-family:var(--mv-ui)}
.mv-page .mv a{color:inherit}
.mv-page .mv h1,.mv-page .mv h2,.mv-page .mv h3{font-family:var(--mv-serif);letter-spacing:0;color:var(--mv-ink);overflow-wrap:anywhere}
.mv-page .mv-crumb{font-size:12.5px;color:var(--mv-muted);margin:2px 0 12px}
.mv-page .mv-crumb a{color:var(--mv-acc);text-decoration:none}.mv-page .mv-crumb a:hover{text-decoration:underline}
.mv-page .mv-kicker{margin:0 0 6px;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--mv-acc)}
.mv-page .mv-muted{color:var(--mv-muted)}
.mv-page .mv-flash{margin:0 0 14px;padding:11px 14px;border-radius:10px;background:#eef6ea;border:1px solid #cfe3c5;color:#2d5a1f;font-size:14px}
.mv-page .mv-err{margin:0 0 14px;padding:11px 14px;border-radius:10px;background:#fbeeee;border:1px solid #efc9c9;color:#8a1f1f;font-size:14px}
.mv-page .mv-err div+div{margin-top:4px}
.mv-page .mv-empty{padding:30px 12px;text-align:center;color:var(--mv-muted);border:1px dashed var(--mv-rule);border-radius:var(--mv-r);background:#fff}
.mv-page .mv-empty[hidden]{display:none}

/* buttons */
.mv-page .mv-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;padding:0 16px;border:1px solid var(--mv-acc);border-radius:10px;background:linear-gradient(#a3171b,#7d0001);color:#fff!important;font:700 13.5px/1 var(--mv-ui);text-decoration:none!important;cursor:pointer;white-space:nowrap;box-shadow:0 3px 10px rgba(125,0,1,.2);transition:transform .15s,box-shadow .15s}
.mv-page .mv-btn:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(125,0,1,.28)}
.mv-page .mv-btn.ghost,.mv-page .mv-btn.light{background:#fff;color:var(--mv-acc)!important;border-color:#e0d4d4;box-shadow:none}
.mv-page .mv-btn.ghost:hover,.mv-page .mv-btn.light:hover{border-color:var(--mv-acc);background:#fbf1f1}
.mv-page .mv-btn.sm{height:32px;padding:0 12px;font-size:12.5px}
.mv-page .mv-btn svg{width:15px;height:15px;flex:none}
.mv-page .mv-link{font-weight:700;font-size:13px;color:var(--mv-acc)!important;text-decoration:none}.mv-page .mv-link:hover{text-decoration:underline}

/* section heads: Despani componentheading style */
.mv-page .mv-sec{margin:24px 0}
.mv-page .mv-h2{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin:0 0 12px;border-bottom:2px solid #f0e6e6;padding-bottom:7px}
.mv-page .mv-h2 h2{margin:0;font:700 19px/1.25 var(--mv-serif);color:var(--mv-acc)}
.mv-page .mv-h2 h2 em{font:500 13px var(--mv-ui);color:var(--mv-muted);margin-left:6px}
.mv-page .mv-h2 a{font-size:12.5px;font-weight:700;color:var(--mv-acc);text-decoration:none;white-space:nowrap}.mv-page .mv-h2 a:hover{text-decoration:underline}

/* ---- index hero: light card ---- */
.mv-page .mv-hero{position:relative;border:1px solid var(--mv-rule);border-radius:14px;background:linear-gradient(180deg,#fff 0%,#fffaf4 100%);padding:26px 26px 22px;margin-bottom:22px;box-shadow:var(--mv-shadow)}
.mv-page .mv-hero:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;border-radius:14px 14px 0 0;background:linear-gradient(90deg,#7d0001,#a3171b 60%,#d9a441)}
.mv-page .mv-hero-wall{display:none}
.mv-page .mv-hero h1{margin:0;font-size:32px;line-height:1.15}
.mv-page .mv-hero>p{margin:8px 0 16px;max-width:900px;color:#5a4d48;font-size:15px;line-height:1.6}
.mv-page .mv-hero-stats{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.mv-page .mv-hero-stats div{display:flex;flex-direction:column;min-width:96px;padding:10px 14px;border:1px solid var(--mv-rule);border-radius:10px;background:#fff}
.mv-page .mv-hero-stats b{font:700 22px/1 var(--mv-serif);color:var(--mv-acc)}
.mv-page .mv-hero-stats span{font-size:12px;color:var(--mv-muted);margin-top:4px}
.mv-page .mv-search{display:flex;gap:8px;max-width:900px;background:#fff;border:1px solid #e0d4d4;border-radius:12px;padding:5px}
.mv-page .mv-search:focus-within{border-color:var(--mv-acc);box-shadow:0 0 0 3px rgba(125,0,1,.08)}
.mv-page .mv-search input{flex:1;min-width:0;height:40px;border:0;background:transparent;padding:0 12px;font:inherit;font-size:15px;color:var(--mv-ink);outline:none}
.mv-page .mv-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.mv-page .mv-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid #e3d6d6;background:#fff;font-size:12.5px;font-weight:700;text-decoration:none!important;color:#5a1010!important;transition:all .15s}
.mv-page .mv-chip em{font-style:normal;font-weight:500;font-size:11.5px;color:var(--mv-muted)}
.mv-page .mv-chip:hover{border-color:var(--mv-acc);background:#fbf1f1}
.mv-page .mv-chip.on{background:var(--mv-acc);border-color:var(--mv-acc);color:#fff!important}.mv-page .mv-chip.on em{color:rgba(255,255,255,.85)}

/* ---- fluid poster grids: fill whatever width there is ---- */
.mv-page .mv-grid,.mv-page .mv-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px 16px}
.mv-page .mv-card{display:flex;flex-direction:column;min-width:0;text-decoration:none!important;color:var(--mv-ink)!important}
.mv-page .mv-card[hidden]{display:none}
.mv-page .mv-poster{position:relative;display:block;aspect-ratio:2/3;border-radius:10px;overflow:hidden;background:#f3ebe3;border:1px solid var(--mv-rule);box-shadow:var(--mv-shadow);transition:transform .18s,box-shadow .18s}
.mv-page .mv-card:hover .mv-poster{transform:translateY(-3px);box-shadow:var(--mv-shadow2)}
.mv-page .mv-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* typographic poster when there is no image: light paper with a coloured band */
.mv-page .mv-tp{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:14px 12px;color:var(--mv-ink);
 background:linear-gradient(180deg,hsl(var(--h),45%,94%) 0%,#fffaf4 70%)}
.mv-page .mv-tp:before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:hsl(var(--h),45%,42%)}
.mv-page .mv-tp b{position:relative;margin-top:8px;font:700 15px/1.3 var(--mv-serif);color:hsl(var(--h),40%,22%);overflow-wrap:anywhere}
.mv-page .mv-tp small{position:relative;font-size:12px;color:var(--mv-muted);letter-spacing:.04em}
.mv-page .mv-badges{position:absolute;left:8px;top:8px;right:8px;display:flex;gap:5px;flex-wrap:wrap;z-index:2}
.mv-page .mv-badge{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:700;background:#fff;color:var(--mv-acc);border:1px solid #e3d6d6}
.mv-page .mv-badge.play{background:var(--mv-acc);border-color:var(--mv-acc);color:#fff}
.mv-page .mv-badge svg{width:11px;height:11px}
.mv-page .mv-card-t{margin:9px 2px 0;font-size:14px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.mv-page .mv-card-s{margin:2px 2px 0;font-size:12px;color:var(--mv-muted);overflow-wrap:anywhere}
.mv-page .mv-card-r{margin:3px 2px 0;font-size:12px;color:var(--mv-acc);font-weight:700;overflow-wrap:anywhere}

/* people cards */
.mv-page .mv-people,.mv-page .mv-cast{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.mv-page .mv-pcard{display:flex;align-items:center;gap:11px;padding:10px;border:1px solid var(--mv-rule);border-radius:var(--mv-r);background:#fff;text-decoration:none!important;color:var(--mv-ink)!important;min-width:0;transition:border-color .15s,box-shadow .15s,transform .15s}
.mv-page .mv-pcard[hidden]{display:none}
.mv-page .mv-pcard:hover{border-color:#d9b8b8;box-shadow:var(--mv-shadow2);transform:translateY(-1px)}
.mv-page .mv-pcard>span:last-child{min-width:0;display:flex;flex-direction:column}
.mv-page .mv-pcard b{font-size:13.5px;line-height:1.3;overflow-wrap:anywhere}
.mv-page .mv-pcard small{font-size:11.5px;color:var(--mv-muted);overflow-wrap:anywhere}
.mv-page .mv-pcard i{font-style:normal;font-size:12px;color:var(--mv-acc);font-weight:700;overflow-wrap:anywhere}
.mv-page .mv-av{position:relative;flex:none;width:48px;height:48px;border-radius:50%;overflow:hidden;display:grid;place-items:center;font:700 16px/1 var(--mv-serif);color:hsl(var(--h),40%,28%);background:hsl(var(--h),45%,90%);border:1px solid hsl(var(--h),30%,82%)}
.mv-page .mv-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mv-page .mv-av.lg{width:128px;height:128px;font-size:40px;border:4px solid #fff;box-shadow:0 0 0 1px var(--mv-rule),0 8px 22px rgba(0,0,0,.10)}

/* ---- film detail head: white card, nothing clipped ---- */
.mv-page .mv-head{position:relative;border:1px solid var(--mv-rule);border-radius:14px;background:linear-gradient(180deg,#fff 0%,#fffaf4 100%);margin-bottom:20px;box-shadow:var(--mv-shadow)}
.mv-page .mv-head-bg{display:none}
.mv-page .mv-head-in{display:grid;grid-template-columns:200px minmax(0,1fr);gap:26px;padding:22px;align-items:start}
.mv-page .mv-head .mv-poster{width:200px;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.mv-page .mv-head h1{margin:2px 0 4px;font-size:32px;line-height:1.18}
.mv-page .mv-alt{margin:0 0 12px;color:var(--mv-muted);font-size:15px;overflow-wrap:anywhere}
.mv-page .mv-alt span+span:before{content:" · "}
.mv-page .mv-meta{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px;padding:0;list-style:none}
.mv-page .mv-meta li{display:inline-flex;align-items:center;max-width:100%;padding:5px 11px;border-radius:999px;background:#fff;border:1px solid #e3d6d6;font-size:12.5px;font-weight:700;color:#5a1010;overflow-wrap:anywhere}
.mv-page .mv-meta a{text-decoration:none;color:inherit}.mv-page .mv-meta a:hover{color:var(--mv-acc);text-decoration:underline}
.mv-page .mv-desc{max-width:900px;margin:0 0 16px;font-size:15px;line-height:1.65;color:#4a3d38}
.mv-page .mv-desc a{color:inherit;text-decoration:underline;text-decoration-color:rgba(125,0,1,.35);text-underline-offset:2px}
.mv-page .mv-desc a:hover{color:var(--mv-acc)}
.mv-page .mv-actions{display:flex;flex-wrap:wrap;gap:8px}
.mv-page .mv-srcs{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;font-size:12.5px;color:var(--mv-muted)}
.mv-page .mv-srcs a{color:var(--mv-acc)!important;text-decoration:none;border-bottom:1px dotted rgba(125,0,1,.4)}

/* ---- person head ---- */
.mv-page .mv-phead{display:grid;grid-template-columns:auto minmax(0,1fr);gap:24px;align-items:center;padding:22px;border:1px solid var(--mv-rule);border-radius:14px;margin-bottom:18px;
 background:linear-gradient(180deg,#fff 0%,#fffaf4 100%);box-shadow:var(--mv-shadow)}
.mv-page .mv-phead h1{margin:0;font-size:32px;line-height:1.18}
.mv-page .mv-pstats{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.mv-page .mv-pstats div{display:flex;flex-direction:column;padding:8px 12px;border:1px solid var(--mv-rule);border-radius:10px;background:#fff;min-width:84px}
.mv-page .mv-pstats b{font:700 18px/1.1 var(--mv-serif);color:var(--mv-acc)}
.mv-page .mv-pstats span{font-size:11.5px;color:var(--mv-muted);margin-top:3px}
.mv-page .mv-roles{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.mv-page .mv-roles a{display:inline-flex;gap:6px;align-items:center;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid #e3d6d6;text-decoration:none;font-size:12.5px;font-weight:700;color:#5a1010!important}
.mv-page .mv-roles a:hover,.mv-page .mv-roles a.on{border-color:var(--mv-acc);background:#fbf1f1}
.mv-page .mv-roles a em{font-style:normal;color:var(--mv-muted);font-weight:500}

/* ---- role tabs (person filmography, film credits) ---- */
.mv-page .mv-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0 0 0 2px;border-bottom:2px solid #f0e6e6}
.mv-page .mv-tab{position:relative;display:inline-flex;align-items:baseline;gap:7px;padding:10px 16px 11px;margin-bottom:-2px;border:1px solid transparent;border-bottom:2px solid transparent;border-radius:10px 10px 0 0;text-decoration:none!important;color:#5a4d48!important;font-weight:700;font-size:14.5px;cursor:pointer}
.mv-page .mv-tab em{font-style:normal;font-weight:700;font-size:12px;padding:1px 8px;border-radius:999px;background:#f3ebe6;color:#6b5a4d}
.mv-page .mv-tab small{font-weight:500;font-size:11.5px;color:var(--mv-muted)}
.mv-page .mv-tab:hover{color:var(--mv-acc)!important;background:#fbf6f2}
.mv-page .mv-tab[aria-selected=true]{color:var(--mv-acc)!important;background:#fff;border-color:#f0e6e6;border-bottom-color:var(--mv-acc)}
.mv-page .mv-tab[aria-selected=true] em{background:var(--mv-acc);color:#fff}
.mv-page .mv-tab:focus-visible{outline:2px solid var(--mv-acc);outline-offset:2px}
.mv-page .mv-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin:14px 0 16px}
.mv-page .mv-tools input[type=search]{flex:1 1 260px;max-width:460px;height:36px;padding:0 12px;border:1px solid #e0d4d4;border-radius:9px;background:#fff;font:inherit;font-size:14px;color:var(--mv-ink)}
.mv-page .mv-tools input:focus{outline:2px solid rgba(125,0,1,.18);border-color:var(--mv-acc)}
.mv-page .mv-sortset{display:inline-flex;border:1px solid #e0d4d4;border-radius:9px;overflow:hidden;background:#fff}
.mv-page .mv-sortset a,.mv-page .mv-sortset button{display:inline-flex;align-items:center;height:34px;padding:0 12px;border:0;background:none;font:700 12.5px var(--mv-ui);color:#5a4d48!important;text-decoration:none!important;cursor:pointer}
.mv-page .mv-sortset a+a{border-left:1px solid #eee3e3}
.mv-page .mv-sortset a[aria-pressed=true]{background:var(--mv-acc);color:#fff!important}
.mv-page .mv-panel[hidden]{display:none}

/* ---- crew lines (legacy) ---- */
.mv-page .mv-crewline{display:grid;grid-template-columns:140px minmax(0,1fr);gap:6px 16px;padding:10px 0;border-bottom:1px dashed var(--mv-rule)}
.mv-page .mv-crewline dt{font-size:12.5px;font-weight:700;color:var(--mv-muted)}
.mv-page .mv-crewline dd{margin:0;display:flex;flex-wrap:wrap;gap:6px}

/* ---- watch ---- */
.mv-page .mv-player{position:relative;border-radius:12px;overflow:hidden;background:#f3ebe3;border:1px solid var(--mv-rule);aspect-ratio:16/9}
.mv-page .mv-player video,.mv-page .mv-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#f3ebe3}
.mv-page .mv-offplay{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:12px;border:1px solid #f0d9b5;background:#fffaf0;color:var(--mv-ink)}
.mv-page .mv-offplay code{display:block;padding:9px 11px;border-radius:8px;background:#fff;border:1px solid var(--mv-rule);font-size:13px;word-break:break-all}
.mv-page .mv-assets{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.mv-page .mv-asset{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--mv-rule);border-radius:var(--mv-r);background:#fff}
.mv-page .mv-asset.primary{border-color:#e2c4c4;background:linear-gradient(90deg,#fbf1f1,#fff)}
.mv-page .mv-asset.missing{opacity:.75}
.mv-page .mv-asset-ic{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#fbf1f1;color:var(--mv-acc)}
.mv-page .mv-asset-ic svg{width:20px;height:20px}
.mv-page .mv-asset-t{min-width:0}
.mv-page .mv-asset-t b{display:block;font-size:14px;overflow-wrap:anywhere}
.mv-page .mv-asset-t small{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px;color:var(--mv-muted);margin-top:2px}
.mv-page .mv-asset-t code{font-size:11.5px;color:var(--mv-muted);word-break:break-all}
.mv-page .mv-tag{display:inline-flex;align-items:center;height:19px;padding:0 7px;border-radius:999px;font-size:10.5px;font-weight:700;background:#f3ebe6;color:#6b5a4d}
.mv-page .mv-tag.acc{background:var(--mv-acc);color:#fff}.mv-page .mv-tag.warn{background:#fcefd2;color:#8a5a00}.mv-page .mv-tag.ok{background:#e6f3e0;color:#2d5a1f}
.mv-page .mv-asset-a{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.mv-page .mv-asset-a form{margin:0}
.mv-page .mv-iconbtn{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:8px;border:1px solid #e0d4d4;background:#fff;color:var(--mv-ink)!important;cursor:pointer;text-decoration:none!important}
.mv-page .mv-iconbtn:hover{border-color:var(--mv-acc);color:var(--mv-acc)!important}
.mv-page .mv-iconbtn.danger:hover{border-color:#b3121b;color:#b3121b!important}
.mv-page .mv-iconbtn svg{width:15px;height:15px}
.mv-page .mv-linkcta{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 18px;border-radius:var(--mv-r);border:1px dashed #d9c6c6;background:#fff}
.mv-page .mv-linkcta p{margin:0;font-size:14px;color:var(--mv-muted)}

/* ---- browse filters ---- */
.mv-page .mv-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px;border:1px solid var(--mv-rule);border-radius:12px;background:#fff;margin-bottom:14px}
.mv-page .mv-bar input[type=search]{flex:1 1 260px}
.mv-page .mv-bar input,.mv-page .mv-bar select{height:38px;min-width:0;padding:0 11px;border:1px solid #e0d4d4;border-radius:9px;background:#fff;font:inherit;font-size:14px;color:var(--mv-ink)}
.mv-page .mv-bar select{flex:0 1 170px}
.mv-page .mv-bar input:focus,.mv-page .mv-bar select:focus{outline:2px solid rgba(125,0,1,.18);border-color:var(--mv-acc)}
.mv-page .mv-toggle{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 12px;border:1px solid #e0d4d4;border-radius:9px;background:#fff;font-size:13.5px;cursor:pointer;user-select:none}
.mv-page .mv-toggle input{height:auto;accent-color:var(--mv-acc)}
.mv-page .mv-found{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:6px 0 14px;font-size:13px;color:var(--mv-muted)}
.mv-page .mv-found a{color:var(--mv-acc)}
.mv-page .mv-abc{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 14px}
.mv-page .mv-abc a{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:8px;border:1px solid #e0d4d4;background:#fff;text-decoration:none;font-weight:700;font-size:13.5px}
.mv-page .mv-abc a:hover{border-color:var(--mv-acc)}.mv-page .mv-abc a.on{background:var(--mv-acc);border-color:var(--mv-acc);color:#fff}
.mv-page .mv-pager{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:24px 0 8px}
.mv-page .mv-pager a,.mv-page .mv-pager b,.mv-page .mv-pager span{display:inline-grid;place-items:center;min-width:38px;height:38px;padding:0 10px;box-sizing:border-box;border-radius:10px;border:1px solid #e0d4d4;background:#fff;text-decoration:none;font:700 14px/1 var(--mv-ui);color:#3a0a0a}
.mv-page .mv-pager b{background:linear-gradient(#a3171b,#7d0001);border-color:var(--mv-acc);color:#fff}
.mv-page .mv-pager span{border:0;background:none}
.mv-page .mv-pager a:hover{border-color:var(--mv-acc);color:var(--mv-acc)}

/* ---- link a movie (form) ---- */
.mv-page .mv-lk{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}
.mv-page .mv-lk-card{border:1px solid var(--mv-rule);border-radius:14px;background:#fff;box-shadow:var(--mv-shadow)}
.mv-page .mv-lk-head{display:flex;gap:14px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--mv-rule);background:linear-gradient(180deg,#fff,#fffaf4);border-radius:14px 14px 0 0}
.mv-page .mv-lk-head .mv-poster{width:54px;flex:none;border-radius:6px}
.mv-page .mv-lk-head h1{margin:0;font-size:21px;line-height:1.25}
.mv-page .mv-lk-head p{margin:2px 0 0;font-size:13px;color:var(--mv-muted)}
.mv-page .mv-lk-body{padding:18px}
.mv-page .mv-step{margin:0 0 18px}
.mv-page .mv-step>h3{display:flex;align-items:center;gap:9px;margin:0 0 10px;font:700 15px var(--mv-ui)}
.mv-page .mv-step>h3 i{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--mv-acc);color:#fff;font-style:normal;font-size:12px}
.mv-page .mv-seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mv-page .mv-seg label{position:relative;display:flex;flex-direction:column;gap:4px;padding:13px 14px;border:1.5px solid var(--mv-rule);border-radius:12px;cursor:pointer;background:#fff;transition:border-color .15s,background .15s}
.mv-page .mv-seg label:hover{border-color:#d9b8b8}
.mv-page .mv-seg input{position:absolute;opacity:0;pointer-events:none}
.mv-page .mv-seg label:has(input:checked){border-color:var(--mv-acc);background:#fbf1f1;box-shadow:0 0 0 3px rgba(125,0,1,.08)}
.mv-page .mv-seg label:has(input:focus-visible){outline:2px solid var(--mv-acc);outline-offset:2px}
.mv-page .mv-seg svg{width:22px;height:22px;color:var(--mv-acc)}
.mv-page .mv-seg b{font-size:14px}.mv-page .mv-seg small{font-size:12px;color:var(--mv-muted);line-height:1.35}
.mv-page .mv-f{display:flex;flex-direction:column;gap:5px;margin:0 0 12px;min-width:0}
.mv-page .mv-f>span{font-size:13px;font-weight:700}
.mv-page .mv-f small{font-size:12px;color:var(--mv-muted);line-height:1.45}
.mv-page .mv-f input,.mv-page .mv-f select,.mv-page .mv-f textarea{width:100%;box-sizing:border-box;height:40px;padding:0 12px;border:1px solid #e0d4d4;border-radius:9px;background:#fff;font:inherit;font-size:14px;color:var(--mv-ink)}
.mv-page .mv-f textarea{height:auto;min-height:70px;padding:10px 12px;resize:vertical}
.mv-page .mv-f input:focus,.mv-page .mv-f select:focus,.mv-page .mv-f textarea:focus{outline:2px solid rgba(125,0,1,.18);border-color:var(--mv-acc)}
.mv-page .mv-f input.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}
.mv-page .mv-f2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mv-page .mv-f3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mv-page .mv-r2key{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px}
.mv-page .mv-check{display:flex;align-items:center;gap:10px;font-size:14px;margin:4px 0 16px}
.mv-page .mv-check input{width:18px;height:18px;accent-color:var(--mv-acc)}
.mv-page .mv-lk-foot{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:14px 18px;border-top:1px solid var(--mv-rule);background:#fffaf4;border-radius:0 0 14px 14px}
.mv-page .mv-result{margin:4px 0 16px;border-radius:12px;padding:12px 14px;font-size:13.5px;border:1px solid var(--mv-rule);background:#fafafa}
.mv-page .mv-result[hidden]{display:none}
.mv-page .mv-result.ok{background:#f1f8ee;border-color:#cfe3c5}.mv-page .mv-result.bad{background:#fdf1f1;border-color:#efc9c9}.mv-page .mv-result.busy{opacity:.7}
.mv-page .mv-result ul{margin:6px 0 0;padding-left:18px}.mv-page .mv-result li{margin:2px 0}
.mv-page .mv-result .facts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.mv-page .mv-hint{font-size:12.5px;color:var(--mv-muted);background:var(--mv-soft);border:1px solid #f0e6e6;border-radius:10px;padding:10px 12px;line-height:1.5}
.mv-page .mv-hint code{font-size:12px;background:#fff;padding:1px 5px;border-radius:5px;border:1px solid var(--mv-rule);word-break:break-all}
.mv-page .mv-side h3{margin:0 0 10px;font:700 15px var(--mv-ui)}
.mv-page .mv-side .mv-asset{grid-template-columns:34px minmax(0,1fr)}
.mv-page .mv-side .mv-asset-ic{width:34px;height:34px}

/* ---- offline ---- */
.mv-page .mv-offline{padding:40px 24px;text-align:center;border:1px solid var(--mv-rule);border-radius:14px;background:#fff}
.mv-page .mv-offline h1{margin:0 0 8px}

/* ---- rail modules (movies namespace only) ---- */
.mvm .mvm-pick,.mvm-pick{display:flex;gap:10px;align-items:center;text-decoration:none!important;color:inherit!important}
.mvm-pick img{width:64px;aspect-ratio:2/3;object-fit:cover;border-radius:6px;border:1px solid #e6e0e0}
.mvm-pick b{display:block;font-size:14px;line-height:1.3}.mvm-pick small{color:#7a6b66;font-size:12px}
.mvm-has{color:#7d0001;font-weight:700}
.mvm-dec{display:flex;flex-wrap:wrap;gap:5px}
.mvm-dec a{display:inline-flex;gap:5px;align-items:center;height:26px;padding:0 9px;border-radius:999px;border:1px solid #e3d6d6;background:#fff;font-size:12px;font-weight:700;text-decoration:none!important;color:#5a1010!important}
.mvm-dec a em{font-style:normal;color:#7a6b66;font-weight:500}.mvm-dec a:hover{border-color:#7d0001}

/* ---- responsive ---- */
@media (min-width:1600px){.mv-page .mv-grid,.mv-page .mv-row{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}
@media (max-width:1000px){.mv-page .mv-lk{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){
 .mv-page .mv-head-in{grid-template-columns:120px minmax(0,1fr);gap:16px;padding:16px}
 .mv-page .mv-head .mv-poster{width:120px}
 .mv-page .mv-head h1,.mv-page .mv-phead h1,.mv-page .mv-hero h1{font-size:25px}
}
@media (max-width:560px){
 .mv-page .mv-hero{padding:20px 16px 16px}
 .mv-page .mv-head-in{grid-template-columns:minmax(0,1fr)}
 .mv-page .mv-head .mv-poster{width:130px}
 .mv-page .mv-phead{grid-template-columns:minmax(0,1fr);padding:16px;gap:14px}
 .mv-page .mv-av.lg{width:92px;height:92px;font-size:30px}
 .mv-page .mv-grid,.mv-page .mv-row{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:14px 10px}
 .mv-page .mv-people,.mv-page .mv-cast{grid-template-columns:minmax(0,1fr)}
 .mv-page .mv-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
 .mv-page .mv-tab{flex:none;padding:9px 12px 10px;font-size:13.5px}
 .mv-page .mv-tab small{display:none}
 .mv-page .mv-seg,.mv-page .mv-f2,.mv-page .mv-f3{grid-template-columns:minmax(0,1fr)}
 .mv-page .mv-crewline{grid-template-columns:minmax(0,1fr)}
 .mv-page .mv-asset{grid-template-columns:36px minmax(0,1fr)}.mv-page .mv-asset-a{grid-column:1/-1;justify-content:flex-start}
 .mv-page .mv-search{flex-wrap:wrap}.mv-page .mv-search .mv-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.mv-page .mv-poster,.mv-page .mv-btn,.mv-page .mv-pcard{transition:none}}


/* ── Colibri Kit mappings, scoped to .mv-page. Do not change shared packs.
   Theme pack (despani.css) paints .card with a 3px crimson top border and
   gold-tinted .badge chips; engine .card / .btn / .field add padding and
   chrome. Movies already has its light look, so every Kit primitive used
   on these pages is restyled here with enough specificity to win. */

/* Film / person cards: Kit .card would add padding, a full border and a
   crimson top edge. Posters and people rows already have their own chrome. */
html body .mv-page a.card.mv-card,
html body .mv-page a.card.mv-pcard{
  background:transparent;
  border:0;
  border-top:0;
  box-shadow:none;
  padding:0;
  border-radius:0;
  color:inherit;
  overflow:visible;
}
html body .mv-page a.card.mv-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:transparent;
}
html body .mv-page a.card.mv-pcard{
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px;
  border:1px solid var(--mv-rule);
  border-top:1px solid var(--mv-rule);
  border-radius:var(--mv-r);
  background:#fff;
  box-shadow:none;
  color:var(--mv-ink)!important;
  text-decoration:none!important;
  min-width:0;
}
html body .mv-page a.card.mv-pcard:hover{
  border-color:#d9b8b8;
  box-shadow:var(--mv-shadow2);
}
html body .mv-page a.card.mv-card::before,
html body .mv-page a.card.mv-pcard::before{
  content:none!important;
  display:none!important;
}

/* Buttons: match the existing .mv-btn red pill (height 38, radius 10). */
html body .mv-page .btn,
html body .mv-page a.btn,
html body .mv-page button.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  height:38px;
  padding:0 16px;
  border:1px solid var(--mv-acc);
  border-radius:10px;
  background:linear-gradient(#a3171b,#7d0001);
  color:#fff!important;
  font:700 13.5px/1 var(--mv-ui);
  letter-spacing:0;
  text-decoration:none!important;
  box-shadow:0 3px 10px rgba(125,0,1,.2);
  cursor:pointer;
  white-space:nowrap;
  filter:none;
}
html body .mv-page .btn:hover,
html body .mv-page a.btn:hover,
html body .mv-page button.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 5px 14px rgba(125,0,1,.28);
  background:linear-gradient(#a3171b,#7d0001);
  color:#fff!important;
  filter:none;
}
html body .mv-page .btn[data-variant=ghost],
html body .mv-page a.btn[data-variant=ghost],
html body .mv-page .btn[data-variant=secondary],
html body .mv-page .btn.light,
html body .mv-page .btn.ghost{
  background:#fff;
  color:var(--mv-acc)!important;
  border-color:#e0d4d4;
  box-shadow:none;
}
html body .mv-page .btn[data-variant=ghost]:hover,
html body .mv-page a.btn[data-variant=ghost]:hover,
html body .mv-page .btn.light:hover,
html body .mv-page .btn.ghost:hover{
  border-color:var(--mv-acc);
  background:#fbf1f1;
  color:var(--mv-acc)!important;
  transform:none;
  box-shadow:none;
}
html body .mv-page .btn[data-size=s],
html body .mv-page .btn.sm{height:32px;padding:0 12px;font-size:12.5px}
html body .mv-page .btn svg{width:15px;height:15px;flex:none}

/* Pager tiles stay 38×38 squares, not CTA pills. */
html body .mv-page .mv-pager .btn,
html body .mv-page .mv-pager a.btn,
html body .mv-page .mv-pager b.btn{
  min-width:38px;
  height:38px;
  padding:0 10px;
  border-radius:10px;
  border:1px solid #e0d4d4;
  background:#fff;
  color:#3a0a0a!important;
  font:700 14px/1 var(--mv-ui);
  box-shadow:none;
  transform:none;
}
html body .mv-page .mv-pager .btn:hover,
html body .mv-page .mv-pager a.btn:hover{
  border-color:var(--mv-acc);
  color:var(--mv-acc)!important;
  background:#fff;
  box-shadow:none;
  transform:none;
}
html body .mv-page .mv-pager b.btn,
html body .mv-page .mv-pager [aria-current=page]{
  background:linear-gradient(#a3171b,#7d0001);
  border-color:var(--mv-acc);
  color:#fff!important;
}

/* Fields: Kit chrome must not double-border the search capsule or the bar. */
html body .mv-page .field{display:flex;flex-direction:column;gap:4px;min-width:0}
html body .mv-page .mv-search .field{flex:1;min-width:0}
html body .mv-page .mv-search .field [data-ui-part=control],
html body .mv-page .mv-search .field input{
  width:100%;
  height:40px;
  padding:0 12px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  outline:none;
  font:inherit;
  font-size:15px;
  color:var(--mv-ink);
}
html body .mv-page .mv-search .field [data-ui-part=control]:focus,
html body .mv-page .mv-search .field input:focus{border:0;box-shadow:none;outline:none}
html body .mv-page .mv-bar .field{flex:0 1 170px}
html body .mv-page .mv-bar .field:first-child,
html body .mv-page .mv-bar .field[style*="flex:1"]{flex:1 1 260px}
html body .mv-page .mv-bar .field [data-ui-part=control],
html body .mv-page .mv-bar .field input,
html body .mv-page .mv-bar .field select{
  width:100%;
  height:38px;
  padding:0 11px;
  border:1px solid #e0d4d4;
  border-radius:9px;
  background:#fff;
  box-shadow:none;
  font:inherit;
  font-size:14px;
  color:var(--mv-ink);
}
html body .mv-page .mv-bar .field [data-ui-part=control]:focus,
html body .mv-page .mv-bar .field input:focus,
html body .mv-page .mv-bar .field select:focus{
  outline:2px solid rgba(125,0,1,.18);
  border-color:var(--mv-acc);
  box-shadow:none;
}
html body .mv-page .mv-tools .field{flex:1 1 260px;max-width:460px}
html body .mv-page .mv-tools .field [data-ui-part=control],
html body .mv-page .mv-tools .field input{
  width:100%;
  height:36px;
  padding:0 12px;
  border:1px solid #e0d4d4;
  border-radius:9px;
  background:#fff;
  box-shadow:none;
  font:inherit;
  font-size:14px;
  color:var(--mv-ink);
}
html body .mv-page .mv-tools .field [data-ui-part=control]:focus,
html body .mv-page .mv-tools .field input:focus{
  outline:2px solid rgba(125,0,1,.18);
  border-color:var(--mv-acc);
  box-shadow:none;
}
html body .mv-page .field.mv-f [data-ui-part=control]{/* link form uses .mv-f rules */}

/* Badges / chips: theme .badge is a gold rectangle; movies uses white pills. */
html body .mv-page .badge,
html body .mv-page a.badge,
html body .mv-page .badge.mv-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:auto;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid #e3d6d6;
  background:#fff;
  color:#5a1010!important;
  font:700 12.5px/1.2 var(--mv-ui);
  letter-spacing:0;
  text-decoration:none!important;
  box-shadow:none;
}
html body .mv-page .badge em,
html body .mv-page a.badge em{font-style:normal;font-weight:500;font-size:11.5px;color:var(--mv-muted)}
html body .mv-page a.badge:hover,
html body .mv-page .badge.mv-chip:hover{border-color:var(--mv-acc);background:#fbf1f1;color:#5a1010!important}
html body .mv-page .badge[data-state=active],
html body .mv-page a.badge[data-state=active],
html body .mv-page .badge.on,
html body .mv-page a.badge.on{
  background:var(--mv-acc);
  border-color:var(--mv-acc);
  color:#fff!important;
}
html body .mv-page .badge[data-state=active] em,
html body .mv-page a.badge.on em{color:rgba(255,255,255,.85)}
html body .mv-page .badge[data-tone=accent],
html body .mv-page .badge.mv-tag.acc{background:var(--mv-acc);border-color:var(--mv-acc);color:#fff!important;height:19px;padding:0 7px;font-size:10.5px}
html body .mv-page .badge[data-tone=warn],
html body .mv-page .badge.mv-tag.warn{background:#fcefd2;border-color:#fcefd2;color:#8a5a00!important;height:19px;padding:0 7px;font-size:10.5px}
html body .mv-page .badge.mv-tag{height:19px;padding:0 7px;border:0;border-radius:999px;background:#f3ebe6;color:#6b5a4d!important;font-size:10.5px;font-weight:700}

/* Alphabet letters stay 30×30 squares, not pills. */
html body .mv-page .mv-abc a.badge,
html body .mv-page .mv-abc a{
  display:inline-grid;
  place-items:center;
  min-width:30px;
  height:30px;
  padding:0;
  border-radius:8px;
  border:1px solid #e0d4d4;
  background:#fff;
  color:var(--mv-ink)!important;
  font:700 13.5px/1 var(--mv-ui);
}
html body .mv-page .mv-abc a:hover{border-color:var(--mv-acc);background:#fff}
html body .mv-page .mv-abc a.on,
html body .mv-page .mv-abc a.badge[data-state=active]{
  background:var(--mv-acc);
  border-color:var(--mv-acc);
  color:#fff!important;
}

/* Meta chips: the <li> used to be the chip; now the Kit badge is. */
html body .mv-page .mv-meta li{padding:0;border:0;background:transparent;max-width:100%}
html body .mv-page .mv-meta .badge,
html body .mv-page .mv-meta a.badge,
html body .mv-page .mv-meta li.badge{
  padding:5px 11px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e3d6d6;
  font-size:12.5px;
  font-weight:700;
  color:#5a1010!important;
  overflow-wrap:anywhere;
}

/* Role chips in the person header. */
html body .mv-page .mv-roles a.badge{
  padding:6px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e3d6d6;
  color:#5a1010!important;
  font-size:12.5px;
  font-weight:700;
}
html body .mv-page .mv-roles a.badge:hover,
html body .mv-page .mv-roles a.badge.on,
html body .mv-page .mv-roles a.badge[data-state=active]{
  border-color:var(--mv-acc);
  background:#fbf1f1;
  color:#5a1010!important;
}

/* Tabs: keep the existing underline-and-count look, even inside .ui-root. */
html body .mv-page [data-ui=tabs] [data-ui-part=list],
html body .mv-page [data-ui=tabs] [data-ui-part=list].mv-tabs,
html body .mv-page .mv-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin:0;
  padding:0 0 0 2px;
  border:0;
  border-bottom:2px solid #f0e6e6;
  background:transparent;
  box-shadow:none;
}
html body .mv-page [data-ui=tabs] [data-ui-part=trigger],
html body .mv-page [data-ui=tabs] [data-ui-part=trigger].mv-tab,
html body .mv-page .mv-tab{
  position:relative;
  display:inline-flex;
  align-items:baseline;
  gap:7px;
  padding:10px 16px 11px;
  margin-bottom:-2px;
  border:1px solid transparent;
  border-bottom:2px solid transparent;
  border-radius:10px 10px 0 0;
  background:transparent;
  color:#5a4d48!important;
  font:700 14.5px/1.2 var(--mv-ui);
  text-decoration:none!important;
  box-shadow:none;
  cursor:pointer;
}
html body .mv-page [data-ui=tabs] [data-ui-part=trigger]:hover,
html body .mv-page .mv-tab:hover{color:var(--mv-acc)!important;background:#fbf6f2;box-shadow:none}
html body .mv-page [data-ui=tabs] [data-ui-part=trigger][data-state=active],
html body .mv-page [data-ui=tabs] [data-ui-part=trigger][aria-selected=true],
html body .mv-page .mv-tab[aria-selected=true],
html body .mv-page .mv-tab[data-state=active]{
  color:var(--mv-acc)!important;
  background:#fff;
  border-color:#f0e6e6;
  border-bottom-color:var(--mv-acc);
  box-shadow:none;
  border-radius:10px 10px 0 0;
}
html body .mv-page [data-ui=tabs] [data-ui-part=trigger] em,
html body .mv-page [data-ui=tabs] [data-ui-part=trigger] .badge,
html body .mv-page .mv-tab em,
html body .mv-page .mv-tab .badge{
  font-style:normal;
  font-weight:700;
  font-size:12px;
  padding:1px 8px;
  height:auto;
  border:0;
  border-radius:999px;
  background:#f3ebe6;
  color:#6b5a4d!important;
  box-shadow:none;
}
html body .mv-page [data-ui=tabs] [data-ui-part=trigger][data-state=active] em,
html body .mv-page [data-ui=tabs] [data-ui-part=trigger][data-state=active] .badge,
html body .mv-page [data-ui=tabs] [data-ui-part=trigger][aria-selected=true] em,
html body .mv-page [data-ui=tabs] [data-ui-part=trigger][aria-selected=true] .badge,
html body .mv-page .mv-tab[aria-selected=true] em,
html body .mv-page .mv-tab[data-state=active] em,
html body .mv-page .mv-tab[aria-selected=true] .badge{
  background:var(--mv-acc);
  color:#fff!important;
}
html body .mv-page [data-ui=tabs] [data-ui-part=trigger] small,
html body .mv-page .mv-tab small{font-weight:500;font-size:11.5px;color:var(--mv-muted)}
html body .mv-page [data-ui=tabs] [data-ui-part=panel]{padding:0;border:0;background:transparent;box-shadow:none}

/* Breadcrumbs (Kit ol[data-ui-part=breadcrumb] + cluster). */
html body .mv-page .mv-crumb ol,
html body .mv-page [data-ui-part=breadcrumb]{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  list-style:none;
  margin:0;
  padding:0;
  font-size:12.5px;
  color:var(--mv-muted);
}
html body .mv-page [data-ui-part=breadcrumb] li{display:inline-flex;align-items:center}
html body .mv-page [data-ui-part=breadcrumb] li+li::before{content:"›";margin:0 8px;color:var(--mv-muted)}
html body .mv-page [data-ui-part=breadcrumb] a{color:var(--mv-acc);text-decoration:none}
html body .mv-page [data-ui-part=breadcrumb] a:hover{text-decoration:underline}
html body .mv-page [data-ui-part=breadcrumb] [aria-current]{color:var(--mv-ink)}

/* Callouts: flash, errors, empty, offline. */
html body .mv-page .callout.mv-flash,
html body .mv-page .callout[data-tone=good]{
  margin:0 0 14px;
  padding:11px 14px;
  border-radius:10px;
  background:#eef6ea;
  border:1px solid #cfe3c5;
  color:#2d5a1f;
  font-size:14px;
  box-shadow:none;
}
html body .mv-page .callout[data-tone=bad],
html body .mv-page .callout.mv-err{
  margin:0 0 14px;
  padding:11px 14px;
  border-radius:10px;
  background:#fbeeee;
  border:1px solid #efc9c9;
  color:#8a1f1f;
  font-size:14px;
  box-shadow:none;
}
html body .mv-page .callout[data-tone=warn],
html body .mv-page .callout.mv-offplay{
  /* .mv-offplay already has its own box; don't flatten it */
}
html body .mv-page .callout.mv-empty{
  padding:30px 12px;
  text-align:center;
  color:var(--mv-muted);
  border:1px dashed var(--mv-rule);
  border-radius:var(--mv-r);
  background:#fff;
  box-shadow:none;
}
html body .mv-page .callout.mv-empty[hidden]{display:none}

/* Grid: Kit .grid is auto-fill; movies still wins via .mv-grid/.mv-people when both are set.
   This covers a bare .grid and keeps --min in play. */
html body .mv-page .grid{gap:20px 16px}
html body .mv-page .grid.mv-people,
html body .mv-page .grid.mv-cast{gap:10px}

@media (max-width:560px){
  html body .mv-page .mv-search .btn,
  html body .mv-page .mv-search .mv-btn{width:100%}
  html body .mv-page [data-ui=tabs] [data-ui-part=list],
  html body .mv-page .mv-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
  html body .mv-page [data-ui=tabs] [data-ui-part=trigger],
  html body .mv-page .mv-tab{flex:none;padding:9px 12px 10px;font-size:13.5px}
  html body .mv-page [data-ui=tabs] [data-ui-part=trigger] small,
  html body .mv-page .mv-tab small{display:none}
}

/* Toolbar controls must stay compact 38px rows. Kit .field is a column flex, so a
   flex-basis meant as a width (260px / 170px) would become height if a control
   is wrapped in .field. Lock height and kill flex on the controls themselves. */
html body .mv-page .mv-bar input,
html body .mv-page .mv-bar select,
html body .mv-page .mv-tools input,
html body .mv-page .mv-bar .field,
html body .mv-page .mv-tools .field{
  flex:none;
}
html body .mv-page .mv-bar input,
html body .mv-page .mv-bar select{
  height:38px!important;
  max-height:38px!important;
  min-height:38px!important;
  min-block-size:38px!important;
  block-size:38px!important;
  align-self:center;
}
html body .mv-page .mv-tools input{
  height:36px!important;
  max-height:36px!important;
  min-height:36px!important;
  min-block-size:36px!important;
  block-size:36px!important;
  align-self:center;
}
html body .mv-page .mv-bar .field,
html body .mv-page .mv-tools .field{
  display:block;
  height:auto;
  max-height:none;
}


/* Catalog switch (Films | Actors | Directors | Writers | Composers). Kit-like
   segmented tabs, scoped to .mv-page. Real links, not data-ui=tabs. */
.mv-page .mv-switch{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 16px;padding:0 0 0 2px;border-bottom:2px solid #f0e6e6}
.mv-page .mv-switch-item{position:relative;display:inline-flex;align-items:baseline;gap:7px;padding:10px 16px 11px;margin-bottom:-2px;border:1px solid transparent;border-bottom:2px solid transparent;border-radius:10px 10px 0 0;text-decoration:none!important;color:#5a4d48!important;font-weight:700;font-size:14.5px}
.mv-page .mv-switch-item:hover{color:var(--mv-acc)!important;background:#fbf6f2}
.mv-page .mv-switch-item[data-state=active],
.mv-page .mv-switch-item[aria-current=page]{color:var(--mv-acc)!important;background:#fff;border-color:#f0e6e6;border-bottom-color:var(--mv-acc)}
.mv-page .mv-switch-item .badge,
.mv-page .mv-switch-item em{font-style:normal;font-weight:700;font-size:12px;padding:1px 8px;height:auto;border:0;border-radius:999px;background:#f3ebe6;color:#6b5a4d!important;box-shadow:none}
.mv-page .mv-switch-item[data-state=active] .badge,
.mv-page .mv-switch-item[aria-current=page] .badge,
.mv-page .mv-switch-item[data-state=active] em,
.mv-page .mv-switch-item[aria-current=page] em{background:var(--mv-acc);color:#fff!important}
@media (max-width:560px){
  .mv-page .mv-switch{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
  .mv-page .mv-switch-item{flex:none;padding:9px 12px 10px;font-size:13.5px}
}


/* No-poster Despani placeholder posters, drawn as SVG by despani-movies-posters.js (six designs, picked per film id).
   Fonts are local, loaded only here (movies pages), under movies-only family names so nothing else on the site changes. */
@font-face{font-family:MvFiraGO;src:url(movies-fonts/FiraGO-Light.woff2) format("woff2");font-weight:300 400;font-display:swap}
@font-face{font-family:MvFiraGO;src:url(movies-fonts/FiraGO-Bold.woff2) format("woff2");font-weight:500 700;font-display:swap}
@font-face{font-family:MvFiraGO;src:url(movies-fonts/FiraGO-Heavy.woff2) format("woff2");font-weight:800 900;font-display:swap}
@font-face{font-family:MvSerifGeo;src:url(movies-fonts/NotoSerifGeorgian.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:MvWordmark;src:url(../fonts/eurostile-geo-nus-bold.ttf) format("truetype");font-weight:700;font-display:swap}
.mv-page .mv-tp.mv-dp-on{padding:0;display:block;background:#efe4cf}
.mv-page .mv-tp.mv-dp-on:before{display:none}
.mv-page .mv-tp.mv-dp-on>svg{position:absolute;inset:0;width:100%;height:100%;display:block}


/* Admin-only duplicate picking on public lists. Hidden for everyone else (markup is not emitted). */
.mv-page .mv-pickwrap{position:relative;min-width:0;display:flex;flex-direction:column}
.mv-page .mv-pickwrap > .mv-card,
.mv-page .mv-pickwrap > .mv-pcard{flex:1}
.mv-page .mv-pick{position:absolute;top:8px;right:8px;z-index:4;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#fff;border:1px solid #e3d6d6;box-shadow:0 1px 3px rgba(0,0,0,.08);cursor:pointer}
.mv-page .mv-pick input{margin:0;width:14px;height:14px;accent-color:var(--mv-acc)}
.mv-page .mv-pickwrap:has(.mv-pick input:checked){outline:2px solid var(--mv-acc);outline-offset:2px;border-radius:12px}
.mv-page .mv-dupbar{position:sticky;bottom:12px;z-index:8;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0 0;padding:10px 12px;background:#fffaf6;border:1px solid #eadfdf;border-radius:12px;box-shadow:0 8px 24px rgba(80,20,0,.10)}
.mv-page .mv-dupbar[hidden]{display:none!important}
.mv-page .mv-dupbar-n{font-weight:700;color:#5a1010}
.mv-page .mv-dupbar input[type=text],
.mv-page .mv-dupbar select{height:36px;border:1px solid #eadfdf;border-radius:8px;padding:0 10px;background:#fff}
.mv-page .mv-dup-hits{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px}
.mv-page .mv-dup-hits button{display:block;width:100%;text-align:left;padding:8px 10px;border:1px solid #eadfdf;border-radius:8px;background:#fff;cursor:pointer}
.mv-page .mv-dup-hits button:hover{border-color:var(--mv-acc)}
