/* Labaran Hausa v7 – Facebook look: palette, top bar + tabs, feed, stories, reels, sidebar, comments,
   consistent spacing, no sideways scroll. Loads LAST so it can restyle the older rules in feed.css. */

/* ---------- 1. Brand palette: white + black (light and dark) ---------- */
:root{
  --fb:#0f0f0f; --on-accent:#fff;
  --gold:#0f0f0f; --gold-d:#272727; --gold-ink:#0f0f0f;
  --ink:#0f0f0f; --ink2:#212121; --indigo:#0f0f0f;
  --bg:#f1f1f1; --card:#fff; --text:#0f0f0f; --muted:#606060; --line:#e5e5e5;
  --chip:#ebebeb; --hover:#f2f2f2; --body2:#212121; --input-line:#cfcfcf;
  --soft-gold:#f2f2f2; --soft-gold-line:#dcdcdc; --red:#cc0000;
  --on-dark:#e5e5e5; --on-dark-2:#aaa; --r:8px; --bar:0px;
  --hero-a:#0f0f0f; --hero-b:#2b2b2b; --badge:#000;
  --shadow:0 1px 2px rgba(0,0,0,.15); --hdr:103px; --gap:8px;
}
@media (prefers-color-scheme:dark){:root{
  --fb:#fff; --on-accent:#0f0f0f;
  --gold:#fff; --gold-d:#d9d9d9; --gold-ink:#fff;
  --ink:#000; --ink2:#181818; --indigo:#fff;
  --bg:#0f0f0f; --card:#181818; --text:#f1f1f1; --muted:#aaa; --line:#303030;
  --chip:#272727; --hover:#272727; --body2:#e5e5e5; --input-line:#4a4a4a;
  --soft-gold:#272727; --soft-gold-line:#3a3a3a; --red:#ff4e45;
  --hero-a:#272727; --hero-b:#3f3f3f; --badge:#000; --shadow:0 1px 2px rgba(0,0,0,.5);
}}
@media (min-width:1000px){:root{--hdr:56px;--gap:12px}}
body{--stk:calc(var(--hdr) + var(--adm,0px))}
body.admin-bar{--adm:32px}
@media (max-width:782px){body.admin-bar{--adm:46px}}
@media (max-width:600px){body.admin-bar{--adm:0px}}
::selection{background:var(--gold);color:var(--on-accent)}

/* ---------- 2. Never wider than the screen ---------- */
html,body{max-width:100%;overflow-x:clip}
body{padding-bottom:env(safe-area-inset-bottom);font-size:calc(16px*var(--fs,1));line-height:1.5}
.lhf-main,.lhf-side,.lhf-box,.lhf-comments,.lhf-single,.lhf-post,.lhf-narrow{min-width:0}
img,video,iframe,embed,object,svg{max-width:100%}
textarea,input,select{max-width:100%}
.lhf-prose pre,.lhf-comments pre{overflow:auto;max-width:100%}
.lhf-prose table{display:block;overflow-x:auto;max-width:100%}
.lhf-prose,.lhf-single__head h1,.lhf-post__title h2{overflow-wrap:anywhere}

