
.elec-catalog{margin:24px 0}.elec-catalog h2{margin:0 0 22px}.elec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.elec-card{min-width:0;background:#fff;border:1px solid #e6eaf0;border-radius:13px;overflow:hidden;padding:12px;box-shadow:0 5px 18px rgba(20,40,70,.07);transition:transform .2s,box-shadow .2s}.elec-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(20,40,70,.12)}.elec-card-link{text-decoration:none!important;color:inherit}.elec-cover{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:8px;background:#f3f5f7}.elec-no-cover{aspect-ratio:3/4;display:grid;place-items:center;background:#f1f4f8;color:#64748b}.elec-card h3{font-size:17px;line-height:1.4;margin:12px 0 7px}.elec-card p{font-size:14px;line-height:1.6;margin:0 0 12px}.elec-read-link{display:inline-block;font-weight:600}.elec-pagination{margin-top:24px}.elec-empty{padding:25px;background:#f7f9fc;border-radius:10px}
.elec-reader-wrap{--elec-ink:#17364a;--elec-muted:#667987;--elec-line:#dce5ea;--elec-accent:#176b56;margin:28px 0;padding:18px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;color:var(--elec-ink)}
.elec-reader-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.elec-preview-badge{font-size:12px;background:#e7f5ed;color:#176b3a;padding:5px 10px;border-radius:20px}
.elec-reader{background:#fff;border:1px solid var(--elec-line);border-radius:15px;overflow:hidden;box-shadow:0 8px 26px rgba(23,61,85,.05)}
.elec-toolbar{padding:10px 12px;display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;border-bottom:1px solid var(--elec-line)}
.elec-toolbar-group{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.elec-center{justify-content:center}.elec-right{justify-content:flex-end}
.elec-reader button,.elec-page-input{font:inherit}.elec-reader button{border:1px solid #ccd8df;background:#fff;color:var(--elec-ink);border-radius:9px;padding:8px 11px;min-height:38px;cursor:pointer}.elec-reader button:disabled{opacity:.38;cursor:not-allowed}.elec-reader button:focus-visible,.elec-page-input:focus-visible{outline:3px solid #8bc2e5;outline-offset:2px}.elec-primary-nav .elec-next{background:var(--elec-accent);border-color:var(--elec-accent);color:#fff}
.elec-page-input{width:54px;border:1px solid #ccd8df;border-radius:8px;padding:8px 5px;text-align:center;min-height:38px}.elec-total-label,.elec-center label{font-size:12px;color:var(--elec-muted)}.elec-status{font-size:12px;font-weight:700;white-space:nowrap;min-width:52px;text-align:center}
.elec-stage{min-height:420px;background:#eaf0f3;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}
.elec-page-frame{position:relative;display:flex;align-items:center;justify-content:center;width:min(100%,820px);height:min(78vh,1100px);aspect-ratio:auto;background:transparent;overflow:hidden}
.elec-page{display:none;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;transform-origin:center;transition:transform .12s;box-shadow:0 5px 22px rgba(16,43,60,.14);touch-action:pan-y}
.elec-page.is-active{display:block}
.elec-swipe-hint{text-align:center;font-size:10px;color:var(--elec-muted);padding:4px 8px 0}
.elec-progress{height:4px;background:#e7edf0}.elec-progress span{display:block;height:100%;width:0;background:#25836a;transition:width .18s}
.elec-pager{padding:12px;border-top:1px solid var(--elec-line)}.elec-pager-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:9px}.elec-pager-head strong{font-size:13px}
.elec-range-tabs{display:flex;gap:6px;flex-wrap:wrap}.elec-range-tabs button{min-height:30px;padding:5px 9px;font-size:11px;border-radius:7px}.elec-range-tabs button.active{background:#e7f3ef;border-color:#8fc2b1;color:#145b49;font-weight:750}
.elec-pages{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}.elec-pages button{padding:7px 2px;min-height:36px;font-size:13px;border-radius:8px}.elec-pages button.active{background:var(--elec-accent);border-color:var(--elec-accent);color:#fff;font-weight:800}
.elec-reader-foot{padding:10px 13px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:var(--elec-muted);font-size:11px}.elec-preview-note{text-align:center;font-size:13px;color:#64748b}
.elec-premium-bridge{margin-top:18px;padding:18px;border-radius:12px;background:#fff7e8;border:1px solid #f1d7a7}.elec-premium-bridge p{margin:8px 0}.elec-premium-bridge span{font-size:12px;color:#775b2c}
.elec-reader-wrap:fullscreen{width:100vw;height:100vh;height:100dvh;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:#fff;overflow:hidden;display:flex;flex-direction:column}.elec-reader-wrap:fullscreen .elec-reader{flex:1;display:flex;flex-direction:column;border:0;border-radius:0;box-shadow:none;min-height:0}.elec-reader-wrap:fullscreen .elec-stage{flex:1;min-height:0;padding:10px}.elec-reader-wrap:fullscreen .elec-page-frame{height:100%;width:100%;max-width:100%;aspect-ratio:auto}.elec-reader-wrap:fullscreen .elec-pager{flex:0 0 auto;padding:8px 12px}.elec-reader-wrap:fullscreen .elec-reader-foot{flex:0 0 auto}
@media(max-width:900px){.elec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.elec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.elec-card{padding:8px}.elec-card h3{font-size:15px}.elec-reader-wrap{padding:10px}.elec-toolbar{grid-template-columns:1fr;gap:8px;padding:9px}.elec-toolbar-group,.elec-center,.elec-right{justify-content:center}.elec-primary-nav button{flex:1}.elec-stage{min-height:0;padding:8px 5px}.elec-page-frame{width:min(100%,51svh)}.elec-pager{padding:10px 8px}.elec-pager-head{align-items:flex-start}.elec-range-tabs{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.elec-range-tabs button{width:100%;padding:6px 2px}.elec-pages{gap:5px}.elec-pages button{min-height:42px}.elec-reader-wrap:fullscreen .elec-toolbar{padding:7px 8px;gap:6px}.elec-reader-wrap:fullscreen .elec-stage{padding:5px 4px}.elec-reader-wrap:fullscreen .elec-page-frame{height:100%;width:100%;max-width:100%}.elec-reader-wrap:fullscreen .elec-pager{padding:6px 7px}.elec-reader-wrap:fullscreen .elec-range-tabs button{min-height:38px;padding:3px 1px;font-size:10px}.elec-reader-wrap:fullscreen .elec-pages{gap:4px}.elec-reader-wrap:fullscreen .elec-pages button{min-height:36px;font-size:12px}.elec-reader-wrap:fullscreen .elec-reader-foot{font-size:10px;padding:5px 8px}}
@media(max-width:380px){.elec-reader-wrap{padding:8px 6px}.elec-reader button{padding:7px 9px;min-height:36px}.elec-pages{gap:4px}.elec-pages button{min-height:35px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.elec-card,.elec-page,.elec-progress span{transition:none}}

.elec-stage{touch-action:pan-y}.elec-reader-wrap:fullscreen .elec-stage{min-height:0}.elec-reader:focus{outline:none}


/* TEST5 fullscreen: let the active page consume the available viewport, not its normal-size dimensions. */
.elec-reader-wrap:fullscreen{width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#101820!important}
.elec-reader-wrap:fullscreen .elec-reader{flex:1 1 auto!important;min-height:0!important;width:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.elec-reader-wrap:fullscreen .elec-reader-heading{flex:0 0 auto!important;margin:0!important;padding:7px 14px!important;background:#fff!important}
.elec-reader-wrap:fullscreen .elec-toolbar{flex:0 0 auto!important;grid-template-columns:1fr auto 1fr!important;padding:8px 12px!important}
.elec-reader-wrap:fullscreen .elec-stage{flex:1 1 0!important;min-height:0!important;height:auto!important;width:100%!important;padding:4px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#101820!important}
.elec-reader-wrap:fullscreen .elec-page-frame{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.elec-reader-wrap:fullscreen .elec-page{height:100%!important;max-height:100%!important;width:auto!important;max-width:100%!important;object-fit:contain!important;box-shadow:0 8px 32px rgba(0,0,0,.35)!important}
.elec-reader-wrap:fullscreen .elec-pager{flex:0 0 auto!important;padding:5px 10px!important;background:#fff!important}
.elec-reader-wrap:fullscreen .elec-progress,.elec-reader-wrap:fullscreen .elec-swipe-hint{flex:0 0 auto!important}
.elec-reader-wrap:fullscreen .elec-reader-foot{flex:0 0 auto!important;padding:4px 10px!important;background:#fff!important}
.elec-reader-wrap:fullscreen .elec-premium-bridge,.elec-reader-wrap:fullscreen .elec-preview-note{display:none!important}
.elec-reader .elec-page{ -webkit-user-drag:none; user-select:none; -webkit-user-select:none; }
.elec-reader .elec-stage{ -webkit-touch-callout:none; }
@media(max-width:700px){.elec-reader-wrap:fullscreen .elec-toolbar{grid-template-columns:1fr!important}.elec-reader-wrap:fullscreen .elec-page{height:100%!important;max-width:98vw!important}.elec-reader-wrap:fullscreen .elec-reader-heading{padding:4px 8px!important}.elec-reader-wrap:fullscreen .elec-pager-head{margin-bottom:4px!important}.elec-reader-wrap:fullscreen .elec-pages button{min-height:30px!important}}


/* TEST6 — premium interaction layer */
.elec-reader-wrap{--elec-glow:rgba(39,190,151,.34)}
.elec-reader{box-shadow:0 12px 34px rgba(17,48,67,.09);transition:box-shadow .25s ease,border-color .25s ease}
.elec-reader button{position:relative;overflow:hidden;transition:transform .18s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease}
.elec-reader button:not(:disabled):hover{transform:translateY(-2px);border-color:#72b9a5;box-shadow:0 0 0 2px rgba(37,131,106,.08),0 5px 16px var(--elec-glow)}
.elec-reader button:not(:disabled):active{transform:translateY(0) scale(.97)}
.elec-primary-nav .elec-next:hover,.elec-pages button.active:hover{box-shadow:0 0 0 2px rgba(37,131,106,.14),0 0 20px rgba(37,131,106,.38)}
.elec-range-tabs button.active{box-shadow:0 0 13px rgba(37,131,106,.14)}
.elec-page{transition:transform .22s cubic-bezier(.2,.75,.25,1),filter .2s ease;will-change:transform;transform-origin:center center}
.elec-stage{position:relative}
.elec-stage:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,rgba(255,255,255,.08),transparent 68%);opacity:.7}
.elec-reader.elec-zoomed .elec-stage{cursor:grab;overflow:hidden;touch-action:none}
.elec-reader.elec-zoomed .elec-page{max-width:none!important;max-height:none!important}
.elec-reader-wrap:fullscreen{background:#08131b!important;color:#eef7f5!important}
.elec-reader-wrap:fullscreen .elec-reader-heading,
.elec-reader-wrap:fullscreen .elec-toolbar,
.elec-reader-wrap:fullscreen .elec-pager,
.elec-reader-wrap:fullscreen .elec-reader-foot{background:#101f29!important;color:#eaf5f2!important;border-color:rgba(255,255,255,.12)!important}
.elec-reader-wrap:fullscreen .elec-toolbar{color:#eaf5f2}
.elec-reader-wrap:fullscreen .elec-stage{background:radial-gradient(ellipse at center,#233744 0%,#0b1720 72%)!important}
.elec-reader-wrap:fullscreen .elec-page{height:auto!important;width:auto!important;max-height:calc(100% - 12px)!important;max-width:calc(100% - 12px)!important;object-fit:contain!important}
.elec-reader-wrap:fullscreen .elec-reader button{background:#172d38;color:#eaf5f2;border-color:#35505c}
.elec-reader-wrap:fullscreen .elec-primary-nav .elec-next,
.elec-reader-wrap:fullscreen .elec-pages button.active{background:#176b56;border-color:#25836a;color:#fff}
.elec-reader-wrap:fullscreen .elec-reader-foot{color:#a9c0c9}
.elec-reader-wrap:fullscreen .elec-preview-badge{background:#173b32;color:#a8e8d3}
.elec-reader-wrap:fullscreen .elec-progress{background:#233b46}
.elec-reader-wrap:fullscreen .elec-progress span{background:linear-gradient(90deg,#2ca982,#7ce4bf);box-shadow:0 0 12px rgba(70,220,170,.42)}
.elec-reader-wrap:fullscreen .elec-reader{background:#101f29}
@media(hover:none){.elec-reader button:not(:disabled):hover{transform:none;box-shadow:none}}
@media(prefers-reduced-motion:reduce){.elec-reader,.elec-reader button,.elec-page{transition:none!important}}


/* TEST7 — Living Page Animation: slow, subtle breathing zoom */
@keyframes elec-page-breathe{
  0%{scale:1 1;filter:brightness(1)}
  45%{scale:1.075 1.075;filter:brightness(1.025)}
  100%{scale:1.15 1.15;filter:brightness(1.045)}
}
.elec-reader.elec-breathing .elec-page.is-active{
  animation:elec-page-breathe 5.5s cubic-bezier(.35,0,.2,1) infinite alternate;
  transform-origin:center center;
  will-change:scale;
}
.elec-reader.elec-breathing.elec-user-control .elec-page.is-active{
  animation-play-state:paused!important;
}
.elec-reader-wrap:fullscreen .elec-reader.elec-breathing .elec-page.is-active{animation-duration:6s}
@media(max-width:700px){
  .elec-reader.elec-breathing .elec-page.is-active{animation-duration:6.5s}
}
@media(prefers-reduced-motion:reduce){
  .elec-reader.elec-breathing .elec-page.is-active{animation:none!important;scale:1 1}
}


/* TEST10.3 — discourage casual save/copy actions inside the ebook reader only. */
.elec-reader,.elec-reader *{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
}
.elec-reader img{
  -webkit-user-drag:none!important;
  user-drag:none!important;
  pointer-events:auto;
}


/* TEST10.4 — interactive animated reader: soft glow, depth, 3D hover and page entrance. */
.elec-reader{
  position:relative;
  isolation:isolate;
  border-color:rgba(91,173,151,.38);
  box-shadow:0 12px 34px rgba(17,48,67,.10),0 0 0 1px rgba(58,164,132,.06);
}
.elec-reader:before{
  content:"";
  position:absolute;inset:-2px;border-radius:17px;pointer-events:none;z-index:-1;
  background:linear-gradient(125deg,rgba(57,197,157,.22),rgba(92,158,220,.08),rgba(57,197,157,.18));
  filter:blur(15px);opacity:.55;animation:elec-reader-glow 7s ease-in-out infinite alternate;
}
@keyframes elec-reader-glow{0%{opacity:.28;filter:blur(12px)}100%{opacity:.72;filter:blur(19px)}}
.elec-stage{
  perspective:1200px;
  background:radial-gradient(ellipse at 50% 42%,#f8fbfc 0%,#e9f0f3 58%,#e3ebef 100%);
  transition:background .35s ease;
}
.elec-page-frame{
  transform-style:preserve-3d;
  transform:rotateX(var(--elec-tilt-x,0deg)) rotateY(var(--elec-tilt-y,0deg)) translateZ(0);
  transition:transform .28s cubic-bezier(.2,.75,.25,1),filter .3s ease;
  filter:drop-shadow(0 12px 18px rgba(13,40,54,.14));
  will-change:transform;
}
.elec-page-frame.elec-tilting{
  filter:drop-shadow(0 18px 25px rgba(13,40,54,.22));
}
.elec-page-frame:after{
  content:"";position:absolute;inset:0;border-radius:3px;pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.38),0 0 22px rgba(56,177,145,.10);
  opacity:.7;transition:opacity .3s ease,box-shadow .3s ease;
}
.elec-page-frame.elec-tilting:after{
  opacity:1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.65),0 0 30px rgba(56,177,145,.22);
}
.elec-page.elec-page-arrived{animation:elec-page-arrive .42s cubic-bezier(.2,.75,.25,1) both}
@keyframes elec-page-arrive{
  0%{opacity:.78;filter:brightness(.97);transform:translate3d(0,9px,0) scale(.985)}
  100%{opacity:1;filter:brightness(1);transform:translate3d(0,0,0) scale(1)}
}
.elec-reader-wrap:fullscreen .elec-stage{
  background:radial-gradient(ellipse at center,#263d49 0%,#12232d 58%,#09151d 100%)!important;
}
.elec-reader-wrap:fullscreen .elec-page-frame{filter:drop-shadow(0 20px 28px rgba(0,0,0,.38))}
.elec-reader-wrap:fullscreen .elec-reader:before{opacity:.7}
@media(hover:hover) and (pointer:fine){
 .elec-reader:not(.elec-zoomed) .elec-page-frame:hover{filter:drop-shadow(0 17px 24px rgba(13,40,54,.20))}
}
@media(hover:none){
 .elec-page-frame{transform:none!important;transition:filter .25s ease}
}
@media(prefers-reduced-motion:reduce){
 .elec-reader:before{animation:none!important}
 .elec-page-frame,.elec-page.elec-page-arrived{animation:none!important;transition:none!important;transform:none!important}
}


/* TEST10.5 — stronger child-visible breathing zoom. */
.elec-reader.elec-breathing .elec-page.is-active{
  transform-origin:center center;
  will-change:scale,filter;
}
.elec-reader.elec-zoomed.elec-breathing .elec-page.is-active{
  animation-play-state:paused!important;
}
@media(prefers-reduced-motion:reduce){
  .elec-reader.elec-breathing .elec-page.is-active{animation:none!important;scale:1 1;filter:none}
}


/* TEST10.7 — Context-aware reader cursors: page-turn pointer, zoom-in, grab/grabbing. */
.elec-page-frame{position:relative}
.elec-page-frame:before{
 content:"";position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;
 background:linear-gradient(90deg,rgba(23,107,86,.11) 0%,transparent 17%,transparent 83%,rgba(23,107,86,.11) 100%);
 transition:opacity .22s ease;
}
.elec-page-frame:hover:before{opacity:.7}
.elec-page-frame.elec-tilting:before{opacity:.95}
.elec-reader .elec-page-frame{cursor:default}
.elec-reader .elec-page{cursor:zoom-in}
.elec-reader.elec-zoomed .elec-page{cursor:grab!important}
.elec-reader.elec-zoomed.elec-dragging .elec-page{cursor:grabbing!important}
@media(hover:hover) and (pointer:fine){
 .elec-page-frame:hover .elec-page{filter:drop-shadow(0 5px 9px rgba(20,70,60,.10))}
}
@media(hover:none){
 .elec-page-frame:before{opacity:.22}
}


/* TEST11.0 — Dynamic Ebooks Catalog UI */
.elec-catalog{--ec-ink:#18384b;--ec-muted:#687e89;--ec-accent:#176b56;margin:30px 0;color:var(--ec-ink)}
.elec-catalog-hero{position:relative;overflow:hidden;margin:0 0 24px;padding:clamp(22px,4vw,38px);border:1px solid #dcebe6;border-radius:20px;background:linear-gradient(125deg,#f1faf7 0%,#f4f8fc 58%,#edf5f7 100%)}
.elec-catalog-hero:after{content:"";position:absolute;width:220px;height:220px;right:-70px;top:-95px;border-radius:50%;background:radial-gradient(circle,rgba(67,174,143,.16),rgba(67,174,143,0) 70%);pointer-events:none}
.elec-catalog-kicker{display:inline-block;margin-bottom:8px;color:#287b65;font-size:10px;font-weight:800;letter-spacing:.16em}
.elec-catalog-hero h2{position:relative;margin:0 0 7px;color:#173e50;font-size:clamp(25px,3.2vw,36px);line-height:1.2}
.elec-catalog-subtitle{margin:0 0 8px;color:#315e6c;font-size:15px;font-weight:650}
.elec-catalog-description{max-width:760px;margin:0;color:#607782;font-size:14px;line-height:1.7}
.elec-catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;padding:0 2px}
.elec-catalog-toolbar strong{font-size:17px;color:#1d4050}
.elec-catalog-toolbar span{font-size:12px;color:var(--ec-muted)}
.elec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.elec-card{min-width:0;padding:0;overflow:hidden;border:1px solid #e2e9ed;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(20,40,70,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.elec-card:hover{transform:translateY(-4px);border-color:#b9d9ce;box-shadow:0 13px 28px rgba(20,55,70,.12)}
.elec-card-cover-link{position:relative;display:block;overflow:hidden;background:#edf2f4;aspect-ratio:3/4;text-decoration:none!important}
.elec-cover{display:block;width:100%;height:100%;aspect-ratio:3/4;object-fit:cover;transition:transform .35s ease}
.elec-card:hover .elec-cover{transform:scale(1.035)}
.elec-no-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;height:100%;aspect-ratio:3/4;background:linear-gradient(145deg,#e9f2ef,#edf2f7);color:#6a828b;font-size:12px}
.elec-no-cover .dashicons{width:34px;height:34px;font-size:34px;color:#6c9b8b}
.elec-card-cover-label{position:absolute;left:10px;top:10px;padding:5px 8px;border-radius:20px;background:rgba(18,83,67,.9);color:#fff;font-size:9px;font-weight:800;letter-spacing:.05em}
.elec-card-body{padding:13px 14px 15px}
.elec-card h3{margin:0 0 7px;font-size:16px;line-height:1.4}
.elec-card h3 a{color:#1a3b4d;text-decoration:none}
.elec-card h3 a:hover{color:#176b56}
.elec-card-excerpt{min-height:58px;margin:0 0 10px;color:#647984;font-size:12px;line-height:1.6}
.elec-card-meta{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.elec-card-meta span{padding:4px 7px;border-radius:6px;background:#f1f6f5;color:#4e7067;font-size:10px}
.elec-read-link{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:9px 12px;border-radius:8px;background:#176b56;color:#fff!important;font-size:12px;font-weight:750;text-decoration:none!important;transition:background .2s ease,transform .2s ease}
.elec-read-link:hover{background:#105640;transform:translateY(-1px)}
.elec-pagination{display:flex;justify-content:center;gap:6px;margin-top:26px}
.elec-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border:1px solid #dce6e8;border-radius:8px;color:#315466;text-decoration:none}
.elec-pagination .page-numbers.current{border-color:#176b56;background:#176b56;color:#fff}
.elec-empty{padding:26px;border:1px dashed #cbded8;border-radius:14px;background:#f7fbf9;color:#315b50;text-align:center}
.elec-empty p{margin:6px 0 0;color:#6c817c;font-size:13px}
@media(max-width:900px){.elec-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:650px){.elec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.elec-card-body{padding:10px}.elec-card h3{font-size:14px}.elec-card-excerpt{font-size:11px;min-height:0}.elec-catalog-hero{padding:21px 18px;border-radius:15px}.elec-catalog-toolbar strong{font-size:15px}}
@media(max-width:360px){.elec-grid{gap:9px}.elec-card-body{padding:8px}.elec-card-meta span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.elec-card,.elec-cover,.elec-read-link{transition:none}}

/* TEST11.1 — Draft catalog preview is visibly marked for authorized editors. */
.elec-card-draft{border:1px dashed #c59a42;background:#fffdf7}
.elec-card-draft .elec-card-cover-label{background:rgba(130,83,13,.94)}
.elec-draft-notice{display:inline-block;margin:-2px 0 9px;color:#8a641d;font-size:10px;font-weight:650}

/* TEST11.2 — Premium responsive catalog cards, consistent cover stage, and load-more CTA */
.elec-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;perspective:1100px;align-items:stretch}
.elec-card{position:relative;display:flex;flex-direction:column;transform-style:preserve-3d;will-change:transform;animation:elecCardFloat 6.8s ease-in-out infinite}
.elec-card:nth-child(2n){animation-delay:-1.8s}
.elec-card:nth-child(3n){animation-delay:-3.1s}
.elec-card:hover{z-index:2;animation-play-state:paused;box-shadow:0 18px 38px rgba(21,65,72,.18),0 0 0 1px rgba(74,190,157,.25),0 0 24px rgba(74,190,157,.16)}
.elec-card-cover-link{flex:0 0 auto;aspect-ratio:3/4;isolation:isolate}
.elec-cover-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#e9f0ef}
.elec-cover-stage:before{content:"";position:absolute;inset:-12px;background-image:var(--elec-cover-bg);background-position:center;background-size:cover;filter:blur(13px) brightness(.72) saturate(.9);transform:scale(1.08);opacity:.85;z-index:-1}
.elec-cover-stage:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(255,255,255,.13),transparent 42%,rgba(12,38,50,.12));pointer-events:none}
.elec-card .elec-cover{position:relative;z-index:1;display:block;width:100%;height:100%;aspect-ratio:3/4;object-fit:contain;filter:drop-shadow(0 5px 7px rgba(0,0,0,.22));transition:transform .45s cubic-bezier(.2,.75,.25,1),filter .45s ease}
.elec-card:hover .elec-cover{transform:scale(1.075) translateY(-3px);filter:drop-shadow(0 12px 13px rgba(0,0,0,.32)) brightness(1.04)}
.elec-card-body{display:flex;flex:1 1 auto;flex-direction:column}
.elec-card h3{min-height:2.7em}
.elec-card-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:4.8em}
.elec-card-meta{margin-top:auto}
.elec-read-link{margin-top:2px}
.elec-pagination{display:flex;justify-content:center;margin:27px 0 8px}
.elec-more-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 25px;border-radius:999px;background:linear-gradient(120deg,#176b56,#238c78);box-shadow:0 8px 20px rgba(23,107,86,.22);color:#fff!important;font-size:13px;font-weight:750;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.elec-more-link:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(23,107,86,.3);filter:brightness(1.06)}
.elec-prev-link{background:#eef5f2;color:#245c4e!important;box-shadow:none}
@keyframes elecCardFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(max-width:900px){.elec-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:650px){.elec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.elec-card h3{font-size:14px}.elec-card-excerpt{font-size:11px;min-height:0}}
@media(prefers-reduced-motion:reduce){.elec-card{animation:none!important;transition:none!important}.elec-card .elec-cover{transition:none!important}}

/* TEST11.3 — Break out of narrow theme content wrappers and enforce desktop 4-column grid. */
.elec-catalog{
  position:relative;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-left:clamp(18px,4.5vw,72px)!important;
  padding-right:clamp(18px,4.5vw,72px)!important;
  box-sizing:border-box!important;
}
.elec-catalog .elec-grid{
  display:grid!important;
  width:100%!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:clamp(14px,1.7vw,24px)!important;
  align-items:stretch!important;
}
.elec-catalog .elec-catalog-hero,
.elec-catalog .elec-catalog-toolbar,
.elec-catalog .elec-pagination,
.elec-catalog .elec-empty{
  width:100%!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
.elec-catalog .elec-card{min-width:0!important;width:auto!important}
@media(max-width:1050px){
  .elec-catalog .elec-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .elec-catalog{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .elec-catalog .elec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
}
@media(max-width:360px){
  .elec-catalog .elec-grid{gap:9px!important}
}

/* TEST11.4 — Always-visible catalog discovery CTA, even before page 2 exists. */
.elec-more-soon{border:0;font-family:inherit;cursor:pointer}
.elec-more-status{flex-basis:100%;width:100%;margin-top:8px;color:#5c766d;font-size:12px;text-align:center}
.elec-pagination{flex-wrap:wrap}

/* TEST12.1: accessible front/back cover flip. The card keeps a fixed portrait stage; images are contained without distortion. */
.elec-card-cover-link{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:inherit;text-decoration:none!important;cursor:pointer;border-radius:9px;}
.elec-flip-trigger{perspective:1200px;isolation:isolate;}
.elec-flip-stage{position:relative;display:block;width:100%;aspect-ratio:3/4;border-radius:9px;overflow:hidden;background:linear-gradient(145deg,#e8f1ef,#dce8e8);box-shadow:0 7px 20px rgba(16,45,55,.13);}
.elec-flip-inner{position:absolute;inset:0;display:block;transform-style:preserve-3d;transition:transform .78s cubic-bezier(.2,.72,.2,1);}
.elec-flip-trigger.is-flipped .elec-flip-inner{transform:rotateY(180deg);}
.elec-cover-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:9px;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:linear-gradient(145deg,#e8f1ef,#dce8e8);}
.elec-cover-face .elec-cover{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;background:transparent;border-radius:0;}
.elec-cover-back{transform:rotateY(180deg);}
.elec-flip-hint{position:absolute;z-index:2;left:50%;bottom:10px;transform:translateX(-50%);padding:6px 11px;border-radius:20px;background:rgba(15,54,67,.82);color:#fff;font-size:11px;line-height:1.2;white-space:nowrap;opacity:0;transition:opacity .2s;pointer-events:none;}
.elec-flip-trigger:hover .elec-flip-hint,.elec-flip-trigger:focus-visible .elec-flip-hint,.elec-flip-trigger.is-flipped .elec-flip-hint{opacity:1;}
.elec-flip-trigger:focus-visible{outline:3px solid #4da6d8;outline-offset:4px;}
.elec-flip-trigger .elec-card-cover-label{position:absolute;z-index:3;top:9px;left:9px;pointer-events:none;}
@media(hover:hover) and (pointer:fine){.elec-flip-trigger:hover .elec-flip-stage{box-shadow:0 15px 32px rgba(16,45,55,.22);}.elec-flip-trigger:hover:not(.is-flipped) .elec-flip-inner{transform:rotateY(-5deg) rotateX(2deg) translateY(-2px);}.elec-flip-trigger.is-flipped:hover .elec-flip-inner{transform:rotateY(185deg) rotateX(2deg) translateY(-2px);}}
@media(prefers-reduced-motion:reduce){.elec-flip-inner,.elec-flip-hint{transition:none!important;}}


/* TEST12.2 — Reader book information panel */
.elec-book-info{--ebi-ink:#17364a;--ebi-muted:#647987;--ebi-accent:#176b56;position:relative;margin:22px 0 8px;padding:clamp(16px,3vw,28px);border:1px solid #dce9e5;border-radius:20px;background:radial-gradient(circle at 100% 0%,rgba(48,176,145,.12),transparent 36%),linear-gradient(145deg,#fbfefd,#f1f7f5);color:var(--ebi-ink);box-shadow:0 12px 32px rgba(23,61,85,.07);overflow:hidden}
.elec-book-info:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#36b69a,#176b56)}
.elec-book-info-head{margin-bottom:18px}.elec-info-kicker{font-size:10px;letter-spacing:.16em;font-weight:800;color:#16836d}.elec-book-info-head h2{font-size:clamp(21px,3vw,29px);line-height:1.25;margin:7px 0;color:var(--ebi-ink)}.elec-book-info-head p{margin:0;color:var(--ebi-muted);font-size:13px}
.elec-info-feature{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:17px;border:1px solid #e1ece8;border-radius:15px;background:rgba(255,255,255,.88);box-shadow:0 5px 16px rgba(20,55,70,.04)}.elec-info-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#e4f4ee;color:#13745d;font-size:22px}.elec-info-feature h3{font-size:16px;margin:0 0 7px}.elec-info-feature p{font-size:14px;line-height:1.75;margin:0;color:#405967}
.elec-info-credits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.elec-info-credit{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #e1ece8;border-radius:13px;background:rgba(255,255,255,.78)}.elec-info-credit>span{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#edf5f2;font-size:17px}.elec-info-credit div{min-width:0}.elec-info-credit small{display:block;color:var(--ebi-muted);font-size:11px;margin-bottom:3px}.elec-info-credit strong{display:block;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.elec-info-contents{margin-top:12px;border:1px solid #dce9e5;border-radius:14px;background:#fff;overflow:hidden}.elec-info-contents summary{display:flex;align-items:center;gap:10px;padding:15px 16px;cursor:pointer;list-style:none}.elec-info-contents summary::-webkit-details-marker{display:none}.elec-info-contents summary>span:first-child{font-size:19px}.elec-info-contents summary strong{font-size:14px}.elec-info-toggle{margin-left:auto;color:#16745f;font-size:12px;font-weight:700}.elec-info-content{padding:0 17px 17px 46px;color:#405967;font-size:14px;line-height:1.8;white-space:normal}.elec-info-contents[open] .elec-info-toggle{font-size:0}.elec-info-contents[open] .elec-info-toggle:after{content:"Tutup −";font-size:12px}
@media(max-width:760px){.elec-info-credits{grid-template-columns:repeat(2,minmax(0,1fr))}.elec-info-feature{padding:14px}.elec-info-credit{padding:10px}}
@media(max-width:420px){.elec-book-info{padding:15px 12px;border-radius:15px}.elec-info-credits{grid-template-columns:1fr 1fr;gap:7px}.elec-info-credit{gap:7px}.elec-info-credit>span{width:29px;height:29px;flex-basis:29px;font-size:15px}.elec-info-credit strong{font-size:12px}.elec-info-content{padding-left:14px}}
@media(prefers-reduced-motion:reduce){.elec-book-info *{scroll-behavior:auto!important;transition:none!important}}

/* Educational Content V1.0 */
.elec-educational-content{max-width:1000px;margin:28px auto 40px;padding:0 12px;color:inherit}
.elec-edu-section{margin:26px 0;padding:22px;border:1px solid rgba(120,130,145,.22);border-radius:16px;background:var(--elec-edu-bg,#fff);box-shadow:0 8px 24px rgba(20,35,55,.06)}
.elec-edu-section>header>span{font-size:10px;letter-spacing:.14em;font-weight:700;opacity:.62}
.elec-edu-section>header h2{margin:5px 0 18px;font-size:clamp(20px,3vw,27px)}
.elec-edu-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.elec-edu-value,.elec-edu-reflection,.elec-edu-word{padding:16px;border-radius:12px;background:#f4f7fb;border:1px solid #e4eaf2}
.elec-edu-content h3{margin:0 0 8px;font-size:17px}
.elec-edu-content p{margin:0;line-height:1.65}
.elec-edu-word small{display:block;margin-top:9px;opacity:.75}
.elec-edu-flip{min-height:180px;padding:0;border:0;background:transparent;perspective:900px;text-align:left;cursor:pointer}
.elec-edu-flip-inner{position:relative;display:block;min-height:180px;transform-style:preserve-3d;transition:transform .55s}
.elec-edu-flip.is-flipped .elec-edu-flip-inner{transform:rotateY(180deg)}
.elec-edu-front,.elec-edu-back{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:20px;border-radius:14px;backface-visibility:hidden;background:linear-gradient(145deg,#eaf3ff,#f8f4ff);border:1px solid #dce5f2}
.elec-edu-front strong{font-size:19px}.elec-edu-front small{opacity:.7}
.elec-edu-back{transform:rotateY(180deg);background:linear-gradient(145deg,#f1f8ee,#f4f7ff);overflow:auto}
.elec-edu-back span{line-height:1.55}
.elec-edu-quiz{grid-column:1/-1}
.elec-edu-quiz ol{padding-left:24px}
.elec-edu-question{padding:16px;margin:12px 0;border:1px solid #e1e5eb;border-radius:12px}
.elec-edu-question fieldset{border:0;padding:0;margin:0}
.elec-edu-question legend{font-weight:700;margin-bottom:12px}
.elec-edu-question label{display:flex;gap:9px;align-items:flex-start;padding:9px 10px;margin:6px 0;border-radius:8px;background:#f7f8fa;cursor:pointer}
.elec-edu-question label input{margin-top:4px}
.elec-edu-question.is-correct{border-color:#3b9b62;background:#f4fbf6}
.elec-edu-question.is-wrong{border-color:#d77a7a;background:#fff8f8}
.elec-edu-feedback{margin-top:10px;padding:10px;border-radius:8px;background:#eef3f8;line-height:1.5}
.elec-edu-quiz-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.elec-edu-quiz-actions button{padding:10px 16px;border-radius:8px;border:1px solid #245a91;background:#245a91;color:#fff;cursor:pointer}
.elec-edu-quiz-actions .elec-edu-retry{background:transparent;color:inherit;border-color:#aab4c0}
.elec-edu-score{margin-left:auto}
@media(max-width:640px){.elec-edu-content{grid-template-columns:1fr}.elec-edu-section{padding:16px}.elec-edu-flip,.elec-edu-flip-inner{min-height:160px}.elec-edu-score{width:100%;margin:4px 0 0}}

/* Educational Quiz V1.1 — gamified feedback and lightweight 3D interactions */
.elec-edu-quiz{position:relative}
.elec-edu-question{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#f7faff);border:1px solid #dfe8f4;border-radius:16px;box-shadow:0 5px 16px rgba(26,55,90,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.elec-edu-question:hover{transform:translateY(-3px);box-shadow:0 12px 25px rgba(36,90,145,.12);border-color:#a9c8ed}
.elec-edu-question legend{font-size:16px;line-height:1.55;color:#18324d}
.elec-edu-question label{position:relative;transform:translateZ(0);border:1px solid #e4eaf2;background:linear-gradient(135deg,#fff,#f5f8fc);box-shadow:0 3px 0 #e7edf5;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.elec-edu-question label:hover{transform:translateY(-2px) perspective(500px) rotateX(1deg);border-color:#80b6ef;box-shadow:0 5px 0 #d5e6f8,0 8px 18px rgba(44,125,210,.13);background:#f2f8ff}
.elec-edu-question label.is-selected{border-color:#6ba7ed;background:linear-gradient(135deg,#eaf4ff,#f8fbff);box-shadow:0 0 0 2px rgba(66,145,230,.12),0 4px 0 #cbdff5}
.elec-edu-question label.is-answer-correct{border-color:#2eaa70!important;background:linear-gradient(135deg,#e8fff2,#f5fff9)!important;box-shadow:0 0 0 2px rgba(46,170,112,.12),0 0 18px rgba(46,170,112,.2)!important}
.elec-edu-question label.is-answer-wrong{border-color:#df7777!important;background:#fff1f1!important}
.elec-edu-question.is-correct{border-color:#43b77c;background:linear-gradient(145deg,#f4fff8,#fff);box-shadow:0 0 0 2px rgba(67,183,124,.1),0 10px 26px rgba(46,170,112,.12)}
.elec-edu-question.is-wrong{border-color:#e3a0a0;background:linear-gradient(145deg,#fff8f8,#fff)}
.elec-edu-question.is-unanswered{border-color:#e6bd69}
.elec-edu-feedback{padding:14px 16px;margin-top:13px;border:1px solid #d9e8f6;border-radius:12px;background:linear-gradient(135deg,#f0f7ff,#f8fbff);box-shadow:inset 0 1px 0 rgba(255,255,255,.9);animation:elecEduReveal .32s ease both}
.elec-edu-answer-key{display:block;margin-bottom:7px;color:#145b9b;font-size:14px;font-weight:800}
.elec-edu-question.is-correct .elec-edu-answer-key{color:#167849}
.elec-edu-explanation{margin:0;line-height:1.65;color:#334b60}
.elec-edu-quiz-progress{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0 12px;padding:12px 14px;border-radius:12px;background:#f0f6fc;border:1px solid #dce9f7}
.elec-edu-progress-label{font-size:13px;font-weight:700;color:#315879}
.elec-edu-progress-track{display:block;flex:1 1 150px;height:9px;overflow:hidden;border-radius:20px;background:#dce7f3;box-shadow:inset 0 1px 3px rgba(20,50,80,.1)}
.elec-edu-progress-fill{display:block;width:0;height:100%;border-radius:20px;background:linear-gradient(90deg,#3d9be8,#39c79a);box-shadow:0 0 12px rgba(61,155,232,.4);transition:width .35s ease}
.elec-edu-quiz-actions button{border-radius:11px;font-weight:800;letter-spacing:.01em;box-shadow:0 4px 0 #174574,0 7px 14px rgba(36,90,145,.16);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.elec-edu-quiz-actions button:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 6px 0 #174574,0 11px 20px rgba(36,90,145,.2)}
.elec-edu-quiz-actions button:active{transform:translateY(2px);box-shadow:0 1px 0 #174574}
.elec-edu-quiz-actions button:disabled{opacity:.55;cursor:not-allowed;transform:none;filter:none}
.elec-edu-quiz-actions .elec-edu-retry{box-shadow:none}
.elec-edu-score{padding:8px 12px;border-radius:10px;background:#fff7df;color:#805400;font-size:14px}
.elec-edu-score.is-final{animation:elecEduPop .35s ease both}
@keyframes elecEduReveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes elecEduPop{0%{transform:scale(.92)}65%{transform:scale(1.04)}100%{transform:scale(1)}}
@media(max-width:640px){.elec-edu-question{padding:13px}.elec-edu-question:hover{transform:none}.elec-edu-question label:hover{transform:none}.elec-edu-quiz-progress{align-items:flex-start}.elec-edu-progress-track{flex-basis:100%}.elec-edu-quiz-actions{gap:10px}.elec-edu-quiz-actions button{min-height:42px}}
@media(prefers-reduced-motion:reduce){.elec-edu-question,.elec-edu-question label,.elec-edu-progress-fill,.elec-edu-quiz-actions button{transition:none!important}.elec-edu-question:hover,.elec-edu-question label:hover{transform:none!important}.elec-edu-feedback,.elec-edu-score.is-final{animation:none!important}}

/* Educational Content V1.2 — unified interactive flip-up learning cards */
.elec-edu-content{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:stretch;gap:18px}
.elec-edu-content>.elec-edu-quiz{grid-column:1/-1}
.elec-edu-flip{appearance:none;-webkit-appearance:none;position:relative;display:block;width:100%;min-width:0;min-height:220px;padding:0;border:0;border-radius:19px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer;perspective:1100px;isolation:isolate;filter:drop-shadow(0 8px 15px rgba(20,55,90,.10));transition:filter .25s ease,transform .25s ease}
.elec-edu-flip:before{content:"";position:absolute;inset:-2px;border-radius:21px;background:linear-gradient(125deg,#64d8ff,#9d83ff,#ff8bd1,#72e5c0);opacity:.48;filter:blur(9px);z-index:-1;transition:opacity .25s ease,filter .25s ease}
.elec-edu-flip-inner{position:relative;display:block;width:100%;min-height:220px;height:100%;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.2,.75,.2,1)}
.elec-edu-flip.is-flipped .elec-edu-flip-inner{transform:rotateY(180deg)}
.elec-edu-front,.elec-edu-back{position:absolute;inset:0;min-height:220px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;padding:23px;border-radius:18px;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;border:1px solid rgba(120,160,210,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 9px 24px rgba(25,55,95,.09);}
.elec-edu-front{background:radial-gradient(circle at 92% 8%,rgba(117,220,255,.34),transparent 34%),linear-gradient(145deg,#f7fbff 0%,#eef3ff 52%,#fff3fb 100%)}
.elec-edu-front:after,.elec-edu-back:after{content:"";position:absolute;top:-55%;left:-70%;width:45%;height:210%;transform:rotate(24deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);transition:left .7s ease;pointer-events:none}
.elec-edu-back{transform:rotateY(180deg);background:radial-gradient(circle at 95% 5%,rgba(118,238,203,.28),transparent 35%),linear-gradient(145deg,#f0fff9 0%,#eef7ff 56%,#f7f0ff 100%);overflow-y:auto;overscroll-behavior:contain}
.elec-edu-front>small:first-child{font-size:10px;letter-spacing:.15em;font-weight:800;color:#4777a8}
.elec-edu-front>strong{font-size:clamp(17px,2vw,21px);line-height:1.35;color:#203d60}
.elec-edu-back>strong{font-size:17px;line-height:1.35;color:#176d60}
.elec-edu-back>span{display:block;width:100%;font-size:14px;line-height:1.7;color:#304b60;white-space:normal;overflow-wrap:anywhere}
.elec-edu-flip-hint{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:5px;font-size:11px!important;font-weight:700;letter-spacing:.02em;color:#547b9c!important;opacity:.82}
.elec-edu-word-definition{display:block;max-height:95px;overflow:hidden;font-size:13px;line-height:1.55;color:#496176}
.elec-edu-word-definition b{color:#28577e}
.elec-edu-flip:focus-visible{outline:3px solid #2d8ed0;outline-offset:5px}
@media(hover:hover) and (pointer:fine){.elec-edu-flip:hover{transform:translateY(-5px) rotateX(1deg);filter:drop-shadow(0 14px 24px rgba(39,113,180,.22))}.elec-edu-flip:hover:before{opacity:.95;filter:blur(13px)}.elec-edu-flip:hover .elec-edu-front:after,.elec-edu-flip:hover .elec-edu-back:after{left:135%}.elec-edu-flip.is-flipped:hover .elec-edu-flip-inner{transform:rotateY(185deg) rotateX(1deg)}}
@media(max-width:640px){.elec-edu-content{grid-template-columns:1fr;gap:14px}.elec-edu-flip,.elec-edu-flip-inner,.elec-edu-front,.elec-edu-back{min-height:190px}.elec-edu-front,.elec-edu-back{padding:19px}}
@media(prefers-reduced-motion:reduce){.elec-edu-flip,.elec-edu-flip-inner,.elec-edu-flip:before,.elec-edu-front:after,.elec-edu-back:after{transition:none!important}.elec-edu-flip:hover{transform:none}}


/* Educational Content V1.3.4 — safer flip-card reading area and compact animated book info */
.elec-edu-content{align-items:stretch;gap:18px}
.elec-edu-flip,.elec-edu-flip-inner{min-height:300px!important}
.elec-edu-flip{height:300px!important;overflow:visible!important}
.elec-edu-front,.elec-edu-back{box-sizing:border-box;min-height:300px!important;height:300px!important;padding:28px 23px 22px!important;border-radius:19px}
.elec-edu-front{justify-content:center;overflow:hidden}
.elec-edu-back{justify-content:flex-start!important;align-items:stretch!important;gap:12px!important;padding:34px 23px 24px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable;overscroll-behavior:contain}
.elec-edu-back>strong{display:block;flex:0 0 auto;margin:3px 0 2px!important;padding-top:2px;line-height:1.45!important}
.elec-edu-back>span{display:block;flex:0 0 auto;width:100%;line-height:1.75!important;padding-bottom:2px}
.elec-edu-back>.elec-edu-back-subtitle{margin-top:10px!important}
.elec-edu-back .elec-edu-flip-hint{flex:0 0 auto;margin-top:10px!important;padding-bottom:4px}
.elec-edu-front>strong{overflow-wrap:anywhere}
.elec-edu-word .elec-edu-front>strong{font-size:clamp(20px,2.3vw,25px)}
.elec-edu-word .elec-edu-back{gap:9px!important}
.elec-edu-word .elec-edu-back-subtitle{margin-top:12px!important}
@media(hover:hover) and (pointer:fine){
 .elec-edu-flip:hover{transform:translateY(-4px) rotateX(1deg) scale(1.008)}
 .elec-edu-flip:hover:before{opacity:1;filter:blur(15px)}
}
.elec-book-info{margin:13px 0 10px!important;padding:clamp(13px,2vw,19px)!important;border-radius:17px!important;box-shadow:0 7px 20px rgba(23,61,85,.055)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.elec-info-synopsis-only{margin-top:16px!important}
.elec-info-feature{grid-template-columns:34px minmax(0,1fr)!important;gap:10px!important;padding:13px 15px!important;border-radius:14px!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.elec-info-icon{width:32px!important;height:32px!important;border-radius:10px!important;font-size:18px!important}
.elec-info-feature p{font-size:13.5px!important;line-height:1.65!important}
.elec-info-credits{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin-top:0!important}
.elec-info-credit{min-height:62px;box-sizing:border-box;padding:10px 11px!important;border-radius:13px!important;box-shadow:0 3px 10px rgba(20,55,70,.035);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease}
.elec-info-credit>span{flex:0 0 30px!important;width:30px!important;height:30px!important;border-radius:10px!important}
.elec-info-credit strong{font-size:12.5px!important}
@media(hover:hover) and (pointer:fine){
 .elec-book-info:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(23,90,105,.10)!important}
 .elec-info-feature:hover,.elec-info-credit:hover{transform:translateY(-3px);border-color:rgba(70,174,190,.55);box-shadow:0 9px 22px rgba(40,130,160,.12),0 0 13px rgba(110,205,220,.12)}
 .elec-info-credit:hover{background:#fff}
}
@media(max-width:760px){
 .elec-info-credits{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .elec-edu-flip,.elec-edu-flip-inner{min-height:280px!important;height:280px!important}
 .elec-edu-front,.elec-edu-back{min-height:280px!important;height:280px!important;padding:25px 19px 20px!important}
 .elec-edu-back{padding-top:31px!important}
}
@media(max-width:420px){
 .elec-info-credits{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .elec-info-credit{gap:6px!important;padding:9px 8px!important}
 .elec-info-credit strong{font-size:11.5px!important}
 .elec-edu-flip,.elec-edu-flip-inner{min-height:270px!important;height:270px!important}
 .elec-edu-front,.elec-edu-back{min-height:270px!important;height:270px!important;padding:23px 16px 18px!important}
 .elec-edu-back{padding-top:29px!important}
}
@media(prefers-reduced-motion:reduce){
 .elec-book-info,.elec-info-feature,.elec-info-credit{transition:none!important}
 .elec-book-info:hover,.elec-info-feature:hover,.elec-info-credit:hover{transform:none!important}
}


/* V1.3.9 — Premium conversion CTA, placed after the Free Reader */
.elec-premium-cta{--elec-gold:#f5d58b;position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;width:100%;max-width:900px;margin:24px auto;padding:3px;border-radius:23px;background:linear-gradient(120deg,#d7b45e,#174c3d,#f5dfaa,#174c3d,#d7b45e);background-size:300% 300%;animation:elecPremiumBorder 8s ease infinite;box-shadow:0 12px 35px rgba(7,45,35,.23),0 0 24px rgba(222,185,101,.20);transition:transform .4s ease,box-shadow .4s ease}
.elec-premium-cta:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(7,45,35,.34),0 0 38px rgba(245,213,139,.35)}
.elec-premium-content{position:relative;z-index:1;overflow:hidden;box-sizing:border-box;padding:clamp(22px,4vw,38px);border-radius:20px;color:#fff;background:radial-gradient(circle at 90% 5%,rgba(74,157,120,.30),transparent 36%),linear-gradient(135deg,#0a3028,#103f33 55%,#071e1a)}
.elec-premium-orb{position:absolute;z-index:0;top:-90px;right:-70px;width:230px;height:230px;border-radius:50%;background:rgba(237,196,105,.17);filter:blur(35px);animation:elecPremiumOrb 6s ease-in-out infinite alternate;pointer-events:none}
.elec-premium-orb-two{top:auto;right:auto;bottom:-120px;left:-80px;width:210px;height:210px;background:rgba(56,160,120,.18);animation-delay:1s}
.elec-premium-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.elec-premium-label{color:var(--elec-gold);font-size:11px;font-weight:900;letter-spacing:2px}
.elec-premium-exclusive{color:#f4dba5;border:1px solid rgba(245,213,139,.4);border-radius:30px;padding:6px 11px;font-size:9px;font-weight:700;letter-spacing:1px}
.elec-premium-heading{position:relative;margin-top:23px}
.elec-premium-crown{margin-bottom:7px;color:var(--elec-gold);font-size:29px;text-shadow:0 0 18px rgba(245,213,139,.5);animation:elecPremiumCrown 3s ease-in-out infinite}
.elec-premium-content h2{margin:0 0 13px;padding:0;color:#fff;font-size:clamp(25px,4vw,38px);line-height:1.17;font-weight:850;letter-spacing:-.7px}
.elec-premium-content h2 span{color:var(--elec-gold);text-shadow:0 0 18px rgba(245,213,139,.28)}
.elec-premium-hook{max-width:650px;margin:0 0 23px;color:#d5e7df;font-size:14px;line-height:1.7}
.elec-premium-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:25px}
.elec-premium-benefit{display:flex;align-items:center;gap:12px;box-sizing:border-box;min-height:75px;padding:13px;border:1px solid rgba(255,255,255,.12);border-radius:13px;background:rgba(255,255,255,.055);backdrop-filter:blur(8px);transition:transform .3s ease,background .3s ease,border-color .3s ease,box-shadow .3s ease}
.elec-premium-icon{flex:0 0 35px;font-size:25px;text-align:center}
.elec-premium-benefit strong{display:block;margin-bottom:4px;color:#f5d58b;font-size:12px;font-weight:800}
.elec-premium-benefit small{display:block;color:#e0eee6;font-size:11px;line-height:1.5}
.elec-premium-benefit:hover{transform:translateY(-5px) scale(1.015);border-color:rgba(245,213,139,.55);background:rgba(245,213,139,.12);box-shadow:0 8px 20px rgba(0,0,0,.15),0 0 15px rgba(245,213,139,.12)}
.elec-premium-button{position:relative;display:flex;justify-content:center;align-items:center;gap:14px;box-sizing:border-box;overflow:hidden;width:100%;padding:16px 20px;border-radius:12px;color:#17382c!important;background:linear-gradient(110deg,#f1d28c,#ffe9b3,#d9b45f);box-shadow:0 6px 0 #9f7938,0 10px 22px rgba(0,0,0,.23);font-size:13px;font-weight:900;letter-spacing:1px;text-align:center;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease}
.elec-premium-button:before{content:"";position:absolute;top:0;left:-120%;width:65%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.65),transparent);transform:skewX(-22deg);animation:elecPremiumShimmer 4s ease-in-out infinite}
.elec-premium-button:hover{transform:translateY(-3px);color:#102e23!important;box-shadow:0 9px 0 #9f7938,0 15px 28px rgba(0,0,0,.3)}
.elec-premium-button:active{transform:translateY(3px);box-shadow:0 2px 0 #9f7938}
.elec-premium-button span{position:relative;z-index:1}
.elec-premium-arrow{font-size:22px;transition:transform .25s ease}
.elec-premium-button:hover .elec-premium-arrow{transform:translateX(6px)}
.elec-premium-note{margin:17px 0 0;color:#c1d9cd;font-size:11px;line-height:1.6;text-align:center}
.elec-premium-decoration{display:flex;justify-content:center;gap:15px;margin-top:19px;color:#f5d58b;opacity:.7;font-size:12px}
@keyframes elecPremiumBorder{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes elecPremiumOrb{from{transform:translate(0,0) scale(.9)}to{transform:translate(-25px,25px) scale(1.2)}}
@keyframes elecPremiumShimmer{0%,65%{left:-120%}90%,100%{left:150%}}
@keyframes elecPremiumCrown{0%,100%{transform:translateY(0);text-shadow:0 0 12px rgba(245,213,139,.3)}50%{transform:translateY(-4px);text-shadow:0 0 24px rgba(245,213,139,.7)}}
@media(hover:hover) and (pointer:fine){.elec-premium-cta:hover{transform:translateY(-5px)} }
@media(max-width:600px){.elec-premium-benefits{grid-template-columns:1fr;gap:9px}.elec-premium-content{padding:22px 17px}.elec-premium-content h2{font-size:27px}.elec-premium-exclusive{font-size:8px}.elec-premium-benefit{min-height:65px}.elec-premium-button{padding:15px 12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.elec-premium-cta,.elec-premium-orb,.elec-premium-crown,.elec-premium-button:before{animation:none!important}.elec-premium-cta,.elec-premium-button,.elec-premium-benefit{transition:none!important}}


/* V1.3.10 — Premium CTA readability refinement.
   Presentation-only overrides: preserve CTA placement, destination and access rules. */
.elec-premium-content{
  color:#fff!important;
  background:
    radial-gradient(circle at 90% 5%,rgba(74,157,120,.24),transparent 36%),
    linear-gradient(135deg,#082820,#0b382d 55%,#061b17)!important;
}
.elec-premium-label{font-size:12px!important;color:#ffe3a0!important}
.elec-premium-exclusive{
  color:#fff0c9!important;
  border-color:rgba(255,226,160,.62)!important;
  font-size:10px!important;
}
.elec-premium-content h2{
  color:#fff!important;
  font-size:clamp(27px,4.2vw,40px)!important;
  line-height:1.22!important;
  text-shadow:0 2px 12px rgba(0,0,0,.24);
}
.elec-premium-content h2 span{
  color:#ffdf91!important;
  text-shadow:0 0 16px rgba(255,223,145,.24);
}
.elec-premium-hook{
  color:#f1f8f4!important;
  font-size:15px!important;
  line-height:1.75!important;
  font-weight:500;
  text-shadow:0 1px 5px rgba(0,0,0,.18);
}
.elec-premium-benefit{
  background:rgba(255,255,255,.105)!important;
  border-color:rgba(255,255,255,.23)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}
.elec-premium-benefit strong{
  color:#ffe2a0!important;
  font-size:13.5px!important;
  line-height:1.4!important;
}
.elec-premium-benefit small{
  color:#f0f7f3!important;
  font-size:12.5px!important;
  line-height:1.6!important;
  font-weight:500;
}
.elec-premium-icon{font-size:27px!important}
.elec-premium-button{
  color:#102d23!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:900!important;
}
.elec-premium-button:hover{color:#09251c!important}
.elec-premium-note{
  color:#edf6f0!important;
  font-size:12.5px!important;
  line-height:1.7!important;
}
.elec-premium-decoration{
  color:#ffe2a0!important;
  opacity:.9!important;
}
@media(max-width:600px){
  .elec-premium-content{padding:24px 18px!important}
  .elec-premium-content h2{font-size:clamp(25px,7vw,31px)!important}
  .elec-premium-hook{font-size:14px!important;line-height:1.7!important}
  .elec-premium-benefit{min-height:72px!important;padding:13px!important}
  .elec-premium-benefit strong{font-size:13px!important}
  .elec-premium-benefit small{font-size:12px!important}
  .elec-premium-exclusive{font-size:9px!important}
  .elec-premium-button{font-size:13px!important;padding:16px 12px!important}
  .elec-premium-note{font-size:12px!important}
}


/* v1.3.12 — lightweight, accessible catalog search */
.elec-catalog-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:12px;background:linear-gradient(110deg,#f5faf8,#f4f7fc);border:1px solid #dcebe5;border-radius:14px;box-shadow:0 5px 18px rgba(17,55,70,.045)}
.elec-catalog-search input[type=search]{flex:1 1 240px;min-width:0;min-height:46px;padding:10px 15px;border:1px solid #d4e0e4;border-radius:10px;background:#fff;color:#17364a;font:inherit;box-shadow:inset 0 1px 2px rgba(15,35,50,.035)}
.elec-catalog-search input[type=search]:focus{outline:3px solid rgba(31,133,108,.18);border-color:#25836a}
.elec-catalog-search button{min-height:46px;padding:10px 20px;border:1px solid #176b56;border-radius:10px;background:linear-gradient(135deg,#176b56,#218b70);color:#fff;font:inherit;font-weight:750;cursor:pointer;box-shadow:0 5px 13px rgba(23,107,86,.18);transition:transform .18s ease,box-shadow .18s ease}
.elec-catalog-search button:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(23,107,86,.25)}
.elec-search-reset,.elec-search-empty-reset{font-size:13px;font-weight:650;color:#176b56;text-decoration:none}
.elec-search-reset:hover,.elec-search-empty-reset:hover{text-decoration:underline}
.elec-search-empty-reset{display:inline-block;margin-top:8px}
@media(max-width:520px){.elec-catalog-search{gap:8px;padding:10px}.elec-catalog-search input[type=search]{flex-basis:100%;width:100%}.elec-catalog-search button{flex:1}}
@media(prefers-reduced-motion:reduce){.elec-catalog-search button{transition:none}}


/* v1.3.13 — Premium Catalog Grid: aligned search and responsive 4/2/1 layout */
.elec-catalog .elec-catalog-search{
  width:100%!important;
  max-width:1280px!important;
  margin:0 auto 20px!important;
  box-sizing:border-box!important;
}
.elec-catalog .elec-catalog-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  box-sizing:border-box!important;
  padding:0 2px 10px;
}
.elec-catalog .elec-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
@media(max-width:900px){
  .elec-catalog .elec-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
  }
}
@media(max-width:600px){
  .elec-catalog .elec-catalog-search{
    padding:10px!important;
    gap:8px!important;
  }
  .elec-catalog .elec-catalog-search input[type=search]{
    flex:1 1 100%!important;
    width:100%!important;
  }
  .elec-catalog .elec-catalog-search button{
    flex:1 1 100%!important;
    width:100%!important;
  }
  .elec-catalog .elec-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:16px!important;
    max-width:440px!important;
  }
  .elec-catalog .elec-card h3{font-size:15px}
  .elec-catalog .elec-card-excerpt{font-size:12px;min-height:0}
  .elec-catalog .elec-catalog-toolbar{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
}
@media(prefers-reduced-motion:reduce){
  .elec-catalog .elec-card{animation:none!important}
}


/* v1.3.14 — animated flip-up category cards */
.elec-category-section{width:100%;max-width:1280px;margin:36px auto 34px;padding:0 14px;box-sizing:border-box}
.elec-category-heading{text-align:center;margin:0 auto 22px;max-width:760px}
.elec-category-kicker{display:inline-block;font-size:10px;letter-spacing:.18em;font-weight:800;color:#16836e;margin-bottom:8px}
.elec-category-heading h2{font-size:clamp(22px,3vw,32px);line-height:1.2;margin:0 0 8px;color:#123a4a}
.elec-category-heading p{font-size:14px;color:#647b88;margin:0}
.elec-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;perspective:1400px}
.elec-category-card{min-width:0;min-height:248px;perspective:1200px;outline:none}
.elec-category-card-inner{height:100%;min-height:248px;position:relative;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.2,.75,.2,1);border-radius:20px}
.elec-category-card.is-flipped .elec-category-card-inner{transform:rotateY(180deg)}
.elec-category-face{position:absolute;inset:0;border-radius:20px;box-sizing:border-box;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden}
.elec-category-front{display:flex;flex-direction:column;align-items:flex-start;padding:18px 16px 16px;background:radial-gradient(circle at 85% 12%,rgba(89,226,196,.23),transparent 34%),linear-gradient(145deg,#102b4d 0%,#123d65 54%,#126b69 100%);border:1px solid rgba(170,235,226,.42);box-shadow:0 9px 22px rgba(14,45,75,.16),inset 0 1px 0 rgba(255,255,255,.18);color:#fff;transition:box-shadow .3s,filter .3s}
.elec-category-front:after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;right:-75px;bottom:-85px;background:radial-gradient(circle,rgba(255,202,83,.24),transparent 68%);pointer-events:none}
.elec-category-number{position:absolute;right:14px;top:13px;font-size:10px;font-weight:800;letter-spacing:.12em;color:#f6d27b;border:1px solid rgba(255,214,127,.55);border-radius:30px;padding:4px 7px}
.elec-category-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;margin:5px 0 13px;font-size:34px;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.24);box-shadow:0 8px 20px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.22);transition:transform .35s,filter .35s}
.elec-category-front h3{position:relative;z-index:1;font-size:16px;line-height:1.25;margin:0 0 8px;color:#fff;font-weight:800}
.elec-category-front p{position:relative;z-index:1;font-size:11px;line-height:1.5;margin:0 0 14px;color:rgba(240,250,255,.82)}
.elec-category-flip{position:relative;z-index:2;margin-top:auto;border:1px solid rgba(255,221,145,.58);border-radius:30px;background:linear-gradient(100deg,#f7d47d,#f3ad42);color:#18324b;font-size:11px;font-weight:800;padding:8px 13px;cursor:pointer;box-shadow:0 5px 13px rgba(0,0,0,.18);transition:transform .2s,box-shadow .2s}
.elec-category-back{transform:rotateY(180deg);padding:17px 16px 14px;background:radial-gradient(circle at 90% 0,rgba(255,211,115,.23),transparent 38%),linear-gradient(150deg,#092b2b,#104e4a 70%,#0e6658);border:1px solid rgba(255,214,130,.5);box-shadow:0 10px 24px rgba(7,43,43,.2);color:#fff;display:flex;flex-direction:column}
.elec-category-back-kicker{font-size:9px;letter-spacing:.16em;font-weight:800;color:#f7d27c}
.elec-category-back h3{font-size:15px;line-height:1.2;margin:7px 0 8px;color:#fff}
.elec-category-back ul{padding:0 0 0 16px;margin:0 0 10px;overflow:auto;max-height:116px;font-size:10px;line-height:1.55;color:rgba(255,255,255,.88)}
.elec-category-back li{padding:1px 0}
.elec-category-visit{display:block;text-align:center;margin-top:auto;padding:9px 10px;border-radius:30px;background:linear-gradient(100deg,#ffdf8b,#e9ad43);color:#19364a!important;text-decoration:none!important;font-size:10px;font-weight:900;box-shadow:0 5px 15px rgba(0,0,0,.2);transition:transform .2s,filter .2s}
.elec-category-unflip{align-self:center;margin-top:7px;border:0;background:transparent;color:rgba(255,255,255,.78);font-size:10px;text-decoration:underline;cursor:pointer;padding:3px 8px}
@media(hover:hover){
 .elec-category-card:hover .elec-category-front{box-shadow:0 15px 32px rgba(19,91,111,.24),0 0 0 2px rgba(56,211,181,.2),0 0 24px rgba(49,205,176,.18),inset 0 1px 0 rgba(255,255,255,.22)}
 .elec-category-card:hover .elec-category-icon{transform:translateY(-4px) scale(1.09) rotate(-3deg);filter:drop-shadow(0 8px 9px rgba(0,0,0,.2))}
 .elec-category-flip:hover,.elec-category-visit:hover{transform:translateY(-2px) scale(1.025);filter:brightness(1.06)}
}
.elec-category-flip:focus-visible,.elec-category-unflip:focus-visible,.elec-category-visit:focus-visible{outline:3px solid #ffd36f;outline-offset:3px}
@media(max-width:1050px){.elec-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:680px){.elec-category-section{margin:26px auto;padding:0 12px}.elec-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.elec-category-card,.elec-category-card-inner{min-height:236px}.elec-category-front{padding:14px 12px}.elec-category-icon{width:54px;height:54px;font-size:29px}.elec-category-front h3{font-size:14px}.elec-category-front p{font-size:10px}.elec-category-back{padding:14px 12px}.elec-category-back h3{font-size:13px}.elec-category-back ul{font-size:9px;max-height:112px}}
@media(max-width:390px){.elec-category-grid{grid-template-columns:1fr}.elec-category-card,.elec-category-card-inner{min-height:220px}}
@media(prefers-reduced-motion:reduce){.elec-category-card-inner,.elec-category-icon,.elec-category-flip,.elec-category-visit{transition:none!important}}


/* v1.3.15 — Illustrated playful category gallery */
.elec-category-gallery{max-width:1320px;margin:42px auto 40px;padding:0 16px}
.elec-category-gallery .elec-category-heading{margin-bottom:26px}
.elec-category-gallery .elec-category-kicker{color:#14866f;font-size:11px;letter-spacing:.12em}
.elec-category-gallery .elec-category-heading h2{font-size:clamp(25px,3vw,36px);font-weight:900;color:#173d56}
.elec-category-gallery .elec-category-heading p{font-size:15px;color:#607b88}
.elec-category-gallery .elec-category-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;perspective:1500px}
.elec-category-gallery .elec-category-card,
.elec-category-gallery .elec-category-card-inner{min-height:0;height:100%;aspect-ratio: .76 / 1}
.elec-category-gallery .elec-category-card{filter:drop-shadow(0 8px 12px rgba(29,70,83,.10))}
.elec-category-gallery .elec-category-card-inner{border-radius:22px}
.elec-category-gallery .elec-category-face{border-radius:22px}
.elec-category-gallery .elec-category-front{padding:9px;background:linear-gradient(145deg,#fff 0%,#fffdf4 100%);border:2px solid #fff;box-shadow:0 5px 0 #dcece8,0 10px 22px rgba(24,75,91,.13);color:#21445a}
.elec-category-gallery .elec-category-front:after{width:120px;height:120px;right:-55px;bottom:-65px;background:radial-gradient(circle,rgba(255,194,65,.20),transparent 70%)}
.elec-category-gallery .elec-category-number{z-index:2;right:14px;top:14px;background:#fff5cf;border:2px solid #ffd36c;color:#885d12;font-size:11px;padding:5px 8px;box-shadow:0 3px 8px rgba(108,84,22,.12)}
.elec-category-gallery .elec-category-art{position:relative;z-index:1;width:100%;aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#eaf6f4;box-shadow:inset 0 0 0 1px rgba(30,105,110,.10)}
.elec-category-gallery .elec-category-art:after{content:"";position:absolute;inset:0;border-radius:16px;pointer-events:none;box-shadow:inset 0 0 0 2px rgba(255,255,255,.65)}
.elec-category-gallery .elec-category-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.2,.75,.2,1),filter .4s ease}
.elec-category-gallery .elec-category-caption{position:relative;z-index:1;display:flex;flex-direction:column;flex:1;padding:11px 7px 6px}
.elec-category-gallery .elec-category-front h3{font-size:clamp(13px,1.2vw,16px);line-height:1.22;font-weight:900;color:#173d56;margin:0 0 6px}
.elec-category-gallery .elec-category-front p{font-size:11px;line-height:1.45;color:#607783;margin:0 0 10px}
.elec-category-gallery .elec-category-flip{margin-top:auto;align-self:flex-start;border:0;border-radius:30px;background:linear-gradient(100deg,#ffdc75,#ffb94f);color:#593e13;font-size:11px;font-weight:900;padding:9px 13px;box-shadow:0 4px 0 #e59a32,0 7px 12px rgba(191,126,30,.18)}
.elec-category-gallery .elec-category-back{padding:20px 17px 15px;background:radial-gradient(circle at 90% 8%,rgba(255,226,127,.28),transparent 34%),linear-gradient(145deg,#0e4561,#147b76 75%,#1a927d);border:2px solid rgba(255,255,255,.75);box-shadow:0 7px 0 #0b5a5b,0 13px 26px rgba(12,65,78,.22);color:#fff}
.elec-category-gallery .elec-category-back-kicker{font-size:10px;color:#ffe18a;font-weight:900;letter-spacing:.1em}
.elec-category-gallery .elec-category-back h3{font-size:16px;line-height:1.2;font-weight:900;color:#fff;margin:9px 0 5px}
.elec-category-gallery .elec-category-back-desc{font-size:11px;line-height:1.4;color:rgba(255,255,255,.85);margin:0 0 7px}
.elec-category-gallery .elec-category-back ul{font-size:11px;line-height:1.45;max-height:none;flex:1;margin:0 0 10px;padding-left:17px;color:#fff;overflow:auto}
.elec-category-gallery .elec-category-back li{padding:2px 0}
.elec-category-gallery .elec-category-visit{font-size:11px;padding:10px 8px;background:linear-gradient(100deg,#ffe38e,#ffc14f);color:#4c3919!important;box-shadow:0 4px 0 #d99530,0 8px 14px rgba(0,0,0,.15)}
.elec-category-gallery .elec-category-unflip{font-size:10px;color:rgba(255,255,255,.9);margin-top:9px}
@media(hover:hover) and (pointer:fine){
 .elec-category-gallery .elec-category-card:hover{filter:drop-shadow(0 16px 18px rgba(26,99,111,.20))}
 .elec-category-gallery .elec-category-card:hover .elec-category-front{box-shadow:0 7px 0 #dcece8,0 16px 30px rgba(24,91,108,.18),0 0 0 3px rgba(255,210,104,.35),0 0 24px rgba(69,205,174,.22)}
 .elec-category-gallery .elec-category-card:hover .elec-category-art img{transform:scale(1.075);filter:saturate(1.08)}
 .elec-category-gallery .elec-category-card:hover .elec-category-flip{transform:translateY(-2px) scale(1.025);box-shadow:0 6px 0 #e59a32,0 10px 17px rgba(191,126,30,.25)}
}
.elec-category-gallery .elec-category-card:focus-within .elec-category-front{outline:3px solid #ffd36f;outline-offset:3px}
@media(max-width:1050px){.elec-category-gallery .elec-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:680px){
 .elec-category-gallery{margin:28px auto;padding:0 12px}
 .elec-category-gallery .elec-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .elec-category-gallery .elec-category-card,.elec-category-gallery .elec-category-card-inner{aspect-ratio:.72/1}
 .elec-category-gallery .elec-category-front{padding:7px}
 .elec-category-gallery .elec-category-caption{padding:9px 5px 5px}
 .elec-category-gallery .elec-category-front h3{font-size:13px}
 .elec-category-gallery .elec-category-front p{font-size:10px}
 .elec-category-gallery .elec-category-flip{font-size:10px;padding:8px 10px}
 .elec-category-gallery .elec-category-back{padding:13px 11px 10px}
 .elec-category-gallery .elec-category-back h3{font-size:13px}
 .elec-category-gallery .elec-category-back ul{font-size:9px;line-height:1.35}
 .elec-category-gallery .elec-category-visit{font-size:9px;padding:8px 5px}
}
@media(prefers-reduced-motion:reduce){
 .elec-category-gallery .elec-category-art img{transition:none!important}
 .elec-category-gallery .elec-category-card-inner{transition:none!important}
}


/* v1.3.16 — Larger portrait artwork, title-only caption, compact catalog-style action */
.elec-category-gallery .elec-category-card,
.elec-category-gallery .elec-category-card-inner{aspect-ratio:.76/1;min-height:0}
.elec-category-gallery .elec-category-front{padding:9px;display:flex;flex-direction:column;gap:0}
.elec-category-gallery .elec-category-art{
  width:100%;aspect-ratio:3/4;flex:0 0 auto;min-height:0;
  border-radius:10px;overflow:hidden;background:#f1f7f5;
}
.elec-category-gallery .elec-category-art img{
  width:100%;height:100%;display:block;object-fit:cover;object-position:center;
}
.elec-category-gallery .elec-category-caption{
  flex:1 0 auto;min-height:0;padding:10px 3px 2px;display:flex;flex-direction:column;
}
.elec-category-gallery .elec-category-front h3{
  margin:0 0 9px;font-size:clamp(13px,1.15vw,15px);line-height:1.25;font-weight:900;
}
.elec-category-gallery .elec-category-front .elec-category-caption p{display:none!important}
.elec-category-gallery .elec-category-flip{
  width:100%;min-height:34px;align-self:stretch;margin-top:auto;
  border:0;border-radius:7px;background:#176f5c;color:#fff;
  font-size:11px;font-weight:700;line-height:1.2;padding:8px 9px;
  box-shadow:0 3px 0 #0f594a,0 5px 10px rgba(18,91,75,.13);
}
@media(hover:hover) and (pointer:fine){
 .elec-category-gallery .elec-category-card:hover .elec-category-art img{transform:scale(1.045)}
 .elec-category-gallery .elec-category-card:hover .elec-category-flip{
   transform:translateY(-1px);background:#21856e;box-shadow:0 4px 0 #0f594a,0 7px 14px rgba(18,91,75,.2)
 }
}
@media(max-width:680px){
 .elec-category-gallery .elec-category-card,.elec-category-gallery .elec-category-card-inner{aspect-ratio:.74/1}
 .elec-category-gallery .elec-category-front{padding:7px}
 .elec-category-gallery .elec-category-art{aspect-ratio:3/4;flex:0 0 auto}
 .elec-category-gallery .elec-category-caption{padding:8px 2px 1px}
 .elec-category-gallery .elec-category-front h3{font-size:12px;margin-bottom:7px}
 .elec-category-gallery .elec-category-flip{min-height:32px;font-size:10px;padding:7px 5px}
}


/* v1.3.17 — Fix category card vertical layout: image + title + flip action all visible */
.elec-category-gallery .elec-category-card{height:auto;aspect-ratio:.76/1;min-height:0}
.elec-category-gallery .elec-category-card-inner{height:100%;min-height:0;aspect-ratio:auto}
.elec-category-gallery .elec-category-front{
  display:flex;flex-direction:column;align-items:stretch;gap:0;
  height:100%;min-height:0;padding:9px;box-sizing:border-box;
}
.elec-category-gallery .elec-category-art{
  display:block;position:relative;width:100%;height:auto;min-height:0;
  flex:1 1 auto;aspect-ratio:auto;overflow:hidden;
}
.elec-category-gallery .elec-category-caption{
  display:flex;flex:0 0 65px;min-height:65px;height:65px;
  box-sizing:border-box;flex-direction:column;justify-content:space-between;
  padding:7px 2px 0;overflow:visible;
}
.elec-category-gallery .elec-category-front h3{
  display:block!important;flex:0 0 auto;margin:0 0 5px;
  min-height:16px;font-size:clamp(12px,1.05vw,14px);line-height:1.2;
  overflow:hidden;
}
.elec-category-gallery .elec-category-front .elec-category-caption p{display:none!important}
.elec-category-gallery .elec-category-flip{
  display:block!important;visibility:visible!important;opacity:1!important;
  position:relative;flex:0 0 31px;height:31px;min-height:31px;width:100%;
  margin:0;padding:6px 7px;align-self:stretch;box-sizing:border-box;
  border:0;border-radius:7px;background:#176f5c;color:#fff;
  font-size:10px;line-height:1.1;font-weight:800;
}
.elec-category-gallery .elec-category-back{
  display:flex;flex-direction:column;justify-content:flex-start;
}
.elec-category-gallery .elec-category-back ul{flex:1 1 auto;min-height:0}
.elec-category-gallery .elec-category-visit{flex:0 0 auto}
@media(max-width:680px){
 .elec-category-gallery .elec-category-card{aspect-ratio:.72/1}
 .elec-category-gallery .elec-category-front{padding:7px}
 .elec-category-gallery .elec-category-caption{flex-basis:61px;height:61px;min-height:61px;padding-top:6px}
 .elec-category-gallery .elec-category-front h3{font-size:11px;margin-bottom:4px}
 .elec-category-gallery .elec-category-flip{height:29px;min-height:29px;flex-basis:29px;font-size:9px}
}


/* v1.3.18 — Final category card proportions and clear section heading alignment */
.elec-category-gallery .elec-category-heading{
  display:block!important;width:100%!important;max-width:none!important;
  margin:0 auto 24px!important;text-align:center!important;
}
.elec-category-gallery .elec-category-heading h2{
  display:block!important;width:100%;text-align:center!important;
  margin:0 auto 8px!important;
}
.elec-category-gallery .elec-category-heading p{
  display:block!important;text-align:center!important;margin:0 auto!important;
}
.elec-category-gallery .elec-category-card{
  height:292px!important;min-height:292px!important;aspect-ratio:auto!important;
}
.elec-category-gallery .elec-category-card-inner{
  height:100%!important;min-height:292px!important;aspect-ratio:auto!important;
}
.elec-category-gallery .elec-category-front{
  height:100%!important;min-height:0!important;padding:9px!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
}
.elec-category-gallery .elec-category-art{
  height:auto!important;min-height:0!important;flex:1 1 auto!important;
  width:100%!important;aspect-ratio:auto!important;
}
.elec-category-gallery .elec-category-caption{
  position:relative!important;z-index:4!important;
  display:flex!important;flex:0 0 76px!important;height:76px!important;
  min-height:76px!important;padding:7px 2px 0!important;
  box-sizing:border-box!important;justify-content:space-between!important;
  overflow:visible!important;
}
.elec-category-gallery .elec-category-front .elec-category-caption h3{
  display:block!important;position:relative!important;z-index:5!important;
  color:#173d56!important;font-size:13px!important;line-height:1.2!important;
  font-weight:800!important;margin:0 0 5px!important;min-height:16px!important;
  overflow:hidden!important;
}
.elec-category-gallery .elec-category-front .elec-category-caption p{display:none!important}
.elec-category-gallery .elec-category-front .elec-category-flip{
  display:flex!important;visibility:visible!important;opacity:1!important;
  position:relative!important;z-index:8!important;
  flex:0 0 34px!important;width:100%!important;height:34px!important;
  min-height:34px!important;margin:0!important;padding:0 8px!important;
  align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;overflow:visible!important;
  border:0!important;border-radius:7px!important;
  background:#176f5c!important;color:#fff!important;
  font-family:inherit!important;font-size:10px!important;line-height:1.2!important;
  font-weight:800!important;white-space:normal!important;
  box-shadow:0 3px 0 #0f594a,0 5px 10px rgba(18,91,75,.13)!important;
  cursor:pointer!important;
}
.elec-category-gallery .elec-category-front .elec-category-flip span{
  display:inline!important;color:inherit!important;margin-left:4px!important;
}
@media(hover:hover) and (pointer:fine){
 .elec-category-gallery .elec-category-card:hover .elec-category-flip{
  transform:translateY(-1px);background:#21856e!important;
 }
}
@media(max-width:680px){
 .elec-category-gallery .elec-category-card,
 .elec-category-gallery .elec-category-card-inner{
  height:270px!important;min-height:270px!important;
 }
 .elec-category-gallery .elec-category-front{padding:7px!important}
 .elec-category-gallery .elec-category-caption{
  flex-basis:70px!important;height:70px!important;min-height:70px!important;padding-top:6px!important;
 }
 .elec-category-gallery .elec-category-front .elec-category-caption h3{font-size:11px!important}
 .elec-category-gallery .elec-category-front .elec-category-flip{
  flex-basis:31px!important;height:31px!important;min-height:31px!important;font-size:9px!important;
 }
}


/* v1.3.19 — Category-specific back content, balanced spacing and safe bottom padding */
.elec-category-gallery .elec-category-back{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:flex-start!important;gap:0!important;
  padding:15px 14px 17px!important;box-sizing:border-box!important;
  text-align:left!important;overflow:hidden!important;
}
.elec-category-gallery .elec-category-back-kicker{
  display:block!important;flex:0 0 auto!important;margin:0 0 7px!important;
  line-height:1.25!important;text-align:left!important;
}
.elec-category-gallery .elec-category-back h3{
  display:block!important;flex:0 0 auto!important;margin:0 0 7px!important;
  line-height:1.2!important;text-align:left!important;
}
.elec-category-gallery .elec-category-back .elec-category-back-desc{
  display:block!important;flex:0 0 auto!important;margin:0 0 9px!important;
  min-height:0!important;line-height:1.4!important;text-align:left!important;
  color:rgba(255,255,255,.88)!important;font-size:10px!important;
}
.elec-category-gallery .elec-category-back ul{
  display:block!important;flex:1 1 auto!important;min-height:0!important;
  width:100%!important;max-height:none!important;overflow:auto!important;
  box-sizing:border-box!important;margin:0 0 10px!important;
  padding:0 0 0 15px!important;text-align:left!important;
  font-size:10px!important;line-height:1.45!important;
}
.elec-category-gallery .elec-category-back li{
  display:list-item!important;margin:0!important;padding:2px 0!important;
  text-align:left!important;overflow-wrap:anywhere!important;
}
.elec-category-gallery .elec-category-back .elec-category-visit{
  display:block!important;position:relative!important;flex:0 0 auto!important;
  width:100%!important;box-sizing:border-box!important;margin:0 0 7px!important;
  padding:8px 9px!important;line-height:1.25!important;text-align:center!important;
}
.elec-category-gallery .elec-category-back .elec-category-unflip{
  display:block!important;position:relative!important;flex:0 0 auto!important;
  align-self:center!important;margin:0 0 1px!important;padding:5px 10px 3px!important;
  min-height:25px!important;line-height:1.3!important;text-align:center!important;
  white-space:nowrap!important;
}

/* v1.3.20 — reliable topic-list scrolling on flipped category cards */
.elec-category-gallery .elec-category-back ul{
  position:relative!important;z-index:5!important;pointer-events:auto!important;
  touch-action:pan-y!important;overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;cursor:grab!important;
  scrollbar-width:thin!important;scrollbar-color:rgba(255,220,145,.9) rgba(255,255,255,.16)!important;
}
.elec-category-gallery .elec-category-back ul:active{cursor:grabbing!important}
.elec-category-gallery .elec-category-back ul:focus-visible{
  outline:2px solid #ffdf8b!important;outline-offset:2px!important;border-radius:4px!important;
}
.elec-category-gallery .elec-category-back li{pointer-events:auto!important}

/* v1.3.21 — enforce a real, independently scrollable topic viewport */
.elec-category-gallery .elec-category-back ul{
  display:block!important;
  height:auto!important;
  max-height:116px!important;
  overflow-x:hidden!important;
  overflow-y:scroll!important;
  overscroll-behavior-y:contain!important;
  touch-action:pan-y!important;
  -webkit-overflow-scrolling:touch!important;
  pointer-events:auto!important;
  position:relative!important;
  z-index:20!important;
  scrollbar-width:auto!important;
  scrollbar-color:#f6c86d rgba(255,255,255,.18)!important;
}
.elec-category-gallery .elec-category-back{
  pointer-events:auto!important;
}
.elec-category-gallery .elec-category-back ul::-webkit-scrollbar{width:10px!important}
.elec-category-gallery .elec-category-back ul::-webkit-scrollbar-track{background:rgba(255,255,255,.16)!important;border-radius:10px!important}
.elec-category-gallery .elec-category-back ul::-webkit-scrollbar-thumb{background:#f6c86d!important;border:2px solid #145b55!important;border-radius:10px!important}

/* v1.3.22 — lightweight category topic dialog; retain existing illustrated flip-card design */
.elec-category-gallery .elec-category-back .elec-category-featured-topics{list-style:none!important;display:grid!important;gap:7px!important;margin:10px 0 12px!important;padding:0 2px!important;overflow:visible!important;flex:1 1 auto!important;min-height:0!important}
.elec-category-gallery .elec-category-back .elec-category-featured-topics li{position:relative;padding-left:17px!important;line-height:1.35!important;overflow-wrap:anywhere}
.elec-category-gallery .elec-category-back .elec-category-featured-topics li:before{content:"✦";position:absolute;left:0;color:#ffd36b;font-weight:900}
.elec-category-gallery .elec-category-back .elec-category-open-topics{display:block;width:100%;flex:0 0 auto;margin:2px 0 9px;padding:8px 12px;border:1px solid rgba(255,255,255,.55);border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}
.elec-category-gallery .elec-category-back .elec-category-open-topics:hover{background:rgba(255,211,107,.22);transform:translateY(-2px);box-shadow:0 5px 14px rgba(0,0,0,.16)}
.elec-category-dialog{width:min(560px,calc(100vw - 28px));max-width:560px;max-height:min(78vh,720px);padding:0;border:2px solid #f4cf78;border-radius:22px;color:#153d4b;background:linear-gradient(145deg,#fffdf6,#e9f8f4);box-shadow:0 24px 80px rgba(5,34,43,.35)}
.elec-category-dialog::backdrop{background:rgba(5,25,38,.62);backdrop-filter:blur(3px)}
.elec-category-dialog-inner{position:relative;padding:28px;max-height:min(78vh,720px);overflow:auto;overscroll-behavior:contain}
.elec-category-dialog-close{position:absolute;right:15px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#fff0c7;color:#174e5a;font-size:25px;line-height:1;cursor:pointer}
.elec-category-dialog .elec-category-back-kicker{display:block;margin:0 42px 8px 0;color:#a36a00;font-size:11px;font-weight:800;letter-spacing:.08em}
.elec-category-dialog h3{margin:0 42px 8px 0;color:#12475a;font-size:23px;line-height:1.2}
.elec-category-dialog p{margin:0 0 18px;color:#55717a;font-size:14px;line-height:1.55}
.elec-category-dialog ul{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.elec-category-dialog li{margin:0;padding:0}
.elec-category-dialog li a{display:flex;justify-content:space-between;align-items:center;gap:8px;height:100%;min-height:48px;padding:10px 12px;border:1px solid #d8e9e4;border-radius:12px;background:#fff;color:#174c59;text-decoration:none;font-size:13px;font-weight:600;transition:transform .16s ease,box-shadow .16s ease}
.elec-category-dialog li a:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(20,80,82,.12)}
.elec-category-dialog .elec-category-visit{display:block;text-align:center;margin-top:8px}
@media(max-width:520px){.elec-category-dialog-inner{padding:23px 17px}.elec-category-dialog ul{grid-template-columns:1fr}.elec-category-dialog h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){.elec-category-gallery .elec-category-back .elec-category-open-topics,.elec-category-dialog li a{transition:none}}

/* v1.3.23 — front face owns the collection link; back face is a clean info gateway */
.elec-category-gallery .elec-category-front .elec-category-front-link{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 34px!important;width:100%!important;height:34px!important;min-height:34px!important;
  margin:0!important;padding:0 8px!important;box-sizing:border-box!important;
  border:0!important;border-radius:7px!important;background:#176f5c!important;color:#fff!important;
  font-family:inherit!important;font-size:10px!important;line-height:1.2!important;font-weight:800!important;
  white-space:normal!important;box-shadow:0 3px 0 #0f594a,0 5px 10px rgba(18,91,75,.13)!important;
}
.elec-category-gallery .elec-category-front .elec-category-front-link:hover{background:#21856e!important;transform:translateY(-1px)}
.elec-category-gallery .elec-category-art-flip{cursor:pointer!important}
.elec-category-gallery .elec-category-art-flip:focus-visible{outline:3px solid #ffd36f!important;outline-offset:3px}
.elec-category-gallery .elec-category-back .elec-category-open-topics{
  display:block!important;flex:0 0 auto!important;width:100%!important;margin:auto 0 12px!important;
  padding:10px 12px!important;border:1px solid rgba(255,255,255,.55)!important;border-radius:999px!important;
  background:rgba(255,255,255,.14)!important;color:#fff!important;font:inherit!important;
  font-size:11px!important;font-weight:800!important;cursor:pointer!important;
}
.elec-category-gallery .elec-category-back .elec-category-unflip{margin:0 auto 5px!important;padding:7px 10px!important;min-height:30px!important}
.elec-category-gallery .elec-category-dialog-inner{overscroll-behavior:contain!important;overflow-y:auto!important;scrollbar-gutter:stable}


/* v1.3.26 — single lightweight category information panel */
.elec-category-gallery .elec-category-modal[hidden]{display:none!important}
.elec-category-gallery .elec-category-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px;box-sizing:border-box}
.elec-category-gallery .elec-category-modal-backdrop{position:absolute;inset:0;background:rgba(5,25,38,.66);backdrop-filter:blur(3px)}
.elec-category-gallery .elec-category-modal-panel{position:relative;z-index:1;width:min(560px,calc(100vw - 28px));max-height:min(78vh,720px);overflow:auto;overscroll-behavior:contain;padding:28px;border:2px solid #f4cf78;border-radius:22px;color:#153d4b;background:linear-gradient(145deg,#fffdf6,#e9f8f4);box-shadow:0 24px 80px rgba(5,34,43,.35);box-sizing:border-box;outline:none}
.elec-category-gallery .elec-category-modal-close{position:absolute;right:15px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#fff0c7;color:#174e5a;font-size:25px;line-height:1;cursor:pointer}
.elec-category-gallery .elec-category-modal-panel h3{margin:0 42px 8px 0;color:#12475a;font-size:23px;line-height:1.2}
.elec-category-gallery .elec-category-modal-desc{margin:0 0 18px;color:#55717a;font-size:14px;line-height:1.55}
.elec-category-gallery .elec-category-modal-topics{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.elec-category-gallery .elec-category-modal-topics li{margin:0;padding:0}
.elec-category-gallery .elec-category-modal-topics a{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:10px 12px;border:1px solid #d8e9e4;border-radius:12px;background:#fff;color:#174c59;text-decoration:none;font-size:13px;font-weight:600}
.elec-category-gallery .elec-category-modal-visit{display:block;text-align:center;margin-top:8px;padding:11px 14px;border-radius:12px;background:#176e5b;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:800}
html.elec-category-modal-open{overflow:hidden}
@media(max-width:520px){.elec-category-gallery .elec-category-modal-panel{padding:23px 17px}.elec-category-gallery .elec-category-modal-topics{grid-template-columns:1fr}.elec-category-gallery .elec-category-modal-panel h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){.elec-category-gallery .elec-category-modal-backdrop{backdrop-filter:none}}


/* v1.3.27 — clear return-to-home navigation above and below the ebook reader */
.elec-reader-home-nav{display:flex;justify-content:flex-start;align-items:center;margin:0 0 14px}
.elec-reader-home-nav-bottom{justify-content:center;margin:16px 0 2px}
.elec-reader-home-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 18px;border:1px solid #176b56;border-radius:10px;background:#176b56;color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:700;line-height:1.35;box-shadow:0 3px 9px rgba(23,107,86,.16);transition:background .16s ease,box-shadow .16s ease,transform .16s ease}
.elec-reader-home-button span{font-size:19px;line-height:1}
.elec-reader-home-button:hover{background:#105440;color:#fff!important;box-shadow:0 5px 14px rgba(23,107,86,.22);transform:translateY(-1px)}
.elec-reader-home-button:focus-visible{outline:3px solid #8bc2e5;outline-offset:3px}
@media(max-width:520px){.elec-reader-home-nav{margin-bottom:11px}.elec-reader-home-button{width:100%;box-sizing:border-box;min-height:46px;padding:11px 13px;font-size:13px}.elec-reader-home-nav-bottom{margin-top:14px}}
@media(prefers-reduced-motion:reduce){.elec-reader-home-button{transition:none}}
