/* v200 (the family, Nov 8 13:31): the menu is back on top under the header, in a new look — one row of plain words, swiped sideways; no pills, no buttons.
   (v199 had it as a navy bar at the bottom.) Same row on phones, tablets and computers (centered when it fits). */
/* the top row (v200): small light buttons with a thin gold border, swiped sideways; the open page filled navy; a thin gold hairline under the row */
.top7{position:sticky;top:0;z-index:40;background:#f3ede2;border-bottom:1px solid rgba(195,162,102,.6);direction:rtl}
html body .top7 .pills5{position:static;display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:8px;margin:0;padding:9px 12px;overflow-x:auto;overflow-y:hidden;
  background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.top7 .pills5::-webkit-scrollbar{display:none}
.top7 .pills5>a:first-child{margin-inline-start:auto}
.top7 .pills5>a:last-child{margin-inline-end:auto}
html body .top7 .pills5 a{flex:none;position:relative;display:flex;align-items:center;height:34px;padding:0 13px;margin:0;border:1px solid rgba(195,162,102,.6);border-radius:9px;background:#fffcf6!important;box-shadow:none;
  color:#2b3243!important;font-size:16px;font-weight:500;line-height:1;white-space:nowrap;text-decoration:none!important;-webkit-tap-highlight-color:transparent}
html body .top7 .pills5 a.on{color:#fff!important;font-weight:700;background:#263a63!important;border-color:#263a63}   /* v200 (the family 13:53 "should have some kind of border"): small light buttons, the open page filled navy */
html body .top7 .pills5 a[data-adm]{color:#6a7180!important}
html body .top7 .pills5 a:active{color:#263a63!important}
@media (hover:hover) and (pointer:fine){ html body .top7 .pills5 a:hover{color:#263a63!important} }
/* a soft fade at the edge where more words wait (left = further along in RTL; right = back to the start) */
.top7:before,.top7:after{content:"";position:absolute;top:0;bottom:1px;width:40px;pointer-events:none;opacity:0;transition:opacity .2s;z-index:1}
.top7:after{left:0;background:linear-gradient(to right,#f3ede2 20%,rgba(243,237,226,0))}
.top7:before{right:0;background:linear-gradient(to left,#f3ede2 20%,rgba(243,237,226,0))}
.top7.fade-l:after,.top7.fade-r:before{opacity:1}
@media (max-width:760px), (hover:none) and (pointer:coarse){ html body .top7 .pills5{padding:9px 10px} }
@media (max-width:360px){ html body .top7 .pills5 a{font-size:15px;padding:0 11px} }
@media print{ .top7{display:none!important} }
/* the v199 bottom bar is gone */
html body #tabbar{display:none!important}

/* the home "אלע זייטן": a plain list — one page per row, thin dividers, no boxes (the family 12:39) */
.ls6{display:block}
.ls6 .lr6{display:flex;align-items:center;gap:10px;width:100%;min-height:47px;padding:0 2px;margin:0;border:0;border-bottom:1px solid #ebe3d4;border-radius:0;background:none;box-shadow:none;
  color:#263a63;font:inherit;font-size:18px;font-weight:500;line-height:1.2;text-align:right;text-decoration:none;cursor:pointer;position:relative;-webkit-tap-highlight-color:transparent}
.ls6 .lr6:last-child{border-bottom:0}
.ls6 .lr6 span{flex:1 1 auto}
.ls6 .lr6 i{flex:none;width:7px;height:7px;border-left:1.5px solid #b9ae9a;border-bottom:1.5px solid #b9ae9a;transform:rotate(45deg);margin-left:4px}
.ls6 .lr6:active{background:rgba(195,162,102,.10)}
.ls6{background:#fffcf6;border-radius:14px;padding:2px 16px;margin:0 0 6px;border:1px solid #ebe3d4}
.ls6 .lr6 small,html body .ls6 .lr6 small.bk6s{flex:none;font-size:14px;color:#8a8170;border:0!important;background:none!important;padding:0!important;margin:0!important;box-shadow:none!important;border-radius:0!important}
.ls6 .lr6.soon6 span{color:#8a8170}
@media (hover:hover) and (pointer:fine){ .ls6 .lr6:hover{background:rgba(195,162,102,.08)} }

/* kept from v64/v88 (the old top bar is hidden since v5, these stay harmless) */
.dorbtn-m{display:none !important}
.fp-btns{display:none !important}   /* the home page's navy buttons doubled the bar */
.topnav .logoutbtn{background:none;border:1px solid rgba(239,227,200,.35);color:#efe3c8;font:inherit;font-weight:500;padding:5px 11px;border-radius:8px;cursor:pointer;margin-inline-start:6px}
.tb-r{display:none}
@media print{.tb-r{display:none!important}}

/* v200 (the family 14:04): the ספר tile shows the two real books on the left; the words sit on the right, the books stay clear */
html body .g6t .ph6.bk6t span{justify-content:flex-start;padding-inline-start:9%;background:linear-gradient(to left,rgba(38,58,99,.80) 0%,rgba(38,58,99,.45) 42%,rgba(38,58,99,0) 62%)}
html body .g6t .ph6.bk6t img{object-position:22% 50%}

/* v201: the cover colour picker in the book sheet: small covers, one row that scrolls sideways when narrow */
.bk6 .cv6{display:flex;gap:8px;justify-content:center;overflow-x:auto;padding:2px 2px 6px;direction:rtl;scrollbar-width:none}
.bk6 .cv6::-webkit-scrollbar{display:none}
.bk6 .cv6 button{flex:0 0 auto;border:0;background:none;padding:0;cursor:pointer;font:inherit;color:#2b3243;display:flex;flex-direction:column;align-items:center;gap:3px}
.bk6 .cv6 img{width:40px;height:57px;border-radius:3px;box-shadow:0 2px 6px rgba(10,20,50,.3);outline:2px solid transparent;outline-offset:2px;display:block}
.bk6 .cv6 button.on img{outline-color:#263a63}
.bk6 .cv6 small{font-size:12.5px;line-height:1}
.bk6 .cv6 button.on small{font-weight:700;color:#263a63}