/* ---------- 3. Buttons ---------- */
.lhf-btn--gold,.lhf-hero__badge,.lhf-pill--gold,.lhf-vid__tag,.lhf-plan__tag,.lhf-skip,.lhf-arow__play,
.lhf-chips a:hover,.lhf-subnav a:hover,.lhf-tabs .is-on,.lhf-tabs--page .is-on,.lhf-pager .current,.lhf-pager ul.page-numbers .current{background:var(--gold);border-color:var(--gold);color:var(--on-accent)}
.lhf-btn--gold:hover{background:var(--gold-d)}
.lhf-vid__play{background:rgba(0,0,0,.65);color:#fff;border:2px solid rgba(255,255,255,.85)}
.lhf-btn{font-weight:600}
.lhf-btn--ghost{background:var(--chip);color:var(--text)}
.lhf-btn--ghost:hover{background:var(--line)}
.lhf-mag__dark .lhf-mag__h span{color:#fff}
.lhf-hero,.lhf-join{background:linear-gradient(135deg,var(--hero-a),var(--hero-b));border-radius:var(--r)}
.lhf-hero h1,.lhf-join h2{color:#fff}
.lhf-hero p,.lhf-join p{color:#e5e5e5}
.lhf-hero::after,.lhf-join::after,.lhf-top::after,.lhf-footer::before{display:none}
.lhf-join{padding-bottom:16px}
.lhf-join .lhf-btn--gold{background:#fff;color:#0f0f0f}
.lhf-join .lhf-btn--ghost{background:rgba(255,255,255,.2);color:#fff}
.lhf-vcard{background:linear-gradient(160deg,var(--hero-a),var(--hero-b));color:#fff;box-shadow:none}
.lhf-vcard .lhf-btn--gold{background:#fff;color:#0f0f0f}
.lhf-ring{box-shadow:0 0 0 3px var(--fb)}

/* ---------- 4. Top bar + tabs ---------- */
.lhf-top{position:sticky;top:var(--adm,0px);z-index:80;background:var(--card);border:0;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.lhf-top__in{max-width:none;margin:0;padding:0 12px;display:flex;flex-wrap:wrap;align-items:center;gap:0}
.lhf-top__l{order:1;flex:1;min-width:0;display:flex;align-items:center;gap:8px;height:56px}
.lhf-top__actions{order:2;margin:0;height:56px;display:flex;align-items:center;gap:8px;flex:none}
.lhf-logo{display:flex;align-items:center;gap:8px;min-width:0}
.lhf-logo__c{box-shadow:0 0 0 1px var(--line);flex:none;width:40px;height:40px;border-radius:50%;background:var(--badge);display:grid;place-items:center;overflow:hidden}
.lhf-logo__c img{width:78%;height:78%;object-fit:contain;display:block}
.lhf-logo__t{font:800 23px/1 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;letter-spacing:-.03em;color:var(--fb);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lhf-top .lhf-icon-btn{width:40px;height:40px;background:var(--chip);color:var(--text);border-radius:50%;padding:0;overflow:hidden}
.lhf-top .lhf-icon-btn:hover{background:var(--line)}
.lhf-top .lhf-icon-btn svg{width:20px;height:20px}
.lhf-top__avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;display:block}
.lhf-top__login{min-height:36px;padding:0 16px}
.lhf-tabs-top{order:3;width:100%;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line)}
.lhf-tabs-top a{position:relative;display:grid;place-items:center;height:46px;color:var(--muted)}
.lhf-tabs-top svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lhf-tabs-top span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.lhf-tabs-top a.is-on{color:var(--fb)}
.lhf-tabs-top a.is-on::after{content:"";position:absolute;left:12%;right:12%;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--fb)}
.lhf-tabs-top a.is-on svg{stroke-width:2.2}
/* search: takes over the top row on phones */
.lhf-search{position:absolute;left:0;right:0;top:0;height:56px;z-index:3;display:flex;align-items:center;gap:8px;padding:0 12px;margin:0;max-width:none;background:var(--card)}
.lhf-search[hidden]{display:none}
.lhf-search input{flex:1;min-width:0;height:40px;border:0;border-radius:999px;background:var(--chip);color:var(--text);padding:0 16px 0 40px;font:16px/1 inherit;font-family:inherit}
.lhf-search input::placeholder{color:var(--muted)}
.lhf-search__ic{position:absolute;left:24px;top:50%;transform:translateY(-50%);color:var(--muted);display:grid;pointer-events:none}
.lhf-search__ic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.lhf-search__x{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:var(--chip);color:var(--text);cursor:pointer}
/* menu panel */
.lhf-menu-panel{position:fixed;left:0;right:0;top:var(--stk);bottom:0;z-index:79;background:var(--bg);overflow:auto;overscroll-behavior:contain;padding:12px}
.lhf-menu-panel[hidden]{display:none}
.lhf-menu-panel__in{max-width:560px;margin:0 auto}
.lhf-menu-panel h2{font-size:24px;font-weight:800;margin:4px 4px 12px}
.lhf-menu-panel h3{font-size:17px;margin:18px 4px 8px}
.lhf-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lhf-menu-grid a,.lhf-menu-grid button{display:grid;align-content:start;justify-items:start;gap:6px;min-height:84px;padding:12px;border:0;border-radius:8px;background:var(--card);color:var(--text);box-shadow:var(--shadow);font:inherit;text-align:left;cursor:pointer}
.lhf-menu-grid span{font-size:26px;line-height:1;font-weight:700}
.lhf-menu-grid strong{font-size:15px;font-weight:600}
.lhf-menu-panel .lhf-menu{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.lhf-menu-panel .lhf-menu a{display:block;padding:10px 12px;border-radius:8px;background:var(--card);font-weight:600}
body.lhf-menu-open{overflow:hidden}

@media (min-width:1000px){
  .lhf-top__in{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:0 16px;height:56px}
  .lhf-top__l{order:0;height:56px}
  .lhf-tabs-top{order:0;width:auto;grid-template-columns:repeat(5,clamp(72px,8vw,112px));border:0;gap:4px}
  .lhf-tabs-top a{height:56px;border-radius:8px}
  .lhf-tabs-top a:not(.is-on):hover{background:var(--hover)}
  .lhf-tabs-top a.is-on::after{left:0;right:0}
  .lhf-top__actions{order:0;justify-self:end}
  .lhf-logo__t{display:none}
  .lhf-top__srch{display:none}
  .lhf-search,.lhf-search[hidden]{display:flex;position:relative;inset:auto;height:40px;padding:0;background:none;flex:0 1 240px;min-width:0}
  .lhf-search__x{display:none}
  .lhf-menu-panel{position:absolute;left:auto;right:16px;top:calc(100% + 4px);bottom:auto;width:380px;max-height:calc(100vh - 72px);border-radius:8px;box-shadow:0 12px 28px rgba(0,0,0,.25),0 2px 4px rgba(0,0,0,.1);background:var(--card)}
  .lhf-menu-grid a,.lhf-menu-grid button{background:var(--bg);box-shadow:none}
  body.lhf-menu-open{overflow:auto}
}
@media (min-width:1280px){.lhf-logo__t{display:none}}

/* ---------- 5. Page layout and spacing ---------- */
.lhf-layout{max-width:1100px;margin:0 auto;padding:var(--gap) 0;gap:var(--gap);display:grid}
.lhf-main{max-width:680px;margin:0 auto}
.lhf-narrow{margin:var(--gap) auto;padding:0 12px}
.lhf-h{font-size:17px;font-weight:700;margin:16px 12px 8px}
.lhf-box{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);border:0;padding:16px;margin-bottom:12px}
.lhf-box h3{font-size:17px;font-weight:700;margin:0 0 12px}
@media (max-width:699px){
  .lhf-main>.lhf-single,.lhf-main>.lhf-box,.lhf-fbfeed>.lhf-post,.lhf-comp,.lhf-stories2,.lhf-reels{border-radius:0}
  .lhf-layout .lhf-box.lhf-comments{border-radius:0;margin-left:0;margin-right:0}
}
@media (min-width:700px){.lhf-layout{padding:16px 12px;gap:16px}}
@media (min-width:980px){
  .lhf-layout{grid-template-columns:minmax(0,680px) 320px;justify-content:center;align-items:start;gap:24px}
  .lhf-side{display:block;position:sticky;top:calc(var(--stk) + 16px);max-height:calc(100vh - var(--stk) - 32px);overflow:auto;scrollbar-width:none}
  .lhf-side::-webkit-scrollbar{display:none}
}
.lhf-fb__l{display:none}
@media (min-width:1260px){
  .lhf-layout.lhf-fb{max-width:1360px;grid-template-columns:260px minmax(0,680px) 320px;gap:28px}
  .lhf-fb__l{display:block;position:sticky;top:calc(var(--stk) + 16px);max-height:calc(100vh - var(--stk) - 32px);overflow:auto;scrollbar-width:thin}
}

/* ---------- 6. "What's on your mind" box, stories, reels ---------- */
.lhf-comp{background:var(--card);box-shadow:var(--shadow);padding:12px 16px 6px;margin-bottom:var(--gap);border-radius:var(--r)}
.lhf-comp__row{display:flex;align-items:center;gap:8px;margin:0}
.lhf-comp__av{flex:none;width:40px;height:40px;border-radius:50%;overflow:hidden;background:var(--badge);display:grid;place-items:center}
.lhf-comp__av img{width:100%;height:100%;object-fit:cover}
.lhf-comp__av img[width]{object-fit:contain;padding:6px}
.lhf-comp__row input{flex:1;min-width:0;height:40px;border:0;border-radius:999px;background:var(--chip);color:var(--text);padding:0 16px;font:16px/1 inherit;font-family:inherit}
.lhf-comp__row input::placeholder{color:var(--muted)}
.lhf-comp__links{display:grid;grid-template-columns:repeat(3,1fr);margin-top:10px;padding-top:6px;border-top:1px solid var(--line)}
.lhf-comp__links a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:8px;color:var(--muted);font-size:14px;font-weight:600}
.lhf-comp__links a:hover{background:var(--hover)}
.lhf-stories2{background:var(--card);box-shadow:var(--shadow);padding:12px 0 12px 16px;margin-bottom:var(--gap);border-radius:var(--r);overflow:hidden}
.lhf-stories2__row{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-right:16px}
.lhf-stories2__row::-webkit-scrollbar{display:none}
.lhf-story{flex:none;position:relative;width:112px;height:200px;border-radius:12px;overflow:hidden;background:var(--chip);box-shadow:var(--shadow);scroll-snap-align:start}
.lhf-story::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.78),rgba(0,0,0,0) 55%)}
.lhf-story__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.lhf-story:hover .lhf-story__img{transform:scale(1.05)}
.lhf-story__ring{position:absolute;left:8px;top:8px;z-index:1;width:40px;height:40px;border-radius:50%;border:4px solid var(--fb);background:var(--badge);overflow:hidden;display:grid;place-items:center}
.lhf-story__ring img{width:100%;height:100%;object-fit:contain}
.lhf-story em{position:absolute;left:8px;right:8px;bottom:8px;z-index:1;color:#fff;font-style:normal;font-weight:600;font-size:13px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lhf-story--me{background:var(--card);border:1px solid var(--line)}
.lhf-story--me::after{display:none}
.lhf-story__top{position:absolute;left:0;right:0;top:0;height:146px;background:var(--badge);display:grid;place-items:center;overflow:hidden}
.lhf-story__top img{width:100%;height:100%;object-fit:contain;padding:22%}
.lhf-story__top img.avatar{object-fit:cover;padding:0}
.lhf-story__plus{position:absolute;left:50%;top:128px;z-index:2;transform:translateX(-50%);width:36px;height:36px;border-radius:50%;background:var(--fb);color:var(--on-accent);border:3px solid var(--card);display:grid;place-items:center;font-size:20px;font-weight:700;line-height:1}
.lhf-story--me em{color:var(--text);text-align:center;bottom:10px;font-weight:700;-webkit-line-clamp:1}
.lhf-reels{background:var(--card);box-shadow:var(--shadow);padding:12px 0;margin:0 0 var(--gap);border-radius:var(--r)}
.lhf-reels__h{display:flex;align-items:center;gap:8px;margin:0;padding:0 16px 10px;font-size:17px;font-weight:700}
.lhf-reels__h a{margin-left:auto;font-size:14px;font-weight:600;color:var(--gold-ink)}
.lhf-reels__row{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:0 16px}
.lhf-reels__row::-webkit-scrollbar{display:none}
.lhf-reel{flex:none;position:relative;width:132px;aspect-ratio:9/16;padding:0;border:0;border-radius:12px;overflow:hidden;background:#000;cursor:pointer;scroll-snap-align:start;text-align:left}
.lhf-reel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.95}
.lhf-reel::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,0) 55%)}
.lhf-reel__play{position:absolute;z-index:1;inset:0;margin:auto;width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;display:grid;place-items:center;font-size:15px;padding-left:3px;border:2px solid rgba(255,255,255,.8)}
.lhf-reel__t{position:absolute;z-index:1;left:8px;right:8px;bottom:8px;color:#fff;font-size:13px;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (min-width:700px){.lhf-reel{width:150px}.lhf-story{width:120px;height:210px}.lhf-story__top{height:154px}.lhf-story__plus{top:136px}}

/* ---------- 7. Feed posts ---------- */
.lhf-list.lhf-fbfeed,.lhf-list{background:none;box-shadow:none;border-radius:0;overflow:visible}
.lhf-post{background:var(--card);box-shadow:var(--shadow);border-radius:var(--r);margin:0 0 var(--gap);overflow:hidden;content-visibility:auto;contain-intrinsic-size:auto 540px}
.lhf-post__head{display:flex;align-items:center;gap:8px;padding:12px 16px 0}
.lhf-post__av{box-shadow:0 0 0 1px var(--line);flex:none;width:40px;height:40px;border-radius:50%;background:var(--badge);overflow:hidden;display:grid;place-items:center}
.lhf-post__av img{width:80%;height:80%;object-fit:contain}
.lhf-post__who{display:grid;min-width:0;line-height:1.3}
.lhf-post__who strong{font-size:15px;font-weight:600}
.lhf-post__who strong a:hover,.lhf-post__who span a:hover{text-decoration:underline}
.lhf-post__who span{font-size:13px;color:var(--muted)}
.lhf-post__who .lhf-pill{font-size:11px;padding:1px 8px}
.lhf-post__title{display:block;padding:10px 16px 0}
.lhf-post__title h2{margin:0;font-size:calc(18px*var(--fs,1));line-height:1.3;font-weight:700}
.lhf-post__title:hover h2{color:var(--gold-ink)}
.lhf-post--text .lhf-post__title h2{font-size:calc(24px*var(--fs,1));line-height:1.25}
.lhf-post__excerpt{margin:6px 16px 4px;font-size:calc(15px*var(--fs,1));color:var(--body2)}
.lhf-post__media{display:block;margin-top:10px;aspect-ratio:16/9;background:var(--chip);overflow:hidden}
.lhf-post__media img{display:block;width:100%;height:100%;object-fit:cover}
.lhf-post__stats{display:flex;justify-content:space-between;gap:12px;margin:0;padding:10px 16px 8px;font-size:14px;color:var(--muted)}
.lhf-post__stats a:hover{text-decoration:underline}
.lhf-post__stats span:only-child{margin-right:auto}
.lhf-post__stats a:only-child{margin-left:auto}
.lhf-post__bar{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin:6px 12px 0;padding:4px 0;border-top:1px solid var(--line)}
.lhf-post__bar .lhf-act{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 6px;border:0;border-radius:6px;background:none;color:var(--muted);font:600 14px/1 inherit;font-family:inherit;cursor:pointer;text-align:center}
.lhf-post__bar .lhf-act:hover{background:var(--hover);color:var(--muted)}
.lhf-post__bar .lhf-act svg{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.lhf-post__bar .lhf-act.is-on{color:var(--fb)}
.lhf-post__bar .lhf-act.is-on svg{fill:rgba(127,127,127,.3)}
.lhf-post--video{background:var(--card);padding:12px;content-visibility:visible}
.lhf-post--video .lhf-vid{box-shadow:none;border-radius:8px}
.lhf-fbfeed>.lhf-join{margin:0 0 var(--gap)}
.lhf-fbfeed>.lhf-picks,.lhf-fbfeed>.lhf-voice,.lhf-fbfeed>.lhf-follow{background:var(--card);box-shadow:var(--shadow);border-radius:var(--r);padding:12px 16px 14px;margin:0 0 var(--gap)}
.lhf-fbfeed>.lhf-picks .lhf-h,.lhf-fbfeed>.lhf-voice .lhf-h{margin:0 0 10px;font-size:17px}
.lhf-fbfeed .lhf-rel{background:none;padding:8px 6px;margin:0 -6px;border-radius:8px}
.lhf-fbfeed .lhf-rel:hover{background:var(--hover)}
.lhf-fbfeed .lhf-voice__row{margin:0 -16px;padding:0 16px}
.lhf-feedbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 16px 8px}
.lhf-feedbar h2{margin:0;font-size:17px;font-weight:700}
.lhf-feedbar .lhf-btn{min-height:34px;padding:0 14px;font-size:13px}
.lhf-sentinel{padding:4px 12px 16px}
@media (max-width:699px){.lhf-post__title h2{font-size:calc(17px*var(--fs,1))}.lhf-post--text .lhf-post__title h2{font-size:calc(22px*var(--fs,1))}}
@media (min-width:980px){.lhf-follow--feed{display:none}}

/* ---------- 8. Sidebar + left menu ---------- */
.lhf-pop{gap:2px;counter-reset:pop}
.lhf-pop a{padding:6px;margin:0 -6px;border-radius:8px;align-items:center;font-weight:600;font-size:15px}
.lhf-pop a:hover{background:var(--hover)}
.lhf-pop a::before{font-size:20px;color:var(--fb);width:16px}
.lhf-pop img{width:56px;height:56px;border-radius:8px}
.lhf-catlist{list-style:none;margin:0;padding:0}
.lhf-catlist a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 8px;margin:0 -8px;border-radius:8px;font-weight:600;font-size:15px}
.lhf-catlist a:hover{background:var(--hover)}
.lhf-catlist em{font-style:normal;background:var(--chip);color:var(--muted);border-radius:999px;padding:1px 10px;font-size:12px}
.lhf-box--prem{background:linear-gradient(135deg,var(--hero-a),var(--hero-b));color:#fff}
.lhf-box--prem h3,.lhf-box--prem p{color:#fff}
.lhf-box--prem .lhf-btn--gold{background:#fff;color:#0f0f0f}
.lhf-box p{margin:0 0 12px;font-size:15px;color:var(--body2)}
.lhf-box--prem p{color:#e5e5e5}
.lhf-follow__btns{display:flex;flex-wrap:wrap;gap:8px}
.lhf-side__foot{margin:4px 8px 16px;font-size:12px;line-height:1.8;color:var(--muted)}
.lhf-side__foot a:hover{text-decoration:underline}
.lhf-leftnav{display:grid;gap:2px}
.lhf-leftnav a{display:flex;align-items:center;gap:12px;padding:8px;border-radius:8px;font-size:15px;font-weight:600}
.lhf-leftnav a:hover{background:var(--hover)}
.lhf-leftnav__ic{flex:none;width:36px;height:36px;border-radius:50%;background:var(--chip);display:grid;place-items:center;font-size:19px;font-weight:700;color:var(--muted);overflow:hidden}
.lhf-leftnav__ic--av img{width:36px;height:36px;object-fit:cover;display:block}
.lhf-leftnav h2{font-size:17px;font-weight:700;color:var(--muted);margin:12px 8px 4px;padding-top:12px;border-top:1px solid var(--line)}

/* ---------- 9. Comments (no more sideways scroll) ---------- */
.lhf-comments{padding:12px 16px 16px;margin:12px 0 0;overflow:hidden}
.lhf-cm{min-width:0;max-width:100%}
.lhf-cm *{min-width:0}
.lhf-cm__list,.lhf-cm__list .children{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.lhf-cm__list{margin-bottom:14px}
.lhf-cm__list .children{margin:10px 0 0}
.lhf-cm__item{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:8px}
.lhf-cm__item>.children{grid-column:2}
.lhf-cm__av img{width:36px;height:36px;border-radius:50%;display:block;object-fit:cover}
.lhf-cm__bubble{display:inline-block;max-width:100%;background:var(--chip);border-radius:18px;padding:8px 12px;overflow-wrap:anywhere}
.lhf-cm__bubble strong{display:block;font-size:13px;font-weight:700;line-height:1.3}
.lhf-cm__bubble em{font-size:12px;color:var(--muted)}
.lhf-cm__text{font-size:calc(15px*var(--fs,1));line-height:1.45}
.lhf-cm__text p{margin:0 0 .4em}.lhf-cm__text p:last-child{margin:0}
.lhf-cm__meta{display:flex;gap:12px;padding:2px 12px 0;font-size:12px;font-weight:600;color:var(--muted)}
.lhf-cm__meta a:hover{text-decoration:underline}
.lhf-cm__title{font-size:17px;font-weight:700;margin:6px 0 10px}
.lhf-cm__title small{font-size:13px;margin-left:8px}
.lhf-cm__form{display:grid;gap:8px;margin:0}
.lhf-cm__field,.lhf-cm .form-submit{margin:0}
.lhf-cm__form textarea,.lhf-cm__form input[type=text],.lhf-cm__form input[type=email]{display:block;width:100%;max-width:100%;box-sizing:border-box;border:0;border-radius:18px;background:var(--chip);color:var(--text);padding:10px 14px;font:16px/1.4 inherit;font-family:inherit}
.lhf-cm__form textarea{min-height:84px;resize:vertical}
.lhf-cm__form ::placeholder{color:var(--muted)}
.lhf-cm .form-submit{text-align:right}
.lhf-cm__send{border:0}
.lhf-cm__closed{color:var(--muted);font-size:14px}
.lhf-cm .navigation{font-size:14px;margin:0 0 12px}

/* ---------- 10. Footer ---------- */
.lhf-footer{background:var(--card);box-shadow:0 -1px 0 var(--line);padding:20px 16px 24px;margin-top:var(--gap)}
.lhf-footer__links a{color:var(--muted);opacity:1;font-size:14px}
.lhf-footer__links a:hover{color:var(--text)}
.lhf-footer__social{color:var(--muted)}
.lhf-footer__social svg{fill:var(--muted);opacity:1}
.lhf-footer__social a:hover svg{fill:var(--fb)}
.lhf-footer__copy,.lhf-footer__tools{color:var(--muted);font-size:13px}
.lhf-linkbtn{color:var(--gold-ink)}
.lhf-ticker{border-bottom:1px solid var(--soft-gold-line)}

/* ---------- 11. Rediyo (Spotify look) – mobile title fix + desktop layout ---------- */
.lhf-sp-wrap{max-width:1240px;padding:var(--gap) 0}
.lhf-sp{display:block;background:none;padding:0;border-radius:0;overflow:visible}
.lhf-sp__side{display:none}
.lhf-sp__main{background:linear-gradient(#3b3b3b 0,#242424 240px,#121212 460px);color:#fff;overflow:hidden;padding-bottom:24px}
.lhf-sp h1,.lhf-sp h2,.lhf-sp strong{color:#fff}
.lhf-sp__hero{flex-direction:column;align-items:center;text-align:center;gap:14px;padding:28px 16px 12px}
.lhf-sp__cover{width:176px;height:176px}
.lhf-sp__head h1{font-size:28px;line-height:1.15;margin:4px 0 8px;text-shadow:0 2px 14px rgba(0,0,0,.5);text-wrap:balance}
.lhf-sp__head p{font-size:14px;color:#e5e5e5}
.lhf-sp__kind{color:#e5e5e5;text-transform:uppercase;letter-spacing:.08em}
.lhf-sp__bar{flex-wrap:wrap;justify-content:center;padding:6px 16px 14px}
.lhf-sp__search{order:3;flex:1 1 100%;max-width:none;margin:0}
.lhf-sp__thead{margin:0 8px;padding:6px 14px}
@media (min-width:700px){
  .lhf-sp-wrap{padding:16px 12px}
  .lhf-sp__main{border-radius:12px}
  .lhf-sp__hero{flex-direction:row;align-items:flex-end;text-align:left;gap:24px;padding:48px 32px 24px}
  .lhf-sp__cover{width:232px;height:232px;flex:none}
  .lhf-sp__head h1{font-size:clamp(36px,5.2vw,72px);line-height:1.02;letter-spacing:-.03em}
  .lhf-sp__head p{font-size:15px}
  .lhf-sp__bar{flex-wrap:nowrap;justify-content:flex-start;padding:8px 32px 16px}
  .lhf-sp__search{order:0;flex:0 1 280px;margin-left:auto}
  .lhf-sp__list{padding:0 18px}.lhf-sp__thead{margin:0 18px;padding:6px 14px}
  .lhf-sp__shelf{padding:26px 32px 0}
  .lhf-sp__cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));overflow:visible;gap:16px}
  .lhf-sp-card{width:auto}
  .lhf-sp__cta{margin:30px 32px 0}
}
@media (min-width:1000px){
  .lhf-sp{display:grid;grid-template-columns:240px minmax(0,1fr);gap:8px;background:#000;padding:8px;border-radius:14px}
  .lhf-sp__side{display:grid;align-content:start;gap:2px;background:#121212;border-radius:10px;padding:18px 12px;position:sticky;top:calc(var(--stk) + 12px);align-self:start}
  .lhf-sp__brand{font-size:18px;margin:0 8px 14px}
  .lhf-sp__side a{padding:10px 8px;border-radius:6px;color:#b3b3b3;font-weight:700;font-size:15px}
  .lhf-sp__side a:hover,.lhf-sp__side a.is-on{color:#fff}
  .lhf-sp__side a.is-on{background:#282828}
  .lhf-sp__main{border-radius:10px}
}
body.lhf-sp-page .lhf-player{background:#181818;color:#fff;box-shadow:0 -1px 0 #282828;border:0}

/* ---------- 12. Small-screen safety ---------- */
@media (max-width:379px){.lhf-logo__t{font-size:19px}.lhf-top__login{padding:0 12px}.lhf-top__actions{gap:6px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* ---------- 13. Black and white everywhere (leftover coloured bits) ---------- */
.lhf-btn--wa,.lhf-yt__btn--wa{background:var(--text);color:var(--bg)}
.lhf-act--wa{color:var(--muted)}
.lhf-me__av--edit em{color:var(--on-accent)}
.lhf-sp{--sp-g:#fff}
.lhf-sp__go,.lhf-sp-card__art i{color:#000}
.lhf-sp__go:hover{background:#e5e5e5}
.lhf-sp__cta{background:#fff;color:#000}
.lhf-sp__cta h2,.lhf-sp__cta p{color:#000}
.lhf-sp__cover,.lhf-sp-row__art img,.lhf-sp-card__art{background:#000}
body.lhf-sp-page #lhfToggle{background:#fff;color:#000}
body.lhf-sp-page #lhfPlayerBar{accent-color:#fff}
.lhf-player #lhfPlayerBar{accent-color:#fff}
.lhf-mag__dark .lhf-mag__h{border-color:#fff}
.lhf-mag__dark .lhf-mag__h span{background:#fff;color:#000}

/* ---------- 14. /bidiyo – YouTube layout (also restyles every video card) ---------- */
.lhf-vid{background:none;box-shadow:none;border-radius:0;overflow:visible}
.lhf-vid__poster{border-radius:12px;background:#000}
.lhf-vid__poster img{transition:transform .25s}
.lhf-vid:hover .lhf-vid__poster img{transform:scale(1.02)}
.lhf-vid__play{width:48px;height:48px;font-size:17px;opacity:0;transition:opacity .15s}
@media (hover:hover){.lhf-vid:hover .lhf-vid__play{opacity:1}}
.lhf-vid__dur{right:6px;bottom:6px;border-radius:4px;background:rgba(0,0,0,.8);padding:1px 5px;font-size:12px;font-weight:600}
.lhf-vid__tag{border-radius:4px}
.lhf-vid__body{display:flex;align-items:flex-start;gap:12px;padding:12px 0 0}
.lhf-vid__av{flex:none;width:36px;height:36px;border-radius:50%;background:var(--badge);box-shadow:0 0 0 1px var(--line);overflow:hidden;display:grid;place-items:center}
.lhf-vid__av img{width:78%;height:78%;object-fit:contain}
.lhf-vid__txt{min-width:0;display:grid;gap:2px;flex:1}
.lhf-vid__body h3{font-size:calc(16px*var(--fs,1));font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lhf-vid__body h3 a:hover{text-decoration:underline}
.lhf-vid__chan,.lhf-vid__time{font-size:13px;color:var(--muted);line-height:1.4}
.lhf-vid__act{margin-top:6px;gap:6px}
.lhf-vid__act .lhf-btn{min-height:30px;padding:0 12px;font-size:12.5px;background:var(--chip);color:var(--text)}
.lhf-vid__act .lhf-btn:hover{background:var(--line)}
.lhf-post--video{padding:12px}
.lhf-ythome{max-width:1800px;margin:0 auto;padding:0 0 24px}
.lhf-ythome .lhf-chips{position:sticky;top:var(--stk);z-index:40;background:var(--bg);display:flex;gap:12px;overflow-x:auto;padding:10px 12px;margin:0;scrollbar-width:none}
.lhf-ythome .lhf-chips::-webkit-scrollbar{display:none}
.lhf-ythome .lhf-chips a{flex:none;height:32px;display:inline-flex;align-items:center;padding:0 12px;border:0;border-radius:8px;background:var(--chip);color:var(--text);font-size:14px;font-weight:500;white-space:nowrap}
.lhf-ythome .lhf-chips a:hover{background:var(--line);color:var(--text)}
.lhf-ythome .lhf-chips a.is-on,.lhf-ythome .lhf-chips a.is-on:hover{background:var(--text);color:var(--bg)}
.lhf-ythome .lhf-vgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px 16px;padding:8px 0 0}
.lhf-ythome .lhf-vid__body{padding:12px}
.lhf-ythome .lhf-vid__poster{border-radius:0}
.lhf-ythome .lhf-sentinel{padding:16px 12px}
.lhf-ythome .lhf-empty{padding:40px 16px;text-align:center;color:var(--muted)}
@media (min-width:600px){
  .lhf-ythome .lhf-vgrid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 16px 0;gap:28px 16px}
  .lhf-ythome .lhf-vid__poster{border-radius:12px}.lhf-ythome .lhf-vid__body{padding:12px 0 0}
  .lhf-ythome .lhf-chips{padding:12px 16px}
}
@media (min-width:960px){.lhf-ythome .lhf-vgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1400px){.lhf-ythome .lhf-vgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1900px){.lhf-ythome .lhf-vgrid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* ---------- 15. Rediyo track list on phones (titles were squeezed to ~44px) ---------- */
@media (max-width:699px){
  .lhf-sp__thead{grid-template-columns:36px minmax(0,1fr);gap:10px;margin:0 8px;padding:6px 8px}
  .lhf-sp__list{padding:0 8px}
  .lhf-sp-row{grid-template-columns:36px 44px minmax(0,1fr) auto;gap:10px;padding:6px 8px}
  .lhf-sp-row__play{width:36px;height:44px}
  .lhf-sp-row__art{display:block}
  .lhf-sp-row__txt{align-content:center}
  .lhf-sp-row__txt strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3;font-size:15px}
  .lhf-sp-row__txt em{font-size:12.5px}
  .lhf-sp-row__acts .lhf-sp__ico{width:36px;height:40px;font-size:19px}
}
/* keep the last tracks clear of the sticky player */
body.lhf-sp-page .lhf-sp__main{padding-bottom:96px}

/* ---------- 16. v9: Labarai menu text always readable ---------- */
.lhf-subnav a,.lhf-tabs--page a{color:var(--text);background:var(--card)}
.lhf-tabs--page a{background:var(--chip)}
.lhf-subnav a.is-on,.lhf-subnav a[aria-current="page"],.lhf-tabs--page a.is-on{background:var(--text);border-color:var(--text);color:var(--bg)}
.lhf-subnav a:hover,.lhf-tabs--page a:hover{background:var(--hover);border-color:var(--line);color:var(--text)}
.lhf-subnav a.is-on:hover,.lhf-tabs--page a.is-on:hover{background:var(--text);color:var(--bg)}
.lhf-subnav__out{color:var(--muted)}

/* ---------- 17. v9: /bidiyo – 5 videos per row on desktop ---------- */
@media (min-width:1000px){.lhf-ythome .lhf-vgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1200px){.lhf-ythome .lhf-vgrid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:1400px){.lhf-ythome .lhf-vgrid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:1900px){.lhf-ythome .lhf-vgrid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* ---------- 18. v9: /rediyo uses the theme background (white in light mode, near-black in dark mode) ---------- */
.lhf-sp{--sp-bg:var(--bg);--sp-2:var(--card);--sp-3:var(--chip);--sp-g:var(--text);--sp-t:var(--text);--sp-m:var(--muted);background:none;color:var(--text)}
.lhf-sp__main{background:var(--bg);color:var(--text)}
.lhf-sp h1,.lhf-sp h2,.lhf-sp strong{color:var(--text)}
.lhf-sp__head h1{text-shadow:none}
.lhf-sp__head p,.lhf-sp__kind{color:var(--muted)}
.lhf-sp__ico:hover,.lhf-sp-row__ic,.lhf-sp-row__eq{color:var(--text)}
.lhf-sp__search input{background:var(--chip);color:var(--text)}
.lhf-sp__thead{border-bottom-color:var(--line)}
.lhf-sp-row:hover{background:var(--hover)}
.lhf-sp-row.is-playing strong,.lhf-sp-card.is-playing strong{color:var(--text);text-decoration:underline}
.lhf-sp__cover,.lhf-sp-row__art img,.lhf-sp-card__art{background:var(--chip);box-shadow:none}
.lhf-sp-card{background:var(--card);box-shadow:var(--shadow)}
.lhf-sp-card:hover{background:var(--hover)}
.lhf-sp__go,.lhf-sp-card__art i{background:var(--text);color:var(--bg)}
.lhf-sp__go:hover{background:var(--gold-d)}
.lhf-sp__cta{background:var(--card);color:var(--text);box-shadow:var(--shadow)}
.lhf-sp__cta h2,.lhf-sp__cta p{color:var(--text)}
.lhf-sp__pill{background:var(--text);color:var(--bg)}
.lhf-sp :focus-visible{outline-color:var(--text)}
@media (min-width:1000px){
  .lhf-sp{background:none;padding:0;gap:12px}
  .lhf-sp__side{background:var(--card);box-shadow:var(--shadow)}
  .lhf-sp__side a{color:var(--muted)}
  .lhf-sp__side a:hover,.lhf-sp__side a.is-on{color:var(--text)}
  .lhf-sp__side a.is-on{background:var(--chip)}
}
body.lhf-sp-page .lhf-player{background:var(--card);color:var(--text);box-shadow:0 -1px 0 var(--line)}
body.lhf-sp-page #lhfToggle{background:var(--text);color:var(--bg)}
body.lhf-sp-page #lhfPlayerBar{accent-color:var(--text)}
body.lhf-sp-page{background:var(--bg)}
body.lhf-sp-page .lhf-player__ctl button,body.lhf-sp-page .lhf-player button{color:var(--text)}
body.lhf-sp-page #lhfToggle{color:var(--bg)}
