/* Sikh shared kit · content-first 1.0.0 — generic part. App adapters add the header/title rules. */
.cf-foot{margin:1.6rem 0 .4rem;padding:.5rem 0 0;border-top:1px solid rgba(128,128,128,.25);font-size:12px;line-height:1.35;opacity:.92}
.cf-foot>*{display:block;margin:0 0 .35rem!important;padding:0!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-size:12px!important;line-height:1.5!important;min-height:0!important;text-align:left;background:none!important;border:0!important;box-shadow:none!important}
.cf-foot>* *{font-size:inherit!important;line-height:inherit!important}
.cf-foot>* br{display:none}
.cf-foot>* :is(p,div,span,small,h1,h2,h3,b,strong){display:inline!important;margin:0!important;padding:0!important;white-space:nowrap}
.cf-foot>* :is(a,button){display:inline-block!important;margin:0 .5rem 0 0!important;padding:.15rem .35rem!important;min-height:0!important;width:auto!important;
  font-size:12px!important;border-radius:6px;vertical-align:middle;white-space:nowrap}
/* one short label per item: show one language of a bilingual pair in the footer */
html:not([lang="pa"]) .cf-foot .bi2, html:not([lang="pa"]) .cf-foot .gph-pa, html:not([lang="pa"]) .cf-foot .nt-alt{display:none!important}
html[lang="pa"] .cf-foot .bi1{display:none!important}
.cf-foot :focus-visible{outline:3px solid #e0b24f;outline-offset:2px}
/* the tiny title line at the top of a page */
.cf-title{font-size:13px!important;line-height:1.3!important;margin:.15rem 0 .35rem!important;padding-top:0!important;padding-bottom:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;min-height:0!important}
.cf-title *{font-size:inherit!important;line-height:inherit!important;display:inline!important;margin:0 .25rem 0 0!important}
html.tv .cf-title{font-size:18px!important} html.tv .cf-foot, html.tv .cf-foot>*, html.tv .cf-foot>* :is(a,button){font-size:16px!important}

/* Credits & disclaimer button */
html.cf-on details.cf-credits{margin:.8rem 0 .6rem;font-size:12px}
html.cf-on details.cf-credits>summary{display:inline-block;cursor:pointer;list-style:none;padding:.2rem .6rem;border:1px solid currentColor;border-radius:999px;opacity:.85;font-size:12px;line-height:1.4}
html.cf-on details.cf-credits>summary::-webkit-details-marker{display:none}
html.cf-on details.cf-credits>summary::before{content:"\24D8  ";}
html.cf-on details.cf-credits[open]>summary{opacity:1}
html.cf-on details.cf-credits>summary:focus-visible, html.tv.cf-on details.cf-credits>summary:focus{outline:3px solid #e0b24f;outline-offset:2px;opacity:1}
html.cf-on .cf-credits-body{margin-top:.4rem}
html.cf-on .cf-credits-body>*{margin:.25rem 0!important}
html.tv.cf-on details.cf-credits, html.tv.cf-on details.cf-credits>summary{font-size:16px}

/* 1.0.1 (29 Nov 2026, Australia/Sydney): Paul — "make car logo tiny on All sites and pages, keep all continuous button small tiny".
   Only chrome is shrunk. Gurbani text size and the A−/A/A+ controls are not touched. TV focus ring stays visible. */
html.cf-on #carbtn, html.cf-on .carbtn, html.cf-on a.carbtn, html.cf-on .gp-carlink, html.cf-on .gp-carline,
html.cf-on a[href="#/car"], html.cf-on a[href="#/car"] .en{
  font-size:11px!important;line-height:1.15!important;padding:1px 6px!important;min-height:22px!important;min-width:0!important;
  height:auto!important;gap:2px!important;border-radius:7px!important;width:auto!important;align-self:center
}
html.cf-on #carbtn img, html.cf-on .carbtn img, html.cf-on a[href="#/car"] img{width:12px!important;height:12px!important}
html.cf-on .gp-cont, html.cf-on a.gp-cont,
html.cf-on #audio-all, html.cf-on #audio-resume, html.cf-on button.audio-all, html.cf-on .audio-options .npc,
html.cf-on a.hero.rhero, html.cf-on .rhero, html.cf-on .resume2, html.cf-on a.resume, html.cf-on button.resume{
  font-size:11px!important;line-height:1.2!important;padding:2px 8px!important;min-height:22px!important;min-width:0!important;
  height:auto!important;width:auto!important;max-width:100%;gap:2px!important;border-radius:8px!important;box-shadow:none!important
}
html.cf-on .gp-cont .gp-ck, html.cf-on .gp-cont .gp-cw, html.cf-on .audio-options .npc .en{font-size:11px!important}
html.tv.cf-on #carbtn, html.tv.cf-on .carbtn, html.tv.cf-on a[href="#/car"],
html.tv.cf-on .gp-cont, html.tv.cf-on #audio-all, html.tv.cf-on #audio-resume, html.tv.cf-on .audio-options .npc,
html.tv.cf-on a.hero.rhero{font-size:14px!important;min-height:28px!important;padding:3px 10px!important}
html.cf-on #carbtn:focus-visible, html.cf-on .carbtn:focus-visible, html.cf-on .gp-cont:focus-visible,
html.cf-on #audio-all:focus-visible, html.cf-on #audio-resume:focus-visible, html.cf-on a.hero.rhero:focus-visible,
html.tv.cf-on #carbtn:focus, html.tv.cf-on .carbtn:focus, html.tv.cf-on .gp-cont:focus,
html.tv.cf-on #audio-all:focus, html.tv.cf-on #audio-resume:focus{
  outline:3px solid #e0b24f;outline-offset:2px
}

/* classic outline car icon (replaces the 🚗 emoji). Default = sample A, classic sedan.
   Files: icons/car-a.svg (default), icons/car-b.svg (vintage), icons/car-c.svg (front). */
html.cf-on .cf-car-ico{
  display:inline-flex;align-items:center;justify-content:center;
  width:16px;height:16px;margin:0 4px 0 0;vertical-align:middle;flex:none
}
html.cf-on .cf-car-ico svg{width:16px;height:16px;display:block;stroke:currentColor}
html.tv.cf-on .cf-car-ico, html.tv.cf-on .cf-car-ico svg{width:18px;height:18px}

/* 1.0.3 — long bilingual chrome uses English only. Short Punjabi Bani/Granth names stay.
   NEVER applies to Gurbani text (.gurbani, [data-gurbani], .hk-line, .bk-line, .pothi-line). */
html.cf-on .cf-credits-btn [lang="pa"],
html.cf-on .cf-credits-btn .bi2{display:none!important}
html.cf-on header.top .hbtn:not(#langbtn) [lang="pa"],
html.cf-on header.top .getapp [lang="pa"],
html.cf-on header.top .homebtn [lang="pa"],
html.cf-on header.top .homebtn .hb-sep,
html.cf-on header.top #sharebtn [lang="pa"],
html.cf-on header.top #getapp [lang="pa"],
html.cf-on header.top #getappbtn [lang="pa"],
html.cf-on header.top .hdrback [lang="en"]+span[lang="pa"],
html.cf-on header.top a.carbtn [lang="pa"],
html.cf-on header.top #carbtn [lang="pa"],
html.cf-on header.top .hbtn .nt-qsep,
html.cf-on header.top .getapp .nt-qsep,
html.cf-on header.top .homebtn .nt-qsep{display:none!important}
/* long page-title translation line (not a Bani/Granth name) */
html.cf-on #hk-h1 .gph-pa,
html.cf-on .cf-title > .gph-pa{display:none!important}
html.cf-on header.nt-head > h1.cf-title .nt-h1alt,
html.cf-on .nt-page > h1.cf-title .nt-h1alt{display:none!important}
/* footer chrome: English only; leave any Gurbani alone */
html.cf-on .cf-foot .bi2,
html.cf-on .cf-foot [lang="pa"]:not(.gurbani):not([data-gurbani]){display:none!important}
html.cf-on .cf-foot .nt-qsep{display:none!important}
/* Continue: small, English "Continue"; short Bani name in .gp-cw may keep Punjabi */
html.cf-on .gp-cont, html.cf-on a.gp-cont{
  font-size:11px!important;padding:2px 8px!important;min-height:22px!important;line-height:1.2!important
}
html.cf-on .gp-cont .gp-ck .bi2, html.cf-on .gp-cont .gp-ck [lang="pa"]{display:none!important}


/* 1.0.5 — compact site footer: ONE small line. Legal / Shabad OS / Get the app / About / Privacy / Terms / Licences
   sit inside the collapsed Credits & disclaimer button (all text and links kept). A tiny Settings link may sit beside it.
   Remove big empty footer padding. Continue is a small single-line button (hidden when empty). */
html.cf-on footer#footer, html.cf-on footer#foot, html.cf-on footer.cf-site-foot, html.cf-on footer.cf-site-foot,
html.cf-on .cf-site-foot{
  margin:0!important;padding:4px 8px!important;min-height:0!important;height:auto!important;
  display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 8px;
  border-top:1px solid rgba(128,128,128,.2);background:transparent!important;
  font-size:11px;line-height:1.3
}
html.cf-on details.cf-credits{margin:0!important;font-size:11px!important}
html.cf-on details.cf-credits>summary, html.cf-on .cf-credits-btn,
html.cf-on footer#foot details#credits>summary{
  display:inline-flex!important;align-items:center;cursor:pointer;list-style:none;
  padding:2px 8px!important;min-height:22px!important;line-height:1.3!important;
  border:1px solid currentColor;border-radius:999px;opacity:.88;font-size:11px!important;
  width:auto!important;max-width:100%
}
html.cf-on details.cf-credits>summary::-webkit-details-marker{display:none}
html.cf-on .cf-settings-out, html.cf-on .cf-settings-out a, html.cf-on a.gp-setl{
  font-size:11px!important;line-height:1.3!important;padding:2px 6px!important;min-height:22px!important;
  text-decoration:none;white-space:nowrap;display:inline-flex;align-items:center;gap:2px
}
html.cf-on .cf-settings-out [lang="pa"], html.cf-on a.gp-setl [lang="pa"],
html.cf-on .cf-settings-out .nt-qsep, html.cf-on a.gp-setl .nt-qsep{display:none!important}
html.cf-on .cf-credits-body{margin-top:.35rem;flex-basis:100%;max-height:50vh;overflow:auto;font-size:12px;line-height:1.45}
html.cf-on .cf-credits-body a{color:inherit}
html.cf-on .cf-foot{margin:.3rem 0 .15rem!important;padding:0!important;border-top:none!important}
html.cf-on .cf-foot>*{margin:0 0 .12rem!important;padding:0!important}
/* Get the app, once inside credits, is a normal line — not a sticky bar */
html.cf-on .cf-credits-body #getapp-bar,
html.cf-on .cf-credits-body .getapp-f,
html.cf-on .cf-credits-body #getapp-f,
html.cf-on .cf-credits-body a.getapp{
  position:static!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;
  display:block!important;width:auto!important;height:auto!important;max-width:100%;
  margin:.2rem 0!important;padding:0!important;border:0!important;box-shadow:none!important;
  background:none!important;font-size:12px!important;min-height:0!important;border-radius:0!important
}
/* Continue: small one-line button; hide when empty */
html.cf-on a.gp-cont, html.cf-on .gp-cont, html.cf-on a.gp-cont.cf-cont-slim{
  display:inline-flex!important;align-items:center;flex-direction:row!important;flex-wrap:nowrap!important;
  white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;
  font-size:11px!important;line-height:1.2!important;padding:2px 8px!important;
  min-height:22px!important;max-height:28px!important;height:auto!important;width:auto!important;max-width:100%;
  margin:2px 0!important;box-shadow:none!important
}
html.cf-on a.gp-cont[hidden], html.cf-on .gp-cont[hidden],
html.cf-on a.gp-cont:empty, html.cf-on .gp-cont:empty{display:none!important}
html.cf-on .gp-cont .gp-ck, html.cf-on .gp-cont .gp-cw{display:inline!important;white-space:nowrap!important;font-size:11px!important}

/* 1.0.5 — remaining short bilingual chrome: English only. Short Bani/Granth names in .pothi-h stay. Never Gurbani. */
html.cf-on #pothi-play [lang="pa"],
html.cf-on #pothi-play .nt-qsep,
html.cf-on button.pothi-play [lang="pa"],
html.cf-on a.pothi-back .bi2,
html.cf-on a.pothi-back [lang="pa"],
html.cf-on a.adv-open .bi2,
html.cf-on a.adv-open [lang="pa"],
html.cf-on .pothi-resume [lang="pa"],
html.cf-on .pothi-resume .nt-qsep,
html.cf-on nav.pothi-pn .bi2,
html.cf-on #nt-quick [lang="pa"],
html.cf-on #nt-quick .nt-qsep,
html.cf-on #tabs [lang="pa"]:not(.gurbani),
html.cf-on #tabs .nt-qsep,
html.cf-on .cf-guide-tools [lang="pa"],
html.cf-on .cf-guide-tools .nt-qsep,
html.cf-on #sp-listen [lang="pa"],
html.cf-on #sp-listen .nt-qsep{display:none!important}

/* 1.0.6 — hide leftover bilingual separators once Punjabi chrome is hidden. Never Gurbani. */
html.cf-on .gpcal-ann-sep,
html.cf-on .cf-foot .gpcal-ann-sep,
html.cf-on .cf-settings-out .gpcal-ann-sep{display:none!important}


/* Paul 10:44am: car icon A (Classic sedan) is the chosen icon. Default stays A. */

/* 1.0.6 — Dasam/SGGS chrome still above the list: Go to Ang, Go, Banis heading. Short Bani names stay. */
html.cf-on .adv-go .bi2,
html.cf-on .adv-jump .bi2,
html.cf-on .adv-jump [lang="pa"],
html.cf-on .adv-go [lang="pa"],
html.cf-on #adv-paths .bi2,
html.cf-on #adv-paths [lang="pa"]{display:none!important}
/* 1.0.8 (30 Nov 2026) — Car mode button: ONE small classic sedan outline icon (icon A, drawn by paintCars), English "Car" only, tiny.
   Any older icon on the button (CSS ::before/::after mask, emoji span) is hidden so the icon never shows twice. Every page, every app. */
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]):has(.cf-car-ico)::before,
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]):has(.cf-car-ico)::after{content:none!important;display:none!important;-webkit-mask:none!important;mask:none!important;background:none!important}
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]):has(.cf-car-ico){font-size:0!important;line-height:1.2!important;min-height:0!important;height:auto!important;padding:3px 8px!important;gap:4px!important;align-items:center!important;width:auto!important;min-width:0!important}
/* (no display rule here: an app that hides the button, e.g. on TV, keeps it hidden; font-size 0 hides any loose Punjabi/emoji text node) */
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]):has(.cf-car-ico) > :not(.cf-car-ico):not(.en){display:none!important}
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]):has(.cf-car-ico) > .en{display:inline!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;font-size:12px!important;margin:0!important;padding:0!important;line-height:1.2!important}
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]) .cf-car-ico{display:inline-flex!important;position:static!important;width:16px!important;height:16px!important;clip:auto!important;overflow:visible!important}
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]) .cf-car-ico svg{width:16px!important;height:16px!important}

