/* Both scores reserve their space before a network response arrives. */
.tile .metadata{flex-wrap:nowrap;gap:4px;font-size:11px;white-space:nowrap}
.tile .metadata>.card-score-pair{display:flex;flex:0 0 auto;align-items:center;gap:5px;min-height:18px;font-size:11px;line-height:18px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.card-score-pair>span{display:inline-flex;align-items:center;gap:3px;color:var(--muted)}
.card-score-pair img{display:block;object-fit:contain;flex-shrink:0}
.card-score-pair .score-value{display:inline-block;min-width:2.8ch}
.card-score-pair>.card-tmdb{color:var(--gold,#8b6b2f)}
[data-catalog-layout="list"] .tile>.metadata{flex-wrap:nowrap;gap:4px 8px}
.watch-again-filter{display:inline-flex;align-items:center;gap:7px;min-height:44px;width:fit-content;margin:8px 0 14px;padding:8px 14px;border:1px solid var(--edge);border-radius:999px;background:var(--surface);color:var(--muted);font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.watch-again-filter[aria-pressed="true"]{background:var(--chip-active);border-color:var(--thyme);color:var(--chip-selected-text)}
.watch-again-filter svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:1000px){.tile .metadata>.card-score-pair{font-size:12px}}
/* Prevent focus auto-zoom on touch devices, without disabling pinch zoom. */
@media(any-pointer:coarse){
 html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
 html body select,html body textarea,html body [contenteditable="true"]{font-size:16px!important}
 html,body{overscroll-behavior-y:none}
}
/* Keep both scores beside the year/type; scale with available card width. */
[data-catalog-layout="cards"] .tile{container-type:inline-size}
[data-catalog-layout="cards"] .tile .metadata{font-size:10.5px;font-size:clamp(9px,6.4cqi,12px);justify-content:space-between}
[data-catalog-layout="cards"] .tile .metadata>.card-score-pair{font-size:inherit;gap:3px}
[data-catalog-layout="cards"] .card-score-pair>span{gap:2px}
[data-catalog-layout="cards"] .card-score-pair .score-value{min-width:2.6ch}
[data-catalog-layout="cards"] .card-tmdb img{width:16px;height:12px}
[data-catalog-layout="cards"] [data-card-imdb] img{width:22px;height:12px}
@media(max-width:720px),(max-height:560px) and (orientation:landscape) and (pointer:coarse){
 .mobile-dock,.mobile-dock.viewport-anchored{position:fixed!important;top:auto!important;bottom:max(10px,env(safe-area-inset-bottom,0px))!important;will-change:auto}
}
@media(max-height:560px) and (orientation:landscape) and (pointer:coarse){
 .mobile-dock,.mobile-dock.viewport-anchored{bottom:max(5px,env(safe-area-inset-bottom,0px))!important}
}
