/* My Activity v2 — own stylesheet. Copies the old demo's look; colours from David's list. */
.ma{min-height:100%;background:#F7F5F0;color:#1A1A1A;font-family:"DM Sans",system-ui,sans-serif;padding-bottom:32px}
.ma button{font-family:inherit}
.ma-top{position:sticky;top:0;z-index:20;background:#F7F5F0;border-bottom:1px solid rgba(0,0,0,.1);padding:16px 16px 0}
.ma-tr{max-width:896px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px}
.ma-tr1{justify-content:flex-start;padding-bottom:12px}
.ma-h1{margin:0;font:700 20px/28px "DM Serif Display",Georgia,serif;color:#1A1A1A}
.ma-bk{flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:50%;background:rgba(0,0,0,.06);color:#1A1A1A;cursor:pointer}
.ma-bk svg{width:20px;height:20px}
.ma-bk.ma-bk0{width:32px;height:32px}
.ma-bk.ma-bk0 svg{width:16px;height:16px;stroke-width:2.5}
.ma-tt{flex:1;min-width:0;text-align:center;font-size:12px;font-weight:600;color:#5A5040;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ma-clear{flex:none;padding:6px 12px;border:1px solid rgba(0,0,0,.1);border-radius:999px;background:none;font-size:12px;color:#5A5040;cursor:pointer}
.ma-clear-sp{flex:none;width:36px}
.ma-tabs{max-width:896px;margin:0 auto;display:flex;align-items:stretch;justify-content:space-between;gap:clamp(8px,2.6vw,22px);overflow-x:hidden;scrollbar-width:none;border-bottom:1px solid rgba(0,0,0,.07)}
.ma-tabs::-webkit-scrollbar{display:none}
.ma-tab{flex:0 0 auto;display:inline-flex;align-items:center;padding:7px 4px 8px;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;background:none;font-size:12.5px;font-weight:600;line-height:1.1;color:#5A5040;white-space:nowrap;cursor:pointer}
.ma-tab.on{color:#1F6B6B;border-bottom-color:#1F6B6B}
.ma-tabic{padding:5px 3px 6px 2px}
.ma-tabic svg{width:16px;height:16px}
.ma-bd{max-width:896px;margin:0 auto;padding:16px 16px 0}
.ma-lib{margin:0 2px;font:700 14px/20px "DM Serif Display",Georgia,serif;color:#1A1A1A}
.ma-libp{margin:2px 2px 14px;font-size:11px;color:#5A5040}
.ma-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ma-tile{--cc:#1F6B6B;--tc:#1F6B6B;display:block;min-height:0;height:125px;box-sizing:border-box;padding:16px;border:1px solid color-mix(in srgb,var(--cc) 22%,transparent);border-radius:18px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.06);text-align:left;color:inherit;cursor:pointer}
.ma-tile:active{transform:scale(.985)}
.ma-tl{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ma-tic{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;color:var(--cc);background:color-mix(in srgb,var(--cc) 12%,transparent)}
.ma-tic svg{display:block;width:20px;height:20px;stroke-width:1.6}
.ma-tch{flex:none;width:16px;height:16px;margin-top:4px;color:#5A5040;stroke-width:2}
.ma-tn{display:block;margin-top:16px;font-size:14.5px;font-weight:700;line-height:18px;letter-spacing:.1px;color:#1A1A1A}
.ma-tc{display:block;margin-top:3px;font-size:11.5px;line-height:16px;color:var(--tc)}
.ma-shd{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:0 2px}
.ma-h2{margin:0;font:700 16px/24px "DM Serif Display",Georgia,serif;color:#1A1A1A}
.ma-cnt{margin:2px 0 0;font-size:11px;color:#5A5040}
.ma-search{display:flex;align-items:center;gap:8px;height:40px;margin:0 0 14px;padding:0 12px;border:1px solid rgba(0,0,0,.09);border-radius:12px;background:#fff;color:#8A7E6E}
.ma-search svg{flex:none;width:16px;height:16px}
.ma-search input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:15px;color:#1A1A1A}
.ma-day{margin:14px 0 8px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#5A5040}
.ma-rows{display:flex;flex-direction:column;gap:10px}
.ma-rows > .ma-day:first-child{margin-top:0}
.ma-row{--fc:#1F6B6B;display:flex;align-items:flex-start;gap:12px;min-height:92px;padding:12px 12px 12px 16px;border:1.5px solid rgba(0,0,0,.08);border-radius:16px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.ma-row.now{border-color:color-mix(in srgb,var(--fc) 45%,transparent)}
.ma-rl{flex:none;width:56px;display:flex;flex-direction:column;align-items:center;gap:4px}
.ma-badge{--fc:#1F6B6B;position:relative;display:block;width:56px;height:56px;border-radius:50%;border:2px solid var(--fc);background:#fff;box-shadow:0 0 0 2px color-mix(in srgb,var(--fc) 14%,transparent),0 2px 5px rgba(0,0,0,.1);overflow:hidden;box-sizing:border-box}
.ma-badge img{display:block;width:100%;height:100%;object-fit:contain}
.ma-badge span{position:absolute;left:10%;right:10%;bottom:9%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:2px 1px;border-radius:999px;border:1px solid rgba(227,155,40,.62);background:rgba(255,255,255,.94);box-shadow:0 1px 3px rgba(0,0,0,.1);font-size:6px;font-weight:800;line-height:1;text-align:center;color:#075B70}
.ma-badge.sm{width:48px;height:48px}
.ma-pc{font-size:11px;font-weight:700;line-height:1}
.ma-green{color:#5A5040}
.ma-pb{display:block;width:44px;height:3px;border-radius:2px;background:rgba(0,0,0,.08);overflow:hidden}
.ma-pb i{display:block;height:100%}
.ma-pb .ma-gbar{background:#22C55E}
.ma-pl4{display:flex;flex-direction:column;gap:4px;width:100%;margin-top:auto}
.ma-pt{display:block;width:100%;height:4px;border-radius:999px;background:rgba(0,0,0,.1);overflow:hidden}
.ma-pt i{display:block;height:100%;border-radius:999px}
.ma-pt .ma-gbar{background:#22C55E}
.ma-pll{display:flex;justify-content:space-between;gap:8px;font-size:10px;line-height:1.2;color:#5A5040}
.ma-pll b{font-weight:400}
.ma-pll > span{font-weight:500}
.ma-rm{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;padding:0;border:0;background:none;color:inherit;text-align:right;cursor:pointer}
.ma-rt{margin:0;width:100%;font:600 13px/1.4 "Noto Sans Hebrew","Arial Hebrew",sans-serif;color:#1A1A1A;text-align:right;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ma-meta{display:flex;align-items:center;justify-content:flex-start;gap:8px;white-space:nowrap}
.ma-fp{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border:1px solid color-mix(in srgb,var(--fc) 45%,transparent);border-radius:999px;background:color-mix(in srgb,var(--fc) 12.5%,transparent);font-size:9px;font-weight:700;color:var(--fc)}
.ma-dur{font-size:10px;color:#5A5040}
.ma-rr{flex:none;display:flex;flex-direction:column;align-items:center;gap:8px}
.ma-rx{display:flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.05);color:#8A7E6E;cursor:pointer}
.ma-rx svg{width:12px;height:12px;stroke-width:2.2}
.ma-rp{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--fc);color:#fff;cursor:pointer}
.ma-rp svg{width:16px;height:16px}
.ma-fr{position:relative}
.ma-real{--x113h:116px}
/* Real-app layout: one meta line (feed pill + duration + date), progress bar
   below it - the shared row's x51 variant otherwise prints a second meta line
   that the bar would cross. */
.ma .ma-fr.ma-real .x51-bl{display:none !important}
.ma .ma-fr.ma-real .x51-hide,.ma .ma-fr.ma-real .x10-nd,.ma .ma-fr.ma-real .x123-h{display:inline !important}
/* v30: In Progress / Completed rows lower (David); content lifted so the progress line fits under it, still centred */

.ma-fr > .ma-rx{position:absolute;top:8px;right:10px;z-index:2}
.ma-real .dm-pct,.ma-real .x54-b,.ma-real .x54-i,.ma-real .x112-b,.ma-real .hv-tl{display:none}
.ma-real > .ma-pl4{position:absolute;left:84px;right:64px;bottom:7px;z-index:1;width:auto;pointer-events:none}
.ma-kr{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1.5px solid rgba(0,0,0,.08);border-radius:16px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.ma-kc{flex:none;width:44px;height:62px;padding:0;border:0;border-radius:6px;overflow:hidden;background:#F3EEE4;cursor:pointer}
.ma-kc img{display:block;width:100%;height:100%;object-fit:cover}
.ma-kt{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:6px;padding:0;border:0;background:none;text-align:right;cursor:pointer}
.ma-kt p{margin:0;width:100%;font:600 13px/1.4 "Noto Sans Hebrew","Arial Hebrew",sans-serif;color:#1A1A1A}

.ma-sw{display:flex;align-items:center;gap:8px;margin:16px 2px 0;font-size:13px;color:#5A5040}
.ma-ns{--nc:#496A9C;--fc:#496A9C;margin-bottom:12px;padding:12px 14px;border:1px solid rgba(0,0,0,.09);border-radius:16px;background:#fff}
.ma-nsh{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.07)}
.ma-nst{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.ma-nst p{margin:0;max-width:100%;font-size:13.5px;font-weight:600;color:#1A1A1A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ma-ncount{flex:none;padding:3px 8px;border-radius:999px;background:color-mix(in srgb,var(--nc) 12%,transparent);font-size:10px;font-weight:700;color:var(--nc)}
.ma-nr{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.07)}
.ma-nr:last-child{border-bottom:0;padding-bottom:0}
.ma-np{flex:none;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:color-mix(in srgb,var(--nc) 12%,transparent);color:var(--nc);cursor:pointer}
.ma-np svg{width:14px;height:14px}
.ma-nt{flex:none;padding:3px 9px;border:0;border-radius:999px;background:var(--nc);font-size:11px;font-weight:700;color:#fff;cursor:pointer}
.ma-ntx{flex:1;min-width:0;margin:0;font-size:13px;line-height:1.4;color:#413A31;white-space:pre-wrap;overflow-wrap:anywhere}
.ma-ntx.muted{color:#A79C8C;font-style:italic}
.ma-na{flex:none;display:flex;gap:8px}
.ma-ed{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.05);color:var(--nc);cursor:pointer}
.ma-ed svg,.ma-dl svg{width:15px;height:15px;stroke-width:2}
.ma-dl{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.05);color:#B4533C;cursor:pointer}
.ma-clips{display:flex;flex-direction:column;gap:8px}
.ma-clip{position:relative;padding:16px;border:1px solid rgba(0,0,0,.09);border-radius:16px;background:#fff}
.ma-ct{display:flex;align-items:flex-start;gap:12px}
.ma-cm{flex:1;min-width:0}
.ma-ren{position:absolute;top:10px;right:10px;z-index:2;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:none;color:#8A7E6E;cursor:pointer;transition:transform .12s}
.ma-ren:active{transform:scale(.9)}
.ma-cn{margin:0;padding-right:30px;font-size:14px;font-weight:600;line-height:1.35;color:#1A1A1A;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ma-cf{margin:2px 0 0;font-size:11px;color:#5A5040;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ma-cmeta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}
.ma-cr{padding:2px 8px;border-radius:999px;background:rgba(31,107,107,.094);font-size:10px;font-weight:700;color:#1F6B6B}
.ma-cl{font-size:10px;color:#5A5040}
.ma-cb{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.ma-cb button{padding:8px 0;border:0;border-radius:16px;font-size:11px;cursor:pointer;transition:transform .12s}
.ma-cb button:active{transform:scale(.95)}
.ma-cplay{background:#1F6B6B;color:#fff;font-weight:700}
.ma-csh{background:rgba(0,0,0,.06);color:#5A5040;font-weight:600}
.ma-cdel{background:rgba(239,68,68,.08);color:#B91C1C;font-weight:600}
.ma-cdisc{border:none;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.ma-cvid{position:relative;display:block;width:48px;height:48px;flex-shrink:0;padding:0;border:0;border-radius:12px;background:#101828;overflow:hidden;cursor:pointer}
.ma-cvid video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ma-cvid svg{position:absolute;inset:0;margin:auto;width:14px;height:14px;padding:4px;box-sizing:content-box;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55))}
.ma-newpl{flex:none;padding:8px 14px;border:0;border-radius:999px;background:#1F6B6B;font-size:12px;font-weight:700;color:#fff;cursor:pointer}
/* Playlist rows: copied from the demo app's Playlists screen (David 7:08). */
.ma-pls{display:flex;flex-direction:column;gap:8px}
.ma-pl{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:1px solid rgba(0,0,0,.1);border-radius:16px;background:#fff;color:inherit;text-align:left;cursor:pointer;transition:transform .1s}
.ma-pl:active{transform:scale(.99)}
.ma-pldisc{position:relative;flex:none;width:56px;height:56px;box-sizing:border-box;border-radius:999px;background:rgba(255,255,255,.95);border:2px solid #7E1F3A;box-shadow:0 0 0 2px rgba(126,31,58,.14),0 2px 5px rgba(0,0,0,.1);padding:3.11px}
.ma-pldisc img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;user-select:none}
.ma-pldisc-l{position:absolute;left:5.19px;right:5.19px;bottom:4.67px;box-sizing:border-box;border-radius:999px;padding:1.56px 3.11px;text-align:center;font-family:"DM Sans",sans-serif;font-weight:800;font-size:5.44px;line-height:1;letter-spacing:-.41px;color:#075B70;background:rgba(255,255,255,.94);border:1px solid rgba(227,155,40,.62);box-shadow:0 1px 3px rgba(0,0,0,.1);white-space:nowrap;overflow:visible}
.ma-plt{flex:1;min-width:0;display:flex;flex-direction:column}
.ma-plt b{font-size:14px;font-weight:700;color:#1A1A1A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ma-plt small{margin-top:4px;font-size:11px;color:#5A5040}
.ma-plch{flex:none;width:16px;height:16px;color:#5A5040;stroke-width:2}
/* inline search box on top of My clips (Kuntres pattern, David 2026-11-15) */
.ma-sb{padding:2px 0 10px}
.ma-in{position:relative;display:block}
.ma-in svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#8A7E6E;pointer-events:none}
.ma-in input{width:100%;box-sizing:border-box;padding:10px 16px 10px 36px;border-radius:12px;font-size:14px;outline:0;background:rgba(0,0,0,.04);color:#1A1A1A;border:1px solid rgba(0,0,0,.08)}
html.dark .ma .ma-in svg{color:#B5BCA9}
html.dark .ma .ma-in input{background:#253050;color:#E9EBDF;border-color:rgba(255,255,255,.12)}
html.dark .ma .ma-pl{background:rgba(255,255,255,.045) !important;border-color:rgba(255,255,255,.08) !important}
html.dark .ma .ma-plch{color:#B5BCA9}
html.dark .ma .ma-pt{background:rgba(255,255,255,.08)}
html.dark .ma .ma-pll{color:#B5BCA9}
html.dark .ma .ma-clip{background:#2C3227;border-color:rgba(255,255,255,.08)}
html.dark .ma .ma-cn{color:#E9EBDF}
html.dark .ma .ma-cf,html.dark .ma .ma-cl,html.dark .ma .ma-cdt{color:#B5BCA9}
html.dark .ma .ma-cr{background:rgba(157,184,122,.094);color:#9DB87A}
html.dark .ma .ma-cplay{background:#9DB87A;color:#fff}
html.dark .ma .ma-csh{background:rgba(255,255,255,.07);color:#B5BCA9}
html.dark .ma .ma-cdel{background:rgba(239,68,68,.12);color:#FDA4AF}
html.dark .ma .ma-ren{color:#B5BCA9}

.ma-hint{margin:14px 2px 0;font-size:13px;color:#8A7E6E}
.ma-none{padding:24px 0;text-align:center;font-size:14px;color:#8A7E6E}
.ma-empty{display:flex;flex-direction:column;align-items:center;padding:56px 16px 24px;text-align:center}
.ma-eic{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin-bottom:16px;border-radius:50%;background:rgba(0,0,0,.06);color:#5A5040}
.ma-eic svg{width:32px;height:32px;stroke-width:1.5}
.ma-et{margin:0 0 4px;font-size:16px;font-weight:600;color:#5A5040}
.ma-ep{margin:0;max-width:320px;font-size:14px;line-height:1.45;color:#5A5040}
.ma-browse{margin-top:24px;padding:10px 24px;border:0;border-radius:999px;background:#1F6B6B;font-size:14px;font-weight:600;color:#fff;cursor:pointer}
.ma-ov{position:fixed;inset:0;z-index:300;display:flex;align-items:flex-end;justify-content:center;background:rgba(20,16,10,.38)}
.ma-sh{width:100%;max-width:520px;box-sizing:border-box;padding:10px 18px 22px;border-radius:20px 20px 0 0;background:#FBF9F4;box-shadow:0 -6px 24px rgba(0,0,0,.15);font-family:"DM Sans",system-ui,sans-serif}
.ma-grab{width:40px;height:4px;margin:0 auto 12px;border-radius:2px;background:rgba(0,0,0,.18)}
.ma-sh h4{margin:0 0 4px;font-size:17px;font-weight:800;color:#1A1A1A}
.ma-shs{margin:0 0 12px;font-size:12.5px;color:#8A7E6E}
.ma-in{display:block;width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid rgba(0,0,0,.14);border-radius:12px;background:#fff;font:inherit;font-size:16px;color:#1A1A1A;resize:vertical}
.ma-cols{display:flex;gap:10px;margin:12px 0 2px}
.ma-cols button{width:30px;height:30px;border:3px solid transparent;border-radius:50%;cursor:pointer}
.ma-cols button.on{border-color:#1A1A1A}
.ma-shb{display:flex;gap:10px;margin-top:14px}
.ma-btn{flex:1;height:44px;border:0;border-radius:12px;font:inherit;font-size:15px;font-weight:700;color:#fff;background:#1F6B6B;cursor:pointer}
.ma-btn.ghost{color:#5A5040;background:rgba(0,0,0,.06)}
@media (max-width:400px){.ma-top{padding:16px 10px 0}.ma-tab{padding:7px 0 8px;font-size:var(--tfs,12px)}.ma-tabic{padding:5px 2px 6px 0}}
@media (max-width:499px){.ma-tabs{overflow-x:auto}.ma-tabs .ma-tabic{display:none}.ma-tabs .ma-tab{padding-left:2px;padding-right:2px}}
@media (min-width:768px){.ma-top{padding:16px 32px 0}.ma-bd{padding:20px 32px 0}}

/* v9: empty tiles plain (real site): neutral icon + border; colour only when the box has items */
.ma-tile.ma-t0{border-color:rgba(0,0,0,.07)}
.ma-tile.ma-t0 .ma-tic{background:rgba(0,0,0,.045);color:#8A7E6E}
.ma-bmi{flex:none;display:flex;align-items:center;justify-content:center;width:22px;height:30px;color:var(--nc)}
.ma-bmi svg{width:18px;height:18px;fill:var(--nc);stroke:var(--nc);stroke-width:1.6}
/* v9: app-style Remove? sheet */
/* Delete confirmation: same stacked dialog the player uses (David 7:07). */
.ma-ask{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.55)}
.ma-askc{width:100%;max-width:320px;padding:20px;border-radius:16px;background:#FFFEF5;border:1px solid rgba(0,0,0,.08);box-shadow:0 12px 40px rgba(0,0,0,.25);font-family:"DM Sans",system-ui,sans-serif}
.ma-askc h4{margin:0 0 6px;font-size:16px;font-weight:700;color:#1A1A1A;font-family:"DM Serif Display",serif}
.ma-askc p{margin:0 0 14px;font-size:12.5px;line-height:1.45;color:#5A5040}
.ma-askb{display:flex;flex-direction:column;gap:8px}
.ma-askb button{width:100%;padding:11px 16px;border:1px solid rgba(0,0,0,.12);border-radius:10px;font:600 13.5px "DM Sans",sans-serif;background:#fff;color:#1A1A1A;cursor:pointer}
.ma-askb button.red{border:none;background:#DC2626;color:#fff;font-weight:700}
html.dark .ma .ma-askc{background:#FFFEF5 !important;border-color:rgba(0,0,0,.08) !important;color:#1A1A1A !important}
html.dark .ma .ma-askc h4{color:#1A1A1A !important}
html.dark .ma .ma-askc p{color:#5A5040 !important}
html.dark .ma .ma-askb button{background:#fff !important;color:#1A1A1A !important;border-color:rgba(0,0,0,.12) !important}
html.dark .ma .ma-askb button.red{background:#DC2626 !important;color:#fff !important;border:none}

/* v10: playlist pages (old demo) */
.ma-plhd{justify-content:space-between}
.ma-plhd .ma-bk svg{width:18px;height:18px}
.ma-plv .ma-bd{padding-bottom:140px}
.ma-plbt{grid-template-columns:1fr 1fr}
.ma-plbt .dm-pladd{grid-column:1 / -1}
.ma-plsw{display:flex;align-items:center;justify-content:space-between;gap:10px;max-width:24rem;margin:10px auto 0;padding:4px 12px;border:1px solid rgba(0,0,0,.08);border-radius:10px;background:#fff;font-size:13px;font-weight:600;color:#1A1A1A;text-align:left}
.ma-tg{position:relative;flex:none;width:44px;height:26px;padding:0;border:0;border-radius:999px;background:rgba(0,0,0,.18);cursor:pointer;transition:background .15s}
.ma-tg span{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.ma-tg.on{background:#1F6B6B}
.ma-tg.on span{transform:translateX(18px)}
.ma-plrows{margin-top:6px}
.ma-plrows [data-plv=open][role=button]{cursor:pointer}
.ma-dragging{position:relative;z-index:5;box-shadow:0 10px 26px rgba(0,0,0,.18)}
.x75-h{touch-action:none}
.ma-dsh{position:fixed;inset:0;z-index:210;display:flex;align-items:flex-end;justify-content:center}
.ma-dbg{position:absolute;inset:0;background:rgba(0,0,0,0);transition:background .18s}
.ma-dsh.on .ma-dbg{background:rgba(0,0,0,.32)}
.ma-dsec{position:relative;width:100%;max-width:32rem;padding:20px 20px max(16px,env(safe-area-inset-bottom));border-radius:28px 28px 0 0;background:#FFFEFA;border:1px solid rgba(0,0,0,.09);box-shadow:0 -10px 40px rgba(0,0,0,.18);transform:translateY(100%);transition:transform .18s}
.ma-dsh.on .ma-dsec{transform:none}
.x64-none{padding:24px;text-align:center;font-size:13px;color:#8A7E6E}

/* v12 */
.ma-x64r{display:flex;align-items:center;gap:8px}
.ma-adone{height:36px;padding:0 14px;border:0;border-radius:999px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.ma-plrows [data-x15id]{position:relative;overflow:hidden;transition:transform .18s ease}
.ma-plrows [data-x15id].ma-dragging{transition:none}
.ma-plp{font-size:10px;font-weight:700}
.ma-plbar{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(0,0,0,.06);pointer-events:none}
.ma-plbar i{display:block;height:100%}

/* v13 Favorites label */
.ma-flab{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;width:max-content;max-width:100%;margin:4px 0 0 auto;height:18px;overflow:hidden;padding:1px 8px;border:1px solid rgba(126,31,58,.3);border-radius:999px;background:rgba(126,31,58,.07);color:#7E1F3A;font:inherit;font-size:10px;font-weight:700;line-height:16px;cursor:pointer;direction:ltr}
.ma-flab span{flex:0 1 auto;min-width:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ma-flab0{padding:1px 5px;opacity:.55}
.ma-flab svg{width:11px;height:11px;flex:none}
.ma-plrows .ma-flab0{position:absolute;left:12px;bottom:6px;margin:0}

/* v16: small Kuntres-style search on the right of the section title */
.ma-search.ma-sm{flex:0 1 128px;min-width:92px;height:30px;margin:0;padding:0 11px;gap:5px;border:0;border-radius:999px;background:rgba(31,107,107,.08);color:#1F6B6B}
.ma-search.ma-sm svg{width:13px;height:13px}
.ma-search.ma-sm input{font-size:12px;font-weight:600;color:#1A1A1A}
.ma-search.ma-sm input::placeholder{color:#1F6B6B;opacity:1}
.ma-shx{display:flex;align-items:center;gap:8px;min-width:0}

/* v16: long labels inside a row never stick out of the tile */
.ma-fr .x127-dl,.ma-fr .x113-dl{min-width:0;max-width:100%;overflow:hidden}
.ma-fr .x10-n{min-width:0;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ma-cdt{font-size:10px;color:#5A5040}
/* v31: activity rows - demo row overrides: disc vertically centered (33px), round transparent cover */
.ma-fr .x68-r{--x113cvt:33px !important}
.ma-fr .x68-r > div:first-child > div:first-child{background:transparent !important;overflow:visible !important;border-radius:50% !important}

/* --- 2026-11-15 late: re-fit to builder-1's new 96px shared row --- */
/* The shared row now hard-codes --x113h:96px INLINE on the card root
   (.x68-r.x113), which beats the inherited --x113h:116px set on .ma-real.
   Real havineini.org My Activity rows are 116px, so set the var on the
   card root itself with !important (author !important beats inline). */
.ma .ma-fr.ma-real > .x113{--x113h:116px !important}
/* demo.css vertically CENTERS the row content block; with a bottom progress
   band the centered meta line lands on the track. Pin content to the top. */
.ma .ma-fr.ma-real .flex-1.min-w-0{height:100% !important;justify-content:flex-start !important;padding-top:10px}
/* The shared row's video badge is anchored below the 96px row (clipped by
   overflow-hidden) and lands on the progress band at 116px. The real app's
   My Activity rows have no video badge - hide it here until builder 1 gives
   it a proper slot in the shared row. */
.ma .ma-fr.ma-real .vbadge{display:inline-flex !important}
/* The new shared row adds a shiur-number span (.x10-n) and a second tag pill
   (span.inline-flex) to the meta line; the real app shows exactly
   feed pill + duration + date on My Activity. */
.ma .ma-fr.ma-real .flex-1.min-w-0 > .mt-1 > .x10-n{display:none !important}
.ma .ma-fr.ma-real .flex-1.min-w-0 > .mt-1 > span.inline-flex{display:none !important}
/* Long feed names leave little room for the date - fade with an ellipsis
   instead of clipping mid-character. */
.ma .ma-fr.ma-real .flex-1.min-w-0 > .mt-1 > span{min-width:0;overflow:hidden;text-overflow:ellipsis}
/* === v31: My Activity In Progress / Completed rows = real havineini.org History row (116px card) === */
/* real spec: px-4 py-3, gap-3, items-start; disc 56 (mt 2px); title 36px/13px semibold leading-snug; meta h-6 mt-1; bar+label at bottom; 36px play top-right */
html body .ma .ma-fr.ma-real > .x68-r.x113{--x113cvt:2px !important;--x113h:116px !important}
html body .ma .ma-fr.ma-real > .x68-r.x113 > div:first-child{padding:12px 16px !important;align-items:flex-start !important;gap:12px !important}
html body .ma .ma-fr.ma-real > .x68-r.x113 > div:first-child > div:first-child{margin-top:2px !important;align-self:flex-start !important}
html body .ma .ma-fr.ma-real > .x68-r.x113 > div:first-child > div.flex-1{height:100% !important;max-height:none !important;justify-content:flex-start !important;padding:0 !important}
html body .ma .ma-fr.ma-real > .x68-r.x113 > div:first-child > div.flex-1 > p:first-child{height:36px !important;max-height:36px !important;font-size:13px !important;font-weight:600 !important;line-height:1.375 !important;text-align:right;display:-webkit-box !important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden !important}
html body .ma .ma-fr.ma-real > .x68-r.x113 > div:first-child > div.flex-1 > .mt-1{height:24px !important;margin-top:4px !important}
html body .ma .ma-fr.ma-real > .x68-r.x113 > div:first-child > .flex.items-center.gap-1{align-self:flex-start !important;margin-top:2px !important}
html body .ma .ma-fr.ma-real .x15-stk{display:none !important}
html body .ma .ma-fr.ma-real > .x68-r.x113 button.w-8.h-8{width:36px !important;height:36px !important;border-radius:50% !important;background:rgba(0,0,0,.055) !important;color:#1A1A1A !important;box-shadow:none !important;border:0 !important}
html body .ma .ma-fr.ma-real > .x68-r.x113 button.w-8.h-8 svg{width:16px !important;height:16px !important;color:#1A1A1A !important;fill:currentColor}
html.dark body .ma .ma-fr.ma-real > .x68-r.x113 button.w-8.h-8{background:rgba(255,255,255,.08) !important;color:#E9EBDF !important}
html.dark body .ma .ma-fr.ma-real > .x68-r.x113 button.w-8.h-8 svg{color:#E9EBDF !important}
.ma .ma-fr.ma-real > .ma-pl4{left:85.5px;right:65.5px;bottom:13.5px;gap:2px}
.ma .ma-fr.ma-real .ma-pll{line-height:15px}
.ma .ma-fr.ma-real > .ma-rx{top:auto;bottom:10px;right:25px}
/* Completed keeps full colour (was grayscale + .62 opacity) */
.ma .ma-fr.ma-real .x51.x-done,.ma .ma-fr.ma-real .x-done{filter:none !important;opacity:1 !important}
/* "% listened" in the feed colour; Completed check + label green */
.ma .ma-fr.ma-real .ma-pll b{color:var(--fc);font-weight:500}
.ma .ma-fr.ma-real .ma-pl4:has(.ma-gbar) .ma-pll b{color:#16A34A;font-weight:600}
/* === v33: David 2:10 - X top, level with play button; disc vertically centred === */
html body .ma .ma-fr.ma-real > .x68-r.x113 > div:first-child > div:first-child{margin-top:0 !important;align-self:center !important}
.ma .ma-fr.ma-real > .ma-rx{top:22px !important;bottom:auto !important;right:59px !important}
html body .ma .ma-fr.ma-real > .x68-r.x113 > div:first-child > div.flex-1 > p:first-child{padding-right:30px !important;box-sizing:border-box}

/* Reuse the shared row playlist action in In Progress and Completed. */
html body .ma .ma-fr.ma-real .x15-stk { display:flex !important; }

/* Available video stays visible on activity rows without crossing progress text. */
html body .ma .ma-fr.ma-real .vbadge.x47-vb.x47-b{position:absolute!important;inset:auto auto 4px 11px!important;transform:none!important;margin:0!important;height:19px!important;font-size:9px!important}
/* Keep the 116px Activity card: title, pills/status, then readable metadata.
   Metadata has its own full-width lane above the existing progress footer. */
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 > div:first-child > .flex-1{position:static!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .x113-pl{position:absolute!important;top:44px!important;left:85px!important;right:65px!important;height:20px!important;margin:0!important;padding:0!important;gap:4px!important;overflow:hidden!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .x113-dl{position:absolute!important;top:67px!important;bottom:auto!important;left:85px!important;right:12px!important;height:25px!important;min-height:25px!important;margin:0!important;padding:0!important;display:flex!important;justify-content:flex-end!important;align-items:flex-start!important;overflow:visible!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .x113-dl .x27-date{width:100%!important;max-width:100%!important;flex:1 1 auto!important;font-size:10px!important;line-height:12px!important;white-space:normal!important;overflow:visible!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .hv-date-reference{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:0!important;white-space:normal!important;direction:ltr!important;font-size:10px!important;line-height:12px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .hv-reference-inline,html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .hv-reference-inline .x10-n{font-size:10px!important;line-height:12px!important;overflow:visible!important;white-space:normal!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .x113-dl>.x123-d{display:none!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .x113-pl{flex-wrap:nowrap!important;overflow:hidden!important;min-height:20px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .x113-pl>span.inline-flex,html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .x113-pl>.x10-nd,html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g) body .ma .ma-fr.ma-real .x68-r.x113 .x113-dl>:not(.x27-date){display:none!important}
/* Reserve the playlist/play column; move duration out of that crowded lane. */
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g):not(#hv-h) body .ma .ma-fr.ma-real .x68-r.x113 .x113-pl{right:100px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g):not(#hv-h) body .ma .ma-fr.ma-real .x68-r.x113 .x113-pl>.x50-dur{display:none!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g):not(#hv-h) body .ma .ma-fr.ma-real .x68-r.x113 .x113-dl{right:65px!important;gap:4px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g):not(#hv-h) body .ma .ma-fr.ma-real .x68-r.x113 .x113-dl>.x123-d{display:inline-flex!important;align-self:flex-start!important;flex:0 0 auto!important;order:-1!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g):not(#hv-h) body .ma .ma-fr.ma-real .x68-r.x113 .x113-dl>.x27-date{min-width:0!important;width:auto!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f):not(#hv-g):not(#hv-h):not(#hv-i):not(#hv-j) body .ma .ma-fr.ma-real .x68-r.x113 .x113-pl{overflow:visible!important}

.ma-ov .ma-sh.ma-sh-editFavLabel{max-width:300px;padding:14px 14px 12px;border-radius:14px}
.ma-sh-editFavLabel h4{font-size:15px;margin:0 0 6px}
.ma-sh-editFavLabel .ma-shs{font-size:12px;margin-bottom:8px}
.ma-sh-editFavLabel .shb{margin-top:10px}
.ma-sh-editFavLabel .ma-in{height:38px;padding:6px 10px;font-size:14px}
