/* ===========================================================
   fp-lists.css: the account's own lists (round frontend/3d1, 2026-11-14)
   The design's megnezendo-lista-m (mnl), aktivitasom-m (akt), the profil-m follows tab and recent list,
   and the shared rows of user-m.css that the earlier rounds did not ship (umList, umRow, umDay, umEmpty,
   umMore, umGrid as .lsGrid), scoped under main.ls so nothing slides onto the profile's own rules.
   Mobile first, min-width queries only (600 / 861 / 1101). A state is never the colour alone: a word,
   a tick or a pressed mark leads, the colour follows (the owner is colour-deficient).
   =========================================================== */

/* ---------- the page ---------- */
main.ls{padding:12px 0 28px}
.ls h3{margin:0}
.ls p{margin:0}

/* ---------- the stat strip (user-m.css .umStats, the light one; fp-account.css's is the blue panel's) ---------- */
.lsStats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--fp-divider);border:1px solid var(--fp-divider);margin-bottom:14px}
.lsStats>*{background:var(--fp-bg-surface);padding:12px 10px;min-height:64px;display:flex;flex-direction:column;justify-content:center;gap:4px}
.lsStats b{font-size:24px;line-height:26px;font-weight:700;color:var(--fp-link);font-variant-numeric:tabular-nums}
.lsStats span{font-size:12px;line-height:15px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--fp-fg-muted)}

