html:not(.tm-shell-ok) body{visibility:hidden;animation:tmsv 0s 2s forwards}@keyframes tmsv{to{visibility:visible}}
/* inner-page shell (25.11): same rail, top bar, shelf and pills as the home page */
header.top,.sponsor,.bsd-top,footer.sfoot,.tmdock,.hbox{display:none!important}
svg.tmi{fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.tms-rail,.tms-top,.tms-mtop{font-family:Rubik,system-ui,sans-serif}
.tms-rail{position:fixed;top:10px;bottom:10px;right:10px;width:64px;z-index:60;display:flex;flex-direction:column;align-items:center;padding:6px 4px 14px;border-radius:22px;background:rgba(255,255,255,.88);border:1px solid rgba(201,160,74,.18);box-shadow:0 10px 30px -18px rgba(60,40,10,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.tms-logo{display:flex;flex-direction:column;align-items:center;gap:1px;height:44px;justify-content:center;text-decoration:none}
.tms-logo img{height:26px;width:auto}
.tms-logo span{font:700 10.5px 'David Libre','Frank Ruhl Libre',serif;color:#3E4A1C;white-space:nowrap}
.tms-i{display:flex;flex-direction:column;align-items:center;gap:4px;width:56px;padding:9px 0;margin-top:6px;border-radius:12px;color:#3a3f4c;text-decoration:none;font:500 11.5px/1.2 Rubik,sans-serif;text-align:center;transition:background .18s,color .18s}
.tms-i svg{width:22px;height:22px}
.tms-i:hover{background:rgba(201,160,74,.12);color:#1d2230}
.tms-i.on{background:rgba(201,160,74,.18);color:#7A5A16}
.tms-mid{flex:1;display:flex;flex-direction:column;justify-content:center;gap:4px}
.tms-bot{margin-top:auto}
.pf-av{position:relative;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#F3E7CC;color:#7A5A16;font:700 14px Rubik,sans-serif;box-shadow:0 0 0 1.5px rgba(201,160,74,.55)}
.pf-av.pf-0{background:transparent;box-shadow:0 0 0 1.5px rgba(58,63,76,.45)}
.pf-av svg{width:19px;height:19px}
.pf-av i{position:absolute;bottom:-1px;right:-1px;width:9px;height:9px;border-radius:50%;background:#3FA66B;box-shadow:0 0 0 2px #fff}
.pf-n{max-width:56px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tms-top{position:sticky;top:0;z-index:50;height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 96px 0 22px;direction:rtl}
.tms-shelf{position:absolute;left:0;right:84px;top:8px;height:120px;background:url(assets/shelf.svg) repeat-x center top/auto 120px;pointer-events:none;z-index:-1}
.tms-bsd{font:700 14px Rubik,sans-serif;color:#2d2618}
.tms-ctl{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:10px}
.tms-pill{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 14px;border-radius:99px;background:rgba(255,255,255,.86);border:1px solid rgba(201,160,74,.42);box-shadow:0 6px 18px -12px rgba(60,40,10,.45);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);color:#2d2618;text-decoration:none;font:600 13.5px Rubik,sans-serif;transition:background .18s,border-color .18s}
.tms-pill:hover{background:#fff;border-color:rgba(168,123,36,.7)}
.tms-ag{padding:0 14px 0 5px}
.tms-ag img{width:30px;height:30px;border-radius:50%;object-fit:cover;object-position:50% 20%}
.tms-lang b{font-weight:700}.tms-lang i{font-style:normal;font-weight:500;color:#8a8070;margin-inline-start:6px}
.tms-date{font:700 12.5px Rubik,sans-serif;color:#2d2618;display:inline-flex;gap:8px;align-items:center}
.tms-date i{font-style:normal;font-weight:300;font-size:14.5px}
.tms-mtop{display:none}
@media(min-width:761px){body{padding-right:84px!important}html.tm-shell main{position:relative;z-index:1;padding-top:60px}}
@media(max-width:760px){
 .tms-rail,.tms-top{display:none}
 .tms-mtop{display:flex;position:sticky;top:0;z-index:50;align-items:center;gap:8px;padding:8px 12px;background:rgba(251,248,241,.96);border-bottom:1px solid rgba(201,160,74,.18);direction:rtl}
 .tms-mlogo{display:flex;flex-direction:column;align-items:center;text-decoration:none;margin-left:auto}
 .tms-mlogo img{height:24px;width:auto}
 .tms-mlogo b{font:700 14px/1 'David Libre',serif;color:#3E4A1C}
 .tms-mtop .tms-pill{height:40px;font-size:13px}
 .tms-mtop .tms-mprof svg{width:18px;height:18px}
}
/* same plain look on the inner pages */
.tms-ctl{gap:0}
.tms-pill{background:transparent!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;height:36px;padding:0 16px;border-radius:10px;font:700 15px Rubik,sans-serif}
.tms-pill:hover{background:rgba(255,255,255,.7)!important}
.tms-ctl .tms-lang{border-inline-start:1px solid rgba(45,38,24,.28)!important;border-radius:0 10px 10px 0}
.tms-ag span::after{content:"";display:inline-block;width:16px;height:16px;margin-inline-start:5px;vertical-align:-2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23B8892E' d='M9 2.5C9.6 6.6 10.9 7.9 15 8.5 10.9 9.1 9.6 10.4 9 14.5 8.4 10.4 7.1 9.1 3 8.5 7.1 7.9 8.4 6.6 9 2.5Z'/%3E%3C/svg%3E") no-repeat center/contain}
.tms-ag img{width:28px;height:28px}
.tms-date{font-size:15px}.tms-date i{font-size:16px}.tms-bsd{font-size:15px}
@media(max-width:760px){.tms-mtop .tms-pill{background:rgba(255,255,255,.7)!important}}
.tms-prof.is-in .pf-av{background:#F6EEDC;box-shadow:none}
.tms-prof.is-in .pf-av::before{content:"";position:absolute;inset:-4px;border-radius:50%;background:conic-gradient(from 0deg,rgba(201,160,74,0) 0deg,rgba(201,160,74,.85) 110deg,rgba(43,182,115,.9) 200deg,rgba(43,182,115,0) 300deg);-webkit-mask:radial-gradient(circle,transparent 17px,#000 17.5px,#000 18.5px,transparent 19px);mask:radial-gradient(circle,transparent 17px,#000 17.5px,#000 18.5px,transparent 19px);animation:pfspin 5s linear infinite}
.tms-prof.is-in .pf-av i{width:8px;height:8px;background:#2BB673}
@keyframes pfspin{to{transform:rotate(1turn)}}
.tms-logo span{font-family:'Fraunces','David Libre',Georgia,serif;font-weight:600;font-size:11.5px;color:#2F3A1E}
.tms-logo span b{font-weight:600;color:#9A7A2C;font-style:italic}
.tms-mlogo b{font-family:'Fraunces','David Libre',Georgia,serif;font-weight:600}.tms-mlogo b em{color:#9A7A2C}
/* library page inside the shell: its own header keeps search / add / sources, under the shell bar; the olive brand moves out */
.ml-top .ml-brand img{display:none!important}
@media(min-width:761px){.ml-top{position:sticky;top:66px!important;z-index:40;background:rgba(246,244,239,.92)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}html.tm-shell .ml-main{padding-top:0}}
@media(max-width:760px){.ml-top{position:static!important}.ml-top .ml-brand span small{font-size:18px!important}}
@media(min-width:761px){html.tm-shell .ml-top:not(#x){position:sticky!important;top:66px!important;left:auto!important;right:auto!important;margin:0!important;width:auto!important}html.tm-shell .ml{margin-top:0!important;padding-top:0!important}}

/* sign-in = circle only (option 5) */
.tms-circ{position:relative;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1.5px solid rgba(31,42,77,.35);background:#fff;color:#1F2A4D;box-shadow:0 6px 16px -10px rgba(31,42,77,.55);flex:none;text-decoration:none}
.tms-circ svg{width:21px;height:21px}.tms-circ:hover{border-color:#1F2A4D}
.tms-circ .cav{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#F6EEDC;color:#7A5A16;font:700 15px Rubik,sans-serif}
.tms-circ.is-in::after{content:"";position:absolute;bottom:0;right:0;width:10px;height:10px;border-radius:50%;background:#2BB673;box-shadow:0 0 0 2px #fff}
.tms-ctl .tms-circ{margin-inline-start:6px}
@media(min-width:761px){.tms-rail .tms-prof{display:none!important}}
.tm-shell .cav svg,.hai-tlog-av svg{color:#7A5A16}

/* naava wordmark (Zion 1.12): wide logo, no round badge, no LiveOlive text */
html body .hai-brand .hai-logo:not(#a):not(#b):not(#c),html body .tms-logo img:not(#a):not(#b){width:64px!important;height:auto!important;min-width:0!important;max-width:none!important;border-radius:0!important;box-shadow:none!important;background:none!important;padding:0!important;object-fit:contain}
html body .tms-logo:not(#a){height:auto!important;padding:8px 0 4px}html body .tms-logo img:not(#a):not(#b):not(#c){width:58px!important}
/* 02.12 (Zion): like the home page, content that scrolls up behind the drawn bookshelf gets blurred, so the shelf stays clear */
.tms-top::before{content:"";position:absolute;left:0;right:0;top:0;height:132px;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(246,244,239,.86) 0%,rgba(246,244,239,.72) 75%,rgba(246,244,239,0) 100%);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);-webkit-mask:linear-gradient(180deg,#000 80%,transparent);mask:linear-gradient(180deg,#000 80%,transparent)}
.tms-top{isolation:isolate}
@media(max-width:760px){.tms-mtop{background:rgba(251,248,241,.86)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}}