/* 1.0.9 (30 Nov 2026, Australia/Sydney, GM): Car mode button = ONE small classic sedan outline (icon A) only, on every
   page of every app. No visible "Car mode" / Punjabi / emoji label. Keep aria-label and title for the name. */
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]):has(.cf-car-ico) > .en,
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]):has(.cf-car-ico) > [lang="en"],
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]):has(.cf-car-ico) > [lang="pa"],
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]):has(.cf-car-ico) > .nt-qsep{display:none!important}
html:not(#_):not(#_) :is(#carbtn,.carbtn,.gp-carlink,a[href="#/car"],a[href="#/car/"]):has(.cf-car-ico){padding:3px 7px!important;gap:0!important;min-width:0!important;min-height:0!important;width:auto!important;font-size:0!important;line-height:1!important}

/* 1.0.9 — "Get the app" / download header button is as small as the other tiny header buttons. */
html:not(.tv):not(#_):not(#_) :is(#getapp,#getapp-hdr,a.getapp-hdr,a.getapp-bar,header.top .getapp,header.top .getapp-hdr){
  font-size:11px!important;line-height:1.2!important;padding:2px 8px!important;min-height:22px!important;height:auto!important;
  min-width:0!important;border-radius:999px!important;gap:3px!important;width:auto!important
}
html:not(.tv):not(#_):not(#_) :is(#getapp,#getapp-hdr,a.getapp-hdr) .ga-ico,
html:not(.tv):not(#_):not(#_) :is(#getapp,#getapp-hdr,a.getapp-hdr) [aria-hidden="true"]{font-size:11px!important}

/* 1.0.9 — phone (~390): remove big empty gaps between rows and above section titles. Minimal padding.
   Never changes Gurbani text or the A−/A/A+ size controls. */
@media (max-width:640px){
  html.cf-on:not(.tv) :is(.gp-home,.lc-home,.nt-page,.tvh-hero,.lc-intro){padding-top:4px!important;margin-top:0!important}
  html.cf-on:not(.tv) :is(.gp-home,.lc-home,.nt-page,.jr) :is(h1,h2,h3,.cf-title,.lc-rt,.td-h,.nt-head,.jr-lead){
    margin-top:6px!important;margin-bottom:4px!important;padding-top:0!important;padding-bottom:0!important}
  html.cf-on:not(.tv) :is(.tvr,.td-strip,.td-exp,.nt-block,.lb-journey,.jr,.grid.cards,.gp-tiles,.lc-hero,.nt-herorow,section.tvr){
    margin-top:8px!important;margin-bottom:8px!important;padding-top:0!important}
  html.cf-on:not(.tv) #content{padding-top:2px!important}
  html.cf-on:not(.tv) :is(.gurbani,[data-gurbani],.pothi,.pothi-line,.hk-line,.bk-line,.g-line){margin-top:revert;margin-bottom:revert;padding:revert}
}

/* 1.0.9 — phone header: show the tiny car icon (b1128 hid it and used a text "Car mode" footer link).
   The icon is ~16px, so the app name is not squeezed. Footer text link stays hidden. Not on TV (car mode is for cars). */
@media (max-width:480px){
  html.paath:not(.tv):not(.car):not(#_):not(#_) header.top .title-row :is(#carbtn,.carbtn):has(.cf-car-ico){
    display:inline-flex!important;align-items:center;justify-content:center;
    margin-left:auto!important;margin-right:4px!important
  }
  html:not(.tv):not(.car) .gp-carlink, html:not(.tv):not(.car) .gp-carline{font-size:0!important}
  html:not(.tv):not(.car) .gp-carlink:has(.cf-car-ico), html:not(.tv):not(.car) .gp-carline .gp-carlink:has(.cf-car-ico){
    display:inline-flex!important;padding:3px 7px!important
  }
}

/* 1.0.9 — Guide journey chrome: English only on long bilingual headings/labels. Tighten phone gaps on .jr-moved.
   Step content titles and Gurbani are not hidden. */
html.cf-on :is(.jr-h,.jr-lead,.jr-k,.jr-hd,.jr-go,.jr-primary,.jr-again,.jr-back,.jr-next) .jr-b2,
html.cf-on :is(.jr-h,.jr-lead,.jr-k,.jr-hd,.jr-go) [lang="pa"]{display:none!important}
@media (max-width:640px){
  html.cf-on:not(.tv) .jr-moved{margin-top:8px!important;margin-bottom:8px!important;padding-top:8px!important;gap:8px!important}
}


/* 1.0.10 — 30 Nov 2026, Australia/Sydney.
   Compact Favourites / Continue rails. Placement is per-app via SikhContentFirst.init({position:'top'|'bottom'}).
   These rules compact the rails themselves (and other lone full-width hero/poster cards).
   Gurbani, main content grids (Nitnem/Granth tiles, SKA category shelves) and A−/A/A+ are not touched. */
html.cf-on .cf-rails{
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  margin:4px 0 8px;padding:0;width:100%;box-sizing:border-box;
  border:0;background:none;min-height:0
}
html.cf-on .cf-rails > .shelf.favrail, html.cf-on .cf-rails > .shelf{width:100%}
html.cf-on .cf-rails-top{order:0}
html.cf-on .cf-rails-bottom{margin:10px 0 8px}
html.cf-on .cf-rails[hidden],html.cf-on .cf-rails:empty{display:none!important}
html.cf-on .cf-rail{max-width:100%}

/* Continue / Resume / hero: one compact row (small thumb + title + button). Override tall poster heroes. */
html.cf-on a.hero.rhero, html.cf-on a.rhero, html.cf-on a.ahero,
html.cf-on a.gp-cont, html.cf-on .gp-cont, html.cf-on a.gp-cont.cf-cont-slim,
html.cf-on a.pothi-resume, html.cf-on .pothi-resume, html.cf-on .pothi-cont,
html.cf-on a.lc-poster.lc-cont, html.cf-on a.lc-cont,
html.cf-on a.sp-man-cont, html.cf-on button.sp-go-cont, html.cf-on a.sp-go-cont,
html.cf-on #s-resume, html.cf-on #s-resume.big{
  display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  align-items:center!important;justify-content:flex-start!important;gap:8px!important;
  width:auto!important;max-width:100%!important;min-width:0!important;
  min-height:36px!important;height:auto!important;
  margin:2px 0!important;padding:4px 8px!important;
  box-sizing:border-box!important;border-radius:10px!important;
  font-size:12px!important;line-height:1.25!important;
  text-decoration:none;overflow:hidden;
  white-space:nowrap
}
html.tv.cf-on a.hero.rhero, html.tv.cf-on a.rhero, html.tv.cf-on a.ahero,
html.tv.cf-on a.gp-cont, html.tv.cf-on .gp-cont,
html.tv.cf-on a.pothi-resume, html.tv.cf-on .pothi-resume,
html.tv.cf-on #s-resume, html.tv.cf-on #s-resume.big{
  min-height:40px!important;font-size:14px!important;padding:6px 10px!important
}
html.cf-on a.hero.rhero .hbg{position:relative!important;inset:auto!important;flex:none!important;
  width:48px!important;height:32px!important;border-radius:6px!important;
  background-size:cover!important;transform:none!important;filter:none!important}
html.cf-on a.hero.rhero:after{display:none!important;content:none!important}
html.cf-on a.hero.rhero .kick, html.cf-on a.ahero .kick,
html.cf-on a.hero.rhero .hm{display:none!important}
html.cf-on a.hero.rhero .hin, html.cf-on a.ahero .hin{
  position:relative!important;flex:1 1 auto!important;min-width:0!important;
  max-width:none!important;padding:0!important;width:auto!important
}
html.cf-on a.hero.rhero .h1, html.cf-on a.hero.rhero h1, html.cf-on a.ahero .h1{
  font-size:12px!important;font-weight:600!important;line-height:1.25!important;
  margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  text-shadow:none!important
}
html.cf-on a.hero.rhero .hbtn, html.cf-on a.ahero .hbtn, html.cf-on a.ahero .aic{
  flex:none!important;width:auto!important;min-width:0!important;padding:4px 9px!important;font-size:11px!important
}
html.cf-on a.ahero .aic{width:32px!important;height:32px!important;padding:0!important;font-size:14px!important}
html.cf-on a.hero.rhero .hprog, html.cf-on a.ahero .hprog{display:none!important}

/* Favourites: compact horizontal rail of small cards (not a full-size shelf) */
html.cf-on .shelf.favrail, html.cf-on .shelf.cf-rail, html.cf-on .cf-rails .shelf{
  margin:2px 0 6px!important;padding:0!important
}
html.cf-on .shelf.favrail .shh, html.cf-on .cf-rails .shelf .shh{
  margin:0 0 2px!important;padding:0 12px!important;min-height:0!important
}
html.cf-on .shelf.favrail .shh .sec, html.cf-on .cf-rails .shelf .shh .sec,
html.cf-on .shelf.favrail .shh .more, html.cf-on .cf-rails .shelf .shh .more{
  font-size:12px!important;line-height:1.3!important;margin:0!important;padding:0!important
}
html.cf-on .shelf.favrail .cards, html.cf-on .cf-rails .shelf .cards{
  grid-auto-columns:96px!important;gap:8px!important;
  padding:2px 12px 6px!important;margin:0!important
}
html.cf-on .shelf.favrail .vcard, html.cf-on .cf-rails .shelf .vcard,
html.cf-on .shelf.favrail .vcard.btile, html.cf-on .cf-rails .shelf .vcard.btile{
  width:96px!important;min-width:0!important;max-width:96px!important;
  padding:0!important;gap:3px!important
}
html.cf-on .shelf.favrail .vcard .vt, html.cf-on .cf-rails .shelf .vcard .vt{
  font-size:11px!important;line-height:1.2!important;margin:0!important;
  -webkit-line-clamp:2;line-clamp:2
}
html.cf-on .shelf.favrail .vcard .vs, html.cf-on .cf-rails .shelf .vcard .vs{display:none!important}
html.tv.cf-on .shelf.favrail .cards, html.tv.cf-on .cf-rails .shelf .cards{grid-auto-columns:120px!important}
html.tv.cf-on .shelf.favrail .vcard, html.tv.cf-on .cf-rails .shelf .vcard{width:120px!important;max-width:120px!important}

/* If a rail was previously parked in .cf-foot, don't let the footer one-line rules crush it */
html.cf-on .cf-foot > a.hero, html.cf-on .cf-foot > a.rhero, html.cf-on .cf-foot > a.ahero,
html.cf-on .cf-foot > a.gp-cont, html.cf-on .cf-foot > .gp-cont,
html.cf-on .cf-foot > .shelf.favrail, html.cf-on .cf-foot > .cf-rails{
  white-space:normal!important;overflow:visible!important;display:flex!important;
  max-width:100%!important;background:inherit!important
}

/* Lone oversized single-item tiles / posters used as Continue (not main content grids) */
html.cf-on a.lc-poster.lc-cont, html.cf-on a.lc-today.lc-cont{
  display:inline-flex!important;flex-direction:row!important;align-items:center!important;
  min-height:36px!important;height:auto!important;max-width:100%!important;
  padding:4px 10px!important;gap:8px!important;font-size:12px!important
}
html.cf-on a.lc-poster.lc-cont b, html.cf-on a.lc-cont b{font-size:12px!important;margin:0!important}
html.cf-on a.lc-poster.lc-cont span, html.cf-on a.lc-cont span{
  font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
