/* mac-picks.css - "Mac's picks" (script/mac-picks.js), 25 Oct 2026.
   .mp-strip  the poster strip inside a chat answer (any page); the chat's Wider button shows more at once
   .mp-shelf  the row at the top of For You's grid, with the slide lock (after "Yes, add them")
   .mp-ask    "Keep Mac's picks?" when the filters change on a locked row */

/* ---- In the chat ---- */
.mp-strip { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 8px; margin: 6px 0 2px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.mp-pick { position: relative; flex: 0 0 92px; width: 92px; text-decoration: none; color: inherit; }
.mp-pick img, .mp-nopic { display: block; width: 92px; height: 138px; object-fit: cover; border-radius: 6px; background: #2a2824; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.mp-pick:hover img { outline: 2px solid #ffbf00; }
.mp-name { display: block; font-size: 11.5px; line-height: 1.25; margin-top: 4px; max-height: 2.5em; overflow: hidden; }
.mp-name small { color: #8f897d; }
.mp-badge { position: absolute; top: 4px; left: 4px; right: 4px; font-size: 9.5px; line-height: 1.2; padding: 2px 4px; border-radius: 4px; background: rgba(0, 0, 0, .78); color: #ffbf00; text-align: center; }
.mp-badge.mp-free { background: rgba(31, 122, 63, .92); color: #fff; }
.mp-tmdb img { opacity: .85; }
.mp-offer { margin-top: 2px; }

/* Movie Night rows: whose five, and what they were picked from (25 Oct 2026) */
.mp-group { margin: 10px 0 0; font-size: 12px; font-weight: bold; letter-spacing: .04em; color: #ffbf00; }
.mp-line { display: block; font-size: 10.5px; line-height: 1.3; color: #9a9384; margin-top: 2px; }
.mp-line.mp-score { color: #e9e4da; font-weight: bold; }

/* Rank: Mac's order, best first */
.mp-rank { position: absolute; top: 112px; left: 4px; min-width: 20px; height: 20px; line-height: 20px; padding: 0 5px; border-radius: 10px; background: #ffbf00; color: #1a1a1a; font-size: 11px; font-weight: bold; text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); z-index: 2; }
.mp-slot { position: relative; flex: 0 0 auto; }
.mp-rank-card { bottom: auto; top: 6px; left: 6px; }

/* ---- On For You ---- */
#macShelfSlot[hidden] { display: none; }
.mp-shelf { position: relative; margin: 0 10px 18px; padding: 12px 12px 8px; border-radius: 14px; background: linear-gradient(135deg, #1b1a16, #23201a); border: 1px solid #3a3326; box-shadow: 0 6px 22px rgba(0, 0, 0, .35); color: #f3efe7; }
.mp-shelf.mp-locked { border-color: #ffbf00; }
.mp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.mp-mac { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #ffbf00; flex: 0 0 auto; }
.mp-title { font-size: 18px; font-weight: bold; flex: 1 1 200px; min-width: 0; }
.mp-close { background: none; border: none; color: #8f897d; font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.mp-close:hover { color: #fff; }
.mp-cards { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.mp-cards .browse-movie-card, .mp-slot { width: var(--fy-card-w, 225px); flex: 0 0 auto; }
.mp-slot .browse-movie-card { width: 100%; }
.mp-shelf .similar-row-wrapper { flex: 1 1 100%; width: 100%; min-width: 0; max-width: 100%; margin: 4px 0 8px; }
.mp-note { margin: 4px 2px 0; font-size: 12.5px; color: #8f897d; }
.mp-note b { color: #ffbf00; }
.mp-card-tmdb { background: #15140f; color: #e9e4da; }
.mp-card-tmdb .main-movie-info { color: #fff; padding: 6px 6px 0; }
.mp-card-note { font-size: 11.5px; color: #8f897d; padding: 2px 6px 8px; }
.mp-badge-card { background: rgba(0, 0, 0, .8); color: #ffbf00; }

/* The slide lock */
.mp-lock { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; font-size: 13px; color: #cfc9bd; }
.mp-lock-box { position: absolute; opacity: 0; width: 0; height: 0; }
.mp-slider { position: relative; width: 44px; height: 24px; border-radius: 12px; background: #4a4538; transition: background .2s; flex: 0 0 auto; }
.mp-slider::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.mp-lock-box:checked + .mp-slider { background: #ffbf00; }
.mp-lock-box:checked + .mp-slider::after { transform: translateX(20px); background: #1a1a1a; }
.mp-lock-box:focus-visible + .mp-slider { outline: 2px solid #fff; outline-offset: 2px; }
.mp-locked .mp-lock-text { color: #ffbf00; font-weight: bold; }

/* "Keep Mac's picks?" */
.mp-ask { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .55); padding: 16px; }
.mp-ask-card { background: #1c1a16; border: 1px solid #3a3326; border-radius: 14px; padding: 18px 20px; max-width: 360px; width: 100%; text-align: center; color: #f3efe7; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.mp-ask-card img { width: 40px; height: 40px; border-radius: 50%; }
.mp-ask-card p { margin: 10px 0 14px; font-size: 15px; line-height: 1.4; }
.mp-ask-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mp-btn { border: none; border-radius: 20px; padding: 9px 16px; font-size: 14px; cursor: pointer; background: #2f2a22; color: #fff; }
.mp-btn.mp-yes { background: #ffbf00; color: #1a1a1a; font-weight: bold; }

@media (max-width: 700px) {
    .mp-pick .mp-rank { top: 94px; }
    .mp-shelf { margin: 0 6px 14px; padding: 10px 8px 6px; }
    .mp-title { font-size: 16px; }
    .mp-mac { width: 40px; height: 40px; }
    .mp-pick, .mp-pick img, .mp-nopic { width: 80px; flex-basis: 80px; }
    .mp-pick img, .mp-nopic { height: 120px; }
}

/* Let Mac choose for you: Keep under each poster (25 Oct 2026) */
.mp-cell { flex: 0 0 92px; width: 92px; display: flex; flex-direction: column; gap: 4px; }
.mp-cell .mp-pick { flex: 0 0 auto; }
.mp-keep { border: 1px solid #ffbf00; background: transparent; color: #ffbf00; border-radius: 12px; font-size: 11.5px; padding: 3px 0; cursor: pointer; width: 100%; }
.mp-keep:hover { background: rgba(255, 191, 0, .12); }
.mp-keep.on { background: #ffbf00; color: #1a1a1a; font-weight: bold; }
@media (max-width: 700px) { .mp-cell { flex-basis: 80px; width: 80px; } }
.mp-cell .mp-keep { margin-top: auto; }
.mp-group { display: flex; align-items: center; gap: 8px; }
.mp-group .mn-av { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  background-color: #ffbf00; color: #1a1a1a; font-size: 13px; font-weight: bold; overflow: hidden; letter-spacing: 0; }
.mp-group .mn-av svg { width: 70%; height: 70%; }