/* ---------- shared rows ---------- */
.ls .umChips{margin-bottom:12px}
.ls .umPill{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;padding:0 6px;line-height:18px;background:var(--fp-tag-bg);color:var(--fp-tag-fg);white-space:nowrap}
.ls .umPill svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:3}
.ls .umPill.ok{background:#e3f3ea;color:#16703d}.ls .umPill.warn{background:#fff3cc;color:#7a5b00}
[data-theme="dark"] .ls .umPill.ok{background:#173824;color:#7ed6a0}[data-theme="dark"] .ls .umPill.warn{background:#3d3210;color:#f6c700}
.ls .umAct{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;background:var(--fp-bg-input);border:1px solid var(--fp-divider);color:var(--fp-link)!important;font:inherit;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap;cursor:pointer;text-decoration:none}
.ls .umAct svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.2}
.ls .umAct.red{color:var(--fp-red-text)!important}
/* a pressed toggle: filled AND its word changes ("Megnézve", "Emlékeztető beállítva") */
.ls .umAct[aria-pressed="true"]{background:var(--fp-ctl);border-color:var(--fp-ctl);color:#fff!important}
.ls .rA form{display:flex;margin:0}
.umList{display:flex;flex-direction:column}
.umRow{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:start;padding:12px 0;border-bottom:1px solid var(--fp-divider)}
.umRow:last-child{border-bottom:0}
.umRow .rAv{width:40px;height:40px;border-radius:999px;background:var(--fp-light-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;overflow:hidden}
.umRow .rAv.g{background:var(--fp-green,#1f9d55)}.umRow .rAv.r{background:var(--fp-red)}
.umRow .rAv svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.umRow .rI{min-width:0}
.umRow .rT{font-size:15px;line-height:20px;color:var(--fp-fg);text-wrap:pretty}
.umRow .rM{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:6px;font-size:12px;line-height:16px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;color:var(--fp-fg-muted)}
.umRow .rA{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.umDay{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;color:var(--fp-fg-muted);padding:14px 0 4px;border-bottom:2px solid var(--fp-link)}
.umDay:first-child{padding-top:0}
.umMore{display:flex;justify-content:center;margin-top:14px}
.umEmpty{padding:28px 12px;text-align:center;color:var(--fp-fg-muted);font-size:14px;line-height:20px}
.lsGrid{display:flex;flex-direction:column;gap:14px}

/* ---------- the watchlist (mnl) ---------- */
.mnlBar{display:flex;flex-direction:column;gap:10px;margin-bottom:6px}
.mnlBar .umChips{margin-bottom:0}
.mnlSearch{margin:0}
.mnlSearch .umCtl{display:flex;align-items:stretch;background:var(--fp-bg-input);border:2px solid var(--fp-low-gray)}
.mnlSearch .umCtl:focus-within{border-color:var(--fp-link)}
.mnlSearch .lead{display:flex;align-items:center;justify-content:center;width:40px;flex:none;color:var(--fp-fg-muted)}
.mnlSearch .lead svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.mnlSearch input{flex:1;min-width:0;height:44px;padding:0 12px 0 0;border:0;outline:0;background:transparent;color:var(--fp-fg);font:inherit;font-size:16px}
.mnlList{display:grid;gap:8px;margin-top:10px}
.mnlRow{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px;background:var(--fp-card-bg,var(--fp-bg-input));border:1px solid var(--fp-card-bd,var(--fp-divider));border-left:4px solid transparent}
.mnlRow[hidden]{display:none}
/* the poster box: the film's picture through PublicImage, or the design's icon */
.mnlPs{width:64px;aspect-ratio:2/3;background:linear-gradient(160deg,#0b1530,#2a3f6e);color:rgba(255,255,255,.75);display:flex;align-items:center;justify-content:center;overflow:hidden}
.mnlPs img{width:100%;height:100%;object-fit:cover;display:block}
.mnlPs svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8}
.mnlI .rM{display:flex;flex-wrap:wrap;gap:4px 6px}
.mnlRow h3{font-size:17px;line-height:21px;font-weight:700;margin:4px 0 2px;text-wrap:pretty;color:var(--fp-fg)}
.mnlMeta{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:12px;line-height:16px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;color:var(--fp-fg-muted)}
.mnlAdd{margin-top:6px;font-size:12px;line-height:16px;font-weight:600;color:var(--fp-fg-muted)}
.mnlRow .rA{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:6px}
.mnlRow .rA form{flex:1 1 auto}
.mnlRow .umAct{flex:1 1 auto;justify-content:center}
/* watched: the tick and the word "Megnézve" lead; the green bar only follows */
.mnlRow.done{border-left-color:var(--fp-green,#1f9d55)}

/* ---------- the activity (akt) ---------- */
.aktChip svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}
.aktDayW{font-weight:700;color:var(--fp-fg)}
.aktRow .rT b{font-weight:700}
.aktBig{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.aktBig b{font-size:32px;line-height:34px;font-weight:700;color:var(--fp-link);font-variant-numeric:tabular-nums}
.aktBig span{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--fp-fg-muted)}
.aktDelta{display:inline-flex;align-items:center;gap:4px;margin-top:4px;font-size:13px;font-weight:600;color:var(--fp-fg)}
.aktDelta svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.4}
/* the week: one row per day, a bar to compare and the number to read; today carries the word "Ma" */
.aktWeek{display:grid;gap:4px;margin:12px 0 0;padding:0;list-style:none}
.aktWeek li{display:grid;grid-template-columns:40px minmax(0,1fr) 28px;gap:8px;align-items:center;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--fp-fg-muted)}
.aktWeek i{display:block;height:12px;background:var(--fp-light-blue);min-width:2px}
.aktWeek .n{text-align:right;color:var(--fp-fg);font-variant-numeric:tabular-nums}
.aktWeek li.now{color:var(--fp-fg)}
.aktWeek li.now i{background:var(--fp-ctl)}
.aktTop{margin:0;padding:0;list-style:none}
.aktTop li{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--fp-divider);font-size:14px}
.aktTop li:last-child{border-bottom:0}
.aktTop b{color:var(--fp-link);font-variant-numeric:tabular-nums}
.aktAch{margin:0;padding:0;list-style:none}
.aktAch li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center;padding:8px 0}
.aktAch .ai{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:var(--fp-yellow);color:#000}
.aktAch .ai svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.aktAch b{display:block;font-size:14px;line-height:18px}
.aktAch span{display:block;font-size:13px;line-height:17px;color:var(--fp-fg-muted)}
.aktSide{display:flex;flex-direction:column;gap:14px}

/* ---------- the profile: the follows tab and the card's recent list ---------- */
.flChips{margin-bottom:8px}
.flList .pmRow[hidden]{display:none}
.flList .rAv img{width:40px;height:40px;object-fit:cover;display:block}
.pmRecent{border-top:1px solid var(--fp-divider)}
.pmRecent a{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:52px;padding:8px 16px;color:inherit;text-decoration:none;border-bottom:1px solid var(--fp-divider)}
.pmRecent a:last-child{border-bottom:0}
.pmRecent a:hover b{text-decoration:underline}
.pmRecent .ic{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--fp-ctl);color:#fff}
.pmRecent .ic.g{background:var(--fp-green,#1f9d55)}.pmRecent .ic.r{background:var(--fp-red)}
.pmRecent .ic svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}
.pmRecent b{display:block;font-size:13px;line-height:17px;font-weight:700}
.pmRecent small{display:block;font-size:12px;line-height:16px;color:var(--fp-fg-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pmRecent .t{font-size:12px;color:var(--fp-fg-muted);white-space:nowrap}

/* ---------- the content pages' buttons (_watch.php, _follow.php) ---------- */
.fpWatch,.fpFollow{display:inline-flex;margin:0}
.lsBtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 12px;background:var(--fp-bg-input);border:1px solid var(--fp-divider);color:var(--fp-link);font:inherit;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;border-radius:3px;white-space:nowrap;cursor:pointer}
.lsBtn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.2}
.lsBtn.pri{background:var(--fp-ctl);border-color:var(--fp-ctl);color:#fff}
/* on: the mark is filled AND a tick stands before the word, never the colour alone */
.lsBtn[aria-pressed="true"] svg{fill:currentColor}
.lsBtn[aria-pressed="true"]::before{content:"";width:9px;height:5px;border-left:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(-45deg) translateY(-2px)}
.lsBtn:disabled{opacity:.6;cursor:default}

@media (min-width:600px){
 .lsStats{grid-template-columns:repeat(4,minmax(0,1fr))}
 .umRow{grid-template-columns:40px minmax(0,1fr) auto}
 .umRow .rA{grid-column:2 / -1}
 .mnlBar{flex-direction:row;align-items:center}
 .mnlSearch{flex:1 1 260px}
 .mnlRow{grid-template-columns:80px minmax(0,1fr)}
 .mnlPs{width:80px}
 .mnlRow .rA{grid-column:2;justify-content:flex-end}
 .mnlRow .rA form,.mnlRow .umAct{flex:0 0 auto}
}
@media (min-width:861px){
 main.ls{padding:20px 0 40px}
 .lsGrid,.aktSide{gap:18px}
 /* ONE fixed width for the buttons' column (the owner's smoke, 2026-11-14): with `auto` each row sized it
    to its own longest label ("Emlékeztető beállítva"), so the rows' buttons did not line up */
 .mnlRow{grid-template-columns:80px minmax(0,1fr) 220px;align-items:center}
 /* the buttons stand at the right edge, each as wide as its words (the owner's smoke, 2026-11-14) */
 .mnlRow .rA{grid-column:3;flex-direction:column;align-items:flex-end;min-width:0}
 .mnlRow .rA form,.mnlRow .umAct{flex:0 0 auto}
}
@media (min-width:1101px){
 .lsGrid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
 .aktSide{position:sticky;top:14px}
}
