.sj-shell{
  --sj-ink:#1b1b1b;
  --sj-muted:#737373;
  --sj-line:#dedede;
  --sj-soft:#f5f5f3;
  --sj-stage:#e9e9e6;
  --sj-accent:#f58200;
  width:min(1180px,calc(100vw - 32px));
  max-width:none!important;
  position:relative;
  left:50%;
  transform:translateX(-50%);
  margin:8px 0 58px;
  color:var(--sj-ink);
  font-family:inherit
}
.sj-shell *{box-sizing:border-box}
.sj-shell button{font:inherit}
.sj-shell button:focus-visible{outline:2px solid var(--sj-accent);outline-offset:2px}
.sj-viewer-section{scroll-margin-top:110px}
.sj-viewer-title{margin:0 0 7px;font:inherit;font-size:23px;font-weight:400;line-height:1.35;letter-spacing:0}
.sj-viewer-title[hidden]{display:none!important}
.sj-viewer-description{max-width:900px;margin:0 0 18px;font:inherit;font-size:15px;font-weight:400;line-height:1.6;color:var(--sj-muted)}
.sj-viewer-description[hidden]{display:none!important}
.sj-reader{height:min(720px,calc(100vh - 170px));min-height:560px;background:#fff;border:1px solid var(--sj-line);position:relative;overflow:visible;box-shadow:0 10px 28px rgba(0,0,0,.055)}
.sj-reader.is-mobile-single{height:auto;min-height:0;overflow:hidden}
.sj-stage{height:calc(100% - 64px);background:linear-gradient(180deg,#efefed 0%,var(--sj-stage) 100%);position:relative;overflow:visible;isolation:isolate;--turn-clear-x:clamp(36px,4vw,72px);--turn-clear-top:clamp(42px,5.5vh,76px);--turn-clear-bottom:clamp(44px,6vh,82px)}
.sj-reader.is-mobile-single .sj-stage{height:auto;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:thin}
.sj-reader.is-mobile-single.is-mobile-zoomed .sj-stage{touch-action:pan-x pan-y}
.sj-stage:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.18),transparent 24%,transparent 76%,rgba(255,255,255,.18));pointer-events:none;z-index:0}
.sj-book-mount{position:absolute;left:66px;right:66px;top:4px;bottom:18px;padding:var(--turn-clear-top) var(--turn-clear-x) var(--turn-clear-bottom);display:flex;align-items:center;justify-content:center;z-index:3;min-width:0;min-height:0;overflow:visible}
.sj-reader.is-mobile-single .sj-book-mount{position:relative;left:auto;right:auto;top:auto;bottom:auto;padding:12px;display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%;overflow:visible}
.sj-book-mount:after{content:"";position:absolute;left:18%;right:18%;bottom:calc(var(--turn-clear-bottom) - 18px);height:22px;border-radius:50%;background:rgba(0,0,0,.16);filter:blur(14px);z-index:-1;pointer-events:none;opacity:1;transition:opacity .14s ease}
.sj-reader.is-mobile-single .sj-book-mount:after{left:18%;right:18%;bottom:5px;height:16px;filter:blur(11px);background:rgba(0,0,0,.13)}
.sj-reader.is-turning .sj-book-mount:after{opacity:.24}
.sj-side-nav{position:absolute;z-index:20;top:50%;transform:translateY(-50%);width:44px;height:64px;padding:0;border:1px solid #d7d7d4;border-radius:4px;background:rgba(255,255,255,.96);color:#222;box-shadow:0 5px 18px rgba(0,0,0,.07);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}
.sj-side-prev{left:17px}.sj-side-next{right:17px}
.sj-side-nav:hover:not(:disabled){background:var(--sj-accent);border-color:var(--sj-accent);color:#fff;box-shadow:0 6px 18px rgba(245,130,0,.2)}
/* Extra desktop zoom can overlap the side navigation: keep controls visible but unobtrusive. */
.sj-reader.is-desktop-overzoom .sj-side-nav:not(:disabled){opacity:.52;background:rgba(255,255,255,.72);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.sj-reader.is-desktop-overzoom .sj-side-nav:hover:not(:disabled){opacity:.92;background:rgba(245,130,0,.9);border-color:var(--sj-accent);color:#fff}
.sj-side-nav:disabled{opacity:.25;cursor:default}
.sj-reader.is-desktop-overzoom .sj-side-nav:disabled{opacity:.16}
.sj-side-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sj-reader.is-mobile-single .sj-side-nav{display:none}
.sj-loading{position:absolute;z-index:90;inset:0;background:var(--sj-stage);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#222;transition:opacity .2s}
.sj-loading.is-hidden{opacity:0;pointer-events:none}
.sj-loading strong{font-size:14px;font-weight:500}
.sj-spinner{width:36px;height:36px;border:3px solid rgba(0,0,0,.14);border-top-color:var(--sj-accent);border-radius:50%;animation:sj-spin .75s linear infinite}
@keyframes sj-spin{to{transform:rotate(360deg)}}
.sj-toolbar{height:64px;border-top:1px solid var(--sj-line);padding:0 16px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background:#fff;position:relative;z-index:25}
.sj-toolbar-left,.sj-toolbar-center,.sj-toolbar-right{display:flex;align-items:center;gap:7px}
.sj-toolbar-left{justify-self:start}.sj-toolbar-center{justify-self:center}.sj-toolbar-right{justify-self:end}
.sj-toolbar button,.sj-pagination button{width:38px;height:38px;padding:0;border:1px solid #dfdfdc;border-radius:4px;background:#fff;color:#202020;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .16s ease,border-color .16s ease,color .16s ease}
.sj-toolbar button:hover:not(:disabled),.sj-pagination button:hover:not(:disabled){background:var(--sj-accent);border-color:var(--sj-accent);color:#fff}
.sj-toolbar button:disabled,.sj-pagination button:disabled{opacity:.28;cursor:default}
.sj-toolbar svg,.sj-pagination svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sj-counter{min-width:74px;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-align:center;font-size:13px;font-weight:600;color:#111}
.sj-counter b{font-weight:700}
.sj-other-section{margin-top:48px}
.sj-other-section>h2{margin:0 0 16px;font:inherit;font-size:27px;font-weight:400;line-height:1.25}
.sj-journal-list{display:flex;flex-direction:column;gap:9px}
.sj-journal-card{width:100%;display:grid;grid-template-columns:150px minmax(0,1fr) 30px;gap:22px;align-items:center;text-align:left;padding:12px 16px 12px 12px;border:1px solid var(--sj-line);border-left:3px solid transparent;border-radius:0;background:#fff;color:inherit;cursor:pointer;transition:background .16s ease,border-color .16s ease}
.sj-journal-card[hidden]{display:none!important}
.sj-journal-card:hover,.sj-journal-card:focus-visible{background:#fff8ef;border-color:#efc18d;border-left-color:var(--sj-accent);outline:0}
.sj-journal-cover{height:88px;background:#f2f2ef;border:1px solid #e6e6e2;display:flex;align-items:center;justify-content:center;overflow:hidden}
.sj-journal-cover img{display:block;width:100%;height:100%;object-fit:contain}
.sj-journal-copy{min-width:0;display:flex;flex-direction:column;gap:4px}
.sj-journal-copy strong{font-size:20px;font-weight:500;line-height:1.35;color:#191919}
.sj-journal-description{display:-webkit-box!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:14px!important;line-height:1.45;color:var(--sj-muted)}
.sj-journal-arrow{display:flex;align-items:center;justify-content:center;color:#777}
.sj-journal-card:hover .sj-journal-arrow{color:var(--sj-accent)}
.sj-journal-arrow svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sj-pagination{margin-top:18px;display:flex;align-items:center;justify-content:center;gap:7px}
.sj-pagination[hidden]{display:none!important}
.sj-pagination-pages{display:flex;align-items:center;justify-content:center;gap:7px}
.sj-pagination-page.is-active{background:var(--sj-accent);border-color:var(--sj-accent);color:#fff;cursor:default}
.sj-pagination-dots{min-width:20px;text-align:center;color:var(--sj-muted);font-size:14px}
.sj-empty-public{max-width:1180px;margin:32px auto;padding:22px;border:1px solid var(--sj-line);background:#fff}


/* Mobile portrait: one physical page, swipe navigation and local zoom. */
.sj-mobile-page{flex:0 0 auto;background:#fff;box-shadow:0 7px 20px rgba(0,0,0,.13);overflow:hidden;transform:translateZ(0);will-change:transform,opacity}
.sj-mobile-page img{display:block;width:100%;height:100%;object-fit:fill;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;pointer-events:none}
.sj-mobile-page.is-next{animation:sj-mobile-next .2s ease-out}
.sj-mobile-page.is-prev{animation:sj-mobile-prev .2s ease-out}
@keyframes sj-mobile-next{from{opacity:.56;transform:translateX(18px)}to{opacity:1;transform:translateX(0)}}
@keyframes sj-mobile-prev{from{opacity:.56;transform:translateX(-18px)}to{opacity:1;transform:translateX(0)}}

/* StPageFlip geometry. */
#sj-flipbook{width:100%;height:100%;margin:0!important;min-width:0!important;min-height:0!important;overflow:visible!important;background:transparent!important;flex:0 0 auto!important}
.sj-shell .stf__parent{margin:0!important;width:100%!important;height:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;overflow:visible!important;background:transparent!important;position:relative!important;display:block!important;box-sizing:border-box!important;transform:translateZ(0);-ms-touch-action:pan-y;touch-action:pan-y}
.sj-shell .stf__wrapper{width:100%!important;height:100%!important;padding-bottom:0!important;overflow:visible!important;background:transparent!important;position:relative!important;box-sizing:border-box!important}
.sj-shell .stf__block{box-shadow:none!important;overflow:visible!important;background:transparent!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;box-sizing:border-box!important;perspective:2000px}
.sj-pf-page{background:#fff;overflow:visible!important;box-shadow:none!important;transform-origin:0 0;will-change:transform,clip-path;backface-visibility:visible;-webkit-backface-visibility:visible}
.sj-pf-page>img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none;-webkit-user-drag:none;backface-visibility:hidden;-webkit-backface-visibility:hidden}
#sj-flipbook,.sj-shell .stf__parent,.sj-shell .stf__wrapper,.sj-shell .stf__block{contain:none!important;clip:auto!important;clip-path:none!important}
.sj-shell .stf__item{display:none;position:absolute!important;overflow:visible!important;transform-style:preserve-3d}
.sj-shell .stf__outerShadow,.sj-shell .stf__innerShadow,.sj-shell .stf__hardShadow,.sj-shell .stf__hardInnerShadow{position:absolute!important;left:0;top:0;pointer-events:none}
.sj-reader,.sj-stage,.sj-book-mount,#sj-flipbook,.sj-shell .stf__parent,.sj-shell .stf__wrapper,.sj-shell .stf__block,.sj-pf-page{overflow-anchor:none}
.sj-pf-page:not(.stf__item){position:absolute!important;left:0!important;top:0!important;visibility:hidden!important}
#sj-reader:fullscreen{width:100vw;height:100vh;min-height:0;border:0;display:flex;flex-direction:column;background:#fff}
#sj-reader:fullscreen .sj-stage{height:auto;min-height:0;flex:1}
#sj-reader:fullscreen .sj-toolbar{flex:0 0 64px}
#sj-reader:fullscreen .sj-book-mount{top:6px;bottom:18px}
#sj-reader:fullscreen.is-mobile-single .sj-stage{height:auto!important;min-height:0;flex:1;overflow:auto}
#sj-reader:fullscreen.is-mobile-single .sj-book-mount{top:auto;bottom:auto;left:auto;right:auto}

@media(max-width:900px){
  .sj-shell{width:calc(100vw - 20px)}
  .sj-reader{height:min(700px,78vh);height:min(700px,78svh);min-height:440px}
  .sj-reader.is-mobile-single{height:auto;min-height:0}
  .sj-book-mount{left:52px;right:52px}
  .sj-journal-card{grid-template-columns:130px minmax(0,1fr) 28px;gap:17px}
  .sj-journal-cover{height:80px}
}
@media(max-width:680px){
  .sj-shell{width:calc(100vw - 24px);margin-bottom:36px}
  .sj-viewer-title{font-size:20px}
  .sj-reader:not(.is-mobile-single){height:78vh;height:78svh;min-height:320px}
  .sj-reader.is-mobile-single{height:auto;min-height:0}
  .sj-stage{--turn-clear-x:clamp(16px,5vw,30px);--turn-clear-top:clamp(24px,5vh,42px);--turn-clear-bottom:clamp(28px,5vh,48px)}
  .sj-book-mount{left:8px;right:8px;top:2px;bottom:12px}
  .sj-reader.is-mobile-single .sj-book-mount{left:auto;right:auto;top:auto;bottom:auto;padding:10px}
  .sj-side-nav{display:none}
  .sj-toolbar{height:58px;padding:0 8px}
  .sj-reader.is-mobile-single .sj-toolbar{height:58px}
  .sj-toolbar-left,.sj-toolbar-center,.sj-toolbar-right{gap:4px}
  .sj-toolbar button,.sj-pagination button{width:35px;height:35px}
  .sj-toolbar svg,.sj-pagination svg{width:18px;height:18px}
  .sj-counter{min-width:54px;gap:3px}
  .sj-other-section{margin-top:36px}
  .sj-other-section>h2{font-size:24px}
  .sj-journal-card{grid-template-columns:92px minmax(0,1fr) 24px;gap:12px;padding:9px 10px 9px 9px}
  .sj-journal-cover{height:62px}
  .sj-journal-copy strong{font-size:16px}
  .sj-journal-description{font-size:12px!important;line-height:1.35;-webkit-line-clamp:2}
  .sj-pagination,.sj-pagination-pages{gap:5px}
}
@media(max-width:680px) and (orientation:landscape){
  .sj-shell{width:calc(100vw - 20px)}
  .sj-reader:not(.is-mobile-single){height:calc(100svh - 18px);min-height:300px;max-height:520px}
  .sj-stage{--turn-clear-x:16px;--turn-clear-top:18px;--turn-clear-bottom:22px}
}
@media(max-width:430px){
  .sj-toolbar{grid-template-columns:auto 1fr auto}
  .sj-toolbar-left{gap:3px}
  .sj-counter{font-size:12px}
  .sj-pagination-pages .sj-pagination-page{width:33px}
}
