/* Eye News playlists (2026-11-18, pl1): profile tab cards + save sheet. Uses the theme tokens (--ek-*). */
.ekpl-page{display:block}
.ekpl-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.ekpl-head .ekc-h{margin:0!important}
.ekpl-new{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 18px;border:0;border-radius:999px;background:var(--ek-ac,#e11d48);color:#fff;font:inherit;font-weight:700;font-size:14.5px;cursor:pointer;box-shadow:0 6px 18px color-mix(in srgb,var(--ek-ac,#e11d48) 30%,transparent);transition:transform .15s,filter .15s}
.ekpl-new:hover{filter:brightness(1.07)}
.ekpl-new:active{transform:scale(.97)}
.ekpl-new svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.ekpl-new:focus-visible,.ekpl-more:focus-visible,.ekpl-row:focus-visible,.ekpl-btn:focus-visible,.ekpl-opt:focus-visible,.ekpl-newrow:focus-visible,.ekpl-thumb:focus-visible{outline:3px solid color-mix(in srgb,var(--ek-ac,#e11d48) 55%,transparent);outline-offset:2px}

.ekpl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
@media(min-width:640px){.ekpl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1100px){.ekpl-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px}}

.ekpl-card{position:relative;min-width:0}
.ekpl-card.is-new{animation:ekplin .35s cubic-bezier(.2,.7,.2,1)}
@keyframes ekplin{from{opacity:0;transform:translateY(8px) scale(.98)}}
.ekpl-thumb{position:relative;display:block;aspect-ratio:16/9;margin-top:8px;border-radius:14px;background:var(--ek-rs,#eef0f4);text-decoration:none!important;isolation:isolate}
.ekpl-stack{position:absolute;left:8%;right:8%;top:-8px;height:12px;border-radius:12px 12px 0 0;background:color-mix(in srgb,var(--ek-mu,#667085) 35%,transparent);z-index:-1}
.ekpl-stack:before{content:"";position:absolute;left:6%;right:6%;top:-6px;height:8px;border-radius:10px 10px 0 0;background:color-mix(in srgb,var(--ek-mu,#667085) 18%,transparent)}
.ekpl-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:14px}
.ekpl-ph{position:absolute;inset:0;display:grid;place-items:center;border-radius:14px;border:2px dashed var(--ek-ln,#d0d5dd);color:var(--ek-mu,#667085);background:var(--ek-rs,#f2f4f7)}
.ekpl-ph svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ekpl-badge{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:8px;background:rgba(10,14,24,.78);color:#fff;font-size:12.5px;font-weight:600;backdrop-filter:blur(4px)}
.ekpl-badge svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ekpl-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:14px;background:rgba(6,10,20,.55);color:#fff;font-weight:700;font-size:14px;opacity:0;transition:opacity .18s}
.ekpl-play svg{width:22px;height:22px;fill:currentColor}
.ekpl-thumb:hover .ekpl-play,.ekpl-thumb:focus-visible .ekpl-play{opacity:1}
.ekpl-meta{padding:10px 36px 0 2px;min-width:0}
.ekpl-meta h3{margin:0;font-size:15px;line-height:1.35;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.ekpl-meta h3 a{color:var(--ek-tx,#101828)!important;text-decoration:none!important}
.ekpl-pr{display:inline-flex;align-items:center;gap:5px;margin-top:4px;font-size:12.5px;color:var(--ek-mu,#667085)}
.ekpl-pr svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ekpl-more{position:absolute;right:-4px;bottom:6px;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:999px;background:transparent;color:var(--ek-tx,#101828);cursor:pointer}
.ekpl-more:hover{background:var(--ek-rs,#f2f4f7)}
.ekpl-more svg{width:20px;height:20px;fill:currentColor}
.ekpl-card.is-wl .ekpl-thumb{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--ek-ac,#e11d48) 40%,transparent)}

.ekpl-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:44px 20px;border:1px dashed var(--ek-ln,#d0d5dd);border-radius:20px;background:var(--ek-sf,#fff)}
.ekpl-empty-ic{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:color-mix(in srgb,var(--ek-ac,#e11d48) 13%,transparent);color:var(--ek-ac,#e11d48)}
.ekpl-empty-ic svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ekpl-empty strong{font-size:18px;color:var(--ek-tx,#101828)}
.ekpl-empty p{max-width:420px;margin:0 0 6px;color:var(--ek-mu,#667085);font-size:14.5px;line-height:1.6}

/* sheet: bottom sheet on phones (ek-pro.css), centred dialog on bigger screens */
.ekpl-sheet .ek-sheet-box{max-width:100%}
.ekpl-sheet .ek-sheet-hd strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:10px}
@media(min-width:768px){
  .ekpl-sheet .ek-sheet-box{left:50%;right:auto;top:50%;bottom:auto;width:440px;max-height:80vh;border-radius:20px;border:1px solid var(--ek-ln);transform:translate(-50%,-50%);animation:ekpldlg .2s cubic-bezier(.2,.7,.2,1)}
}
@keyframes ekpldlg{from{opacity:0;transform:translate(-50%,-46%)}}
.ekpl-body{padding-bottom:4px}
.ekpl-load{padding:24px 4px;color:var(--ek-mu);text-align:center}
.ekpl-load.is-bad{color:#d92d20}
.ekpl-rows{display:flex;flex-direction:column}
.ekpl-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:8px 4px;border:0;border-top:1px solid var(--ek-ln);background:none;color:var(--ek-tx);font:inherit;text-align:left;cursor:pointer}
.ekpl-row:hover{background:color-mix(in srgb,var(--ek-rs) 60%,transparent)}
.ekpl-row[disabled]{cursor:progress}
.ekpl-row.is-new{animation:ekplin .3s}
.ekpl-ric{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--ek-rs);color:var(--ek-mu)}
.ekpl-ric svg,.ekpl-opt>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ekpl-rtx{flex:1;display:flex;flex-direction:column;min-width:0}
.ekpl-rtx strong{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ekpl-rtx small{font-size:12.5px;color:var(--ek-mu)}
.ekpl-box{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;border:2px solid var(--ek-ln);color:#fff;transition:background .15s,border-color .15s}
.ekpl-box svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:scale(.6);transition:.15s}
.ekpl-row[aria-checked="true"] .ekpl-box{background:var(--ek-ac);border-color:var(--ek-ac)}
.ekpl-row[aria-checked="true"] .ekpl-box svg{opacity:1;transform:none}
.ekpl-row[aria-checked="true"] .ekpl-ric{background:color-mix(in srgb,var(--ek-ac) 15%,transparent);color:var(--ek-ac)}
.ekpl-newrow{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin-top:2px;padding:8px 4px;border:0;border-top:1px solid var(--ek-ln);background:none;color:var(--ek-ac);font:inherit;font-weight:700;cursor:pointer}
.ekpl-newrow svg{width:40px;height:40px;padding:10px;border-radius:12px;background:color-mix(in srgb,var(--ek-ac) 13%,transparent);fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.ekpl-newrow[hidden]{display:none}

.ekpl-form{display:flex;flex-direction:column;gap:8px;padding:14px 2px 4px;border-top:1px solid var(--ek-ln)}
.ekpl-lrow{display:flex;justify-content:space-between;align-items:baseline}
.ekpl-lab{font-size:13.5px;font-weight:700;color:var(--ek-tx);margin:0}
.ekpl-cnt{font-size:12px;color:var(--ek-mu)}
.ekpl-inp{width:100%;min-height:48px;padding:0 14px;border:1.5px solid var(--ek-ln);border-radius:12px;background:var(--ek-bg,transparent);color:var(--ek-tx);font:inherit;font-size:16px}
.ekpl-inp:focus{outline:0;border-color:var(--ek-ac);box-shadow:0 0 0 3px color-mix(in srgb,var(--ek-ac) 20%,transparent)}
.ekpl-err{display:none;margin:0;color:#d92d20;font-size:13px}
.ekpl-form.is-err .ekpl-inp{border-color:#d92d20}
.ekpl-form.is-err .ekpl-err{display:block}
.ekpl-seg{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}
.ekpl-opt{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1.5px solid var(--ek-ln);border-radius:12px;background:none;color:var(--ek-tx);font:inherit;text-align:left;cursor:pointer}
.ekpl-opt span{display:flex;flex-direction:column;min-width:0}
.ekpl-opt strong{font-size:14px}
.ekpl-opt small{font-size:11.5px;color:var(--ek-mu);line-height:1.3}
.ekpl-opt.on{border-color:var(--ek-ac);background:color-mix(in srgb,var(--ek-ac) 8%,transparent)}
.ekpl-opt.on>svg{color:var(--ek-ac)}
.ekpl-act{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}
.ekpl-btn{min-height:44px;padding:0 20px;border:0;border-radius:999px;background:var(--ek-ac);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.ekpl-btn.ghost{background:var(--ek-rs);color:var(--ek-tx)}
.ekpl-btn.danger{background:#d92d20}
.ekpl-btn[disabled]{opacity:.6;cursor:progress}
.ekpl-mi{width:100%;border:0;border-top:1px solid var(--ek-ln);background:none;font:inherit;text-align:left;cursor:pointer}
.ekpl-mi.is-bad i{background:rgba(217,45,32,.12);color:#d92d20}
.ekpl-mi.is-bad strong{color:#d92d20}
.ekpl-mi svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ekpl-confirm{padding:10px 2px 4px}
.ekpl-confirm strong{font-size:17px}
.ekpl-confirm p{margin:6px 0 0;color:var(--ek-mu)}

.ekpl-toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));z-index:10080;max-width:min(92vw,460px);padding:12px 18px;border-radius:14px;background:#101828;color:#fff;font-size:14.5px;line-height:1.45;box-shadow:0 10px 30px rgba(0,0,0,.3);transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:.22s}
.ekpl-toast.on{opacity:1;transform:translate(-50%,0)}
.ekpl-toast.is-bad{background:#b42318}
html.ek-sheet-open .ekpl-toast{bottom:auto;top:calc(14px + env(safe-area-inset-top));transform:translate(-50%,-20px)}
html.ek-sheet-open .ekpl-toast.on{transform:translate(-50%,0)}
@media(min-width:992px){.ekpl-toast{bottom:28px}}
@media(prefers-reduced-motion:reduce){.ekpl-card.is-new,.ekpl-row.is-new,.ekpl-sheet .ek-sheet-box{animation:none}.ekpl-toast{transition:none}}
