/* EXTRAS SECRET COMIC SHOP / isolated from Bimber and other Extras plugins */
.ecs-host-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.ecs-entrance{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;flex:0 0 auto!important;width:45px;height:40px;border:0!important;outline-offset:4px!important;background:transparent!important;box-shadow:none!important;color:#ff46ab!important;cursor:pointer!important;padding:3px!important;z-index:3!important}
.ecs-entrance img{display:block;width:35px!important;height:35px!important;object-fit:contain;filter:drop-shadow(0 0 5px #ff2e9d88) drop-shadow(0 0 7px #15d7fa55);transition:filter .2s,transform .2s}
.ecs-entrance:hover img,.ecs-entrance:focus-visible img{animation:ecs-flicker .55s steps(5) infinite;transform:translateY(-2px);filter:drop-shadow(0 0 8px #f13) drop-shadow(0 0 15px #00dffd)}
.ecs-entrance::after{content:'CLASSIFIED';position:absolute;bottom:-15px;right:-4px;opacity:0;pointer-events:none;color:#f5b1e0;font-size:9px;font-family:monospace;font-weight:700;letter-spacing:.07em;text-shadow:0 0 8px #e64ea7;white-space:nowrap;transition:opacity .16s}
.ecs-entrance:hover::after,.ecs-entrance:focus-visible::after{opacity:1}
.ecs-entrance.ecs-shortcode{width:auto;min-height:44px;gap:8px;padding:7px 11px!important;border:1px solid #a43679!important;border-radius:5px;background:#19131f!important}
.ecs-entrance-glyph{font-size:27px;line-height:1}
.ecs-entrance-word{font-size:12px;letter-spacing:.12em;color:#ffe0f7}
@keyframes ecs-flicker{0%,100%{opacity:1}25%{opacity:.55}50%{opacity:.9}70%{opacity:.4}}
.ecs-portal{position:fixed;inset:0;z-index:2147480000;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#eeeef4;line-height:1.35;box-sizing:border-box;font-size:14px;isolation:isolate}
.ecs-portal *{box-sizing:border-box}
.ecs-portal [hidden]{display:none!important}
.ecs-portal[hidden]{display:none!important}
.ecs-backdrop{position:absolute;inset:0;background:rgba(2,4,12,.46);backdrop-filter:blur(1.5px)}
.ecs-shop-panel{position:absolute;right:14px;top:var(--ecs-top,70px);width:min(650px,calc(100vw - 28px));max-height:calc(100vh - var(--ecs-top,70px) - 14px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #a02b87;border-right:4px solid #ef369d;border-radius:5px;background:linear-gradient(160deg,#0d1020 1%,#161225 49%,#080e1c 100%);box-shadow:0 5px 18px #ff309325,0 15px 65px #000b;scrollbar-color:#75375e #11111c}
.ecs-shop-panel[hidden],.ecs-reader-panel[hidden]{display:none!important}
.ecs-shop-panel.ecs-arrive{animation:ecs-reveal .44s steps(11,end) both}
@keyframes ecs-reveal{0%{clip-path:inset(0 100% 0 0);filter:contrast(5) saturate(2)}60%{filter:contrast(1.7)}100%{clip-path:inset(0 0 0 0);filter:contrast(1)}}
.ecs-shop-head{position:relative;padding:25px 24px 20px;border-bottom:1px solid #713561;overflow:hidden;isolation:isolate;min-height:164px;background:repeating-linear-gradient(115deg,#131529,#131529 2px,#191329 4px)}
.ecs-shop-head:before{content:'';position:absolute;right:-50px;top:-32px;width:240px;height:205px;border-radius:50%;background:radial-gradient(ellipse,#ff279447,transparent 71%);pointer-events:none}
.ecs-shop-head:after{content:'▦';position:absolute;right:38px;top:25px;font-size:90px;color:#4ce0f055;text-shadow:0 0 19px #19d8eb;transform:skew(-13deg);pointer-events:none}
.ecs-eyebrow{display:block;color:#ef55bb;font-size:10px;letter-spacing:.35em;font-family:monospace;font-weight:750;margin-bottom:7px;position:relative;z-index:1}
.ecs-title{margin:0!important;font-size:clamp(29px,4vw,44px)!important;font-weight:1000!important;letter-spacing:-.045em!important;font-style:italic;color:#ff55ba!important;line-height:1.1!important;text-shadow:2px 2px #602150,0 0 17px #ff29968e;max-width:470px;position:relative;z-index:1;text-transform:uppercase}
.ecs-subtitle{margin:10px 0 0!important;font-size:10px;letter-spacing:.13em;color:#8ee9f1;font-family:monospace;position:relative;z-index:1;max-width:490px}
.ecs-close{position:absolute;top:9px;right:9px;width:38px;height:38px;border:1px solid #6d516a;border-radius:3px;background:#181322;color:white;font-size:24px;cursor:pointer;z-index:5;line-height:1}
.ecs-close:hover,.ecs-close:focus-visible{background:#532448;border-color:#ff58b5}
.ecs-shop-body{padding:20px 21px 24px}
.ecs-section-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px}
.ecs-section-header h3{font-size:15px!important;margin:0!important;color:white!important;letter-spacing:.16em!important;line-height:1.2!important}
.ecs-small-label{font-size:10px;font-family:monospace;color:#f469b9;letter-spacing:.1em}
.ecs-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.ecs-issue{width:100%;min-width:0;border:0!important;padding:0 0 4px!important;background:transparent!important;color:inherit!important;text-align:center!important;cursor:pointer!important;display:flex;flex-direction:column;align-items:stretch;gap:5px;box-shadow:none!important}
.ecs-cover-wrap{display:block;position:relative;aspect-ratio: .69;overflow:visible;border:1px solid #356b79;box-shadow:0 0 0 2px #08131c,0 5px 12px #000b;transform-origin:center bottom;transition:transform .22s,box-shadow .22s}
.ecs-issue:nth-child(3n+1) .ecs-cover-wrap{border-color:#df46ae}.ecs-issue:nth-child(3n+2) .ecs-cover-wrap{border-color:#d4a56b}
.ecs-cover-wrap img{width:100%;height:100%;display:block;object-fit:cover}
.ecs-cover-wrap .ecs-cover-empty{height:100%;display:flex;justify-content:center;align-items:center;padding:10px;font-weight:900;font-size:19px;text-align:center;background:linear-gradient(125deg,#3c1b55,#182d4d)}
.ecs-issue:hover .ecs-cover-wrap,.ecs-issue:focus-visible .ecs-cover-wrap{transform:translateY(-6px) scale(1.04);box-shadow:0 0 13px #fa249e88,0 10px 23px #000c}
.ecs-issue-name{font-weight:800;font-size:11px;color:#f3eef2;line-height:1.3;margin-top:7px}
.ecs-issue-genre{font-size:9px;color:#7dddde;font-family:monospace;letter-spacing:.08em;text-transform:uppercase}
.ecs-sample-chip{position:absolute;right:0;bottom:0;padding:2px 5px;background:#180c1a;border-top:1px solid #ff64ad;border-left:1px solid #ff64ad;font-size:8px;color:#ffe1ed}
.ecs-shop-note{border-top:1px solid #4c3b56;margin-top:19px;padding-top:15px;color:#a9b6c5;font-size:12px;line-height:1.5}
.ecs-shop-empty{padding:30px 16px;color:#b7b4bf;text-align:center;border:1px dashed #80577e}
.ecs-meta-line{margin-top:12px;font-size:11px;color:#94dce3;font-family:monospace;letter-spacing:.12em}
.ecs-reader-panel{position:absolute;inset:12px;overflow:hidden;display:flex;flex-direction:column;border:1px solid #9e3b8e;background:radial-gradient(ellipse at 80% 14%,#24132e 0%,#0b0c17 55%);box-shadow:0 16px 90px #000e}
.ecs-reader-head{flex:0 0 auto;display:flex;align-items:center;gap:16px;justify-content:space-between;border-bottom:1px solid #693451;min-height:57px;padding:8px 12px 8px 17px}
.ecs-reader-title{font-size:17px;font-weight:900;letter-spacing:.02em;color:#ff5fbc;min-width:0}
.ecs-reader-meta{font-size:10px;color:#7ecbd6;font-family:monospace;letter-spacing:.07em;margin-top:4px}
.ecs-reader-head-controls{display:flex;gap:8px;align-items:center;flex:0 0 auto}
.ecs-button{font:inherit;color:#f5eaf8;background:#1e1830;border:1px solid #62445e;border-radius:4px;padding:9px 11px;cursor:pointer;transition:background .2s,border .2s}
.ecs-button:hover:not(:disabled),.ecs-button:focus-visible{border-color:#ff56af;background:#4b2450}
.ecs-button:disabled{opacity:.35;cursor:not-allowed}
.ecs-button.ecs-accent{background:#36172e;color:#ff82cc;border-color:#fc37a2;font-weight:800;box-shadow:0 0 14px #e8339640}
.ecs-reader-layout{min-height:0;flex:1;display:grid;grid-template-columns:minmax(180px,255px) minmax(0,1fr)}
.ecs-reader-about{border-right:1px solid #554160;padding:23px 18px;overflow-y:auto;scrollbar-color:#7e366b transparent}
.ecs-reader-about-cover{display:block;width:min(170px,100%);max-height:250px;object-fit:contain;margin:0 auto 18px;box-shadow:0 3px 15px #000a}
.ecs-reader-about h3{font-size:19px!important;margin:0 0 10px!important;color:#fff!important}
.ecs-reader-about p{font-size:12px;color:#b9c0ce;line-height:1.65;margin:0 0 13px}
.ecs-reader-about .ecs-reader-artist{font-size:11px;color:#61d9e4;letter-spacing:.06em;margin-bottom:14px}
.ecs-reader-stage{display:flex;flex-direction:column;min-width:0;min-height:0;padding:10px 16px 12px}
.ecs-reader-page-scroller{flex:1;overflow:auto;display:flex;align-items:flex-start;justify-content:safe center;overscroll-behavior:contain;scrollbar-color:#8b4a7b #161524}
.ecs-reader-page-scroller img{display:block;height:auto;width:auto;max-width:100%;max-height:100%;object-fit:contain;margin:auto;box-shadow:0 6px 26px #000b;border:2px solid #bfae9d;transform-origin:top center;transition:transform .1s}
.ecs-no-page{margin:auto;color:#b3b2c6;font-size:14px;text-align:center;padding:22px}
.ecs-reader-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:0 0 auto;padding-top:10px}
.ecs-page-num{font-family:monospace;font-size:12px;letter-spacing:.1em;color:#9bddde;white-space:nowrap}
.ecs-reader-cta{margin-top:10px;border-top:1px solid #66516e;padding-top:10px;text-align:center;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.ecs-reader-cta[hidden]{display:none}
.ecs-reader-cta a{display:inline-flex;padding:11px 15px;text-decoration:none!important;background:#3a1633;border:1px solid #f04baf;color:#ffd7ef!important;box-shadow:0 0 16px #ff29993b;font-size:12px;font-weight:750;letter-spacing:.07em}
.ecs-reader-cta .ecs-cta-note{font-size:12px;color:#c7afc2}
.ecs-glitch{position:fixed;z-index:2147483000;pointer-events:none;display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(8,1fr)}
.ecs-glitch i{display:block;background:#ff279a;opacity:0;animation:ecs-pixel .57s steps(3,end) both;transform:scale(.2)}
@keyframes ecs-pixel{0%{opacity:0;transform:scale(.2)}25%,60%{opacity:.96;transform:scale(1)}100%{opacity:0;transform:scale(.06) translateY(-10px)}}
@media(max-width:750px){.ecs-portal .ecs-backdrop{background:#02030bd9}.ecs-shop-panel{inset:8px!important;width:auto;max-height:none;border-width:1px 2px;box-shadow:0 0 36px #f47a9e55}.ecs-shop-head{padding:22px 17px 20px;min-height:143px}.ecs-shop-head:after{right:12px;opacity:.5}.ecs-shop-body{padding:18px 12px}.ecs-shelf{gap:8px}.ecs-issue-name{font-size:10px}.ecs-cover-wrap{border-width:1px}.ecs-reader-panel{inset:0;border:0}.ecs-reader-head{padding:9px 8px}.ecs-reader-title{font-size:13px}.ecs-reader-head .ecs-button{font-size:12px;padding:7px}.ecs-reader-layout{display:flex;flex-direction:column}.ecs-reader-about{flex:0 0 auto;max-height:92px;border-right:0;border-bottom:1px solid #55344e;padding:6px 12px;display:flex;gap:11px;align-items:center}.ecs-reader-about-cover{height:71px;width:50px;margin:0;flex:0 0 auto}.ecs-reader-about h3{font-size:13px!important;margin:0!important}.ecs-reader-about p{display:none}.ecs-reader-about .ecs-reader-artist{font-size:10px;margin:4px 0 0}.ecs-reader-stage{flex:1;padding:7px 7px 14px}.ecs-reader-page-scroller{min-height:0}.ecs-reader-nav{gap:4px}.ecs-reader-nav .ecs-button{padding:9px 7px;font-size:12px}}
@media(max-width:360px){.ecs-reader-head-controls .ecs-button:first-child{display:none}.ecs-page-num{font-size:10px}.ecs-shelf{gap:5px}}
@media(prefers-reduced-motion:reduce){.ecs-shop-panel.ecs-arrive,.ecs-glitch i,.ecs-entrance:hover img{animation:none!important}.ecs-issue .ecs-cover-wrap{transition:none}}

/* v1.1: persistent real zoom, jump-to-page, local/account bookmarks */
.ecs-reader-page-scroller img{max-width:none;max-height:none;flex:0 0 auto;object-fit:contain;margin:auto;transition:none}
.ecs-zoom-level{font-family:monospace;font-size:11px;color:#8ad7e6;min-width:40px;text-align:center}
.ecs-reader-quicknav{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin-top:8px;color:#94d7e1;font-family:monospace;font-size:11px;letter-spacing:.05em}
.ecs-reader-quicknav label{white-space:nowrap}
.ecs-page-range{flex:1;min-width:25px;accent-color:#ff55af;cursor:pointer;height:20px}
.ecs-page-input{width:65px;min-width:52px;color:#f5eaf8!important;background:#1e1830!important;border:1px solid #674765!important;border-radius:4px;padding:5px!important;text-align:center;font-size:12px!important;line-height:1.2}
.ecs-page-total{white-space:nowrap;color:#b9d4dc}
.ecs-reader-bookmarks{display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto;gap:8px;flex-wrap:wrap;margin-top:8px}
.ecs-reader-bookmarks .ecs-button{font-size:11px;padding:7px 10px}
.ecs-reader-save-status{font-size:10px;color:#8dbfc1;font-family:monospace}
.ecs-issue-progress{color:#ffa5d7;font-family:monospace;font-size:9px;letter-spacing:.04em;min-height:12px}
@media(max-width:750px){.ecs-reader-head-controls{gap:4px}.ecs-reader-quicknav{gap:5px;flex-wrap:nowrap;margin-top:6px}.ecs-reader-quicknav label{font-size:9px}.ecs-page-input{width:46px;min-width:46px}.ecs-page-total{font-size:10px}.ecs-reader-bookmarks{gap:4px;margin-top:5px}.ecs-reader-bookmarks .ecs-button{font-size:10px;padding:6px}.ecs-reader-save-status{width:100%;font-size:9px}}
@media(max-width:360px){.ecs-reader-quicknav label{display:none}.ecs-reader-head .ecs-zoom-level{font-size:9px;min-width:25px}}

/* v1.1.1 — transient whole-widget signal corruption and irregular neon lettering */
.ecs-comic-host{position:relative!important;isolation:isolate}
.ecs-comic-host .ecs-hover-distortion{position:absolute;inset:0;z-index:15;pointer-events:none;overflow:hidden;mix-blend-mode:screen;isolation:isolate}
.ecs-hover-distortion i{position:absolute;display:block;height:4px;opacity:0;background:linear-gradient(90deg,transparent 0%,#10e5faca 10%,#e938a799 52%,transparent 100%);filter:drop-shadow(0 0 5px #fc50ad);animation:ecs-hover-stripe .5s steps(4,end) forwards}
@keyframes ecs-hover-stripe{0%,100%{opacity:0;transform:translateX(-8px) scaleX(.1)}16%,35%{opacity:.9;transform:translateX(8px) scaleX(1)}50%{opacity:.15}72%{opacity:.75;transform:translateX(-2px) scaleX(.8)}}
.ecs-comic-host.ecs-host-glitch>.g1-widget-posts,.ecs-comic-host.ecs-host-glitch .g1-collection{animation:ecs-signal-jolt .53s steps(1,end) both}
.ecs-comic-host.ecs-host-glitch .ecs-host-heading{animation:ecs-heading-ghost .53s steps(1,end) both}
.ecs-comic-host.ecs-host-glitch .ecs-host-heading>span{text-shadow:2px 0 #00dff9,-2px 0 #f623a4}
@keyframes ecs-signal-jolt{0%,100%{transform:none;filter:none}12%{transform:translateX(2px);filter:brightness(1.34) saturate(1.5)}21%{transform:translateX(-2px);filter:hue-rotate(16deg)}26%{transform:none;filter:none}47%{transform:translateX(1px);filter:brightness(1.27)}52%{transform:none;filter:none}72%{filter:contrast(1.2) hue-rotate(-14deg)}77%{filter:none}}
@keyframes ecs-heading-ghost{0%,100%{transform:none;filter:none}16%{transform:translateX(-3px);filter:drop-shadow(3px 0 #04edfb)}25%{transform:translateX(2px);filter:drop-shadow(-3px 0 #ed2ea5)}33%,58%{transform:none;filter:none}63%{transform:translateX(-1px)}70%{transform:none}}
.ecs-comic-host .ecs-host-heading .ecs-entrance{z-index:2}
.ecs-shop-head .ecs-shop-logo{display:block;position:relative;z-index:2;max-width:min(78%,390px);max-height:105px;height:auto;width:auto;object-fit:contain;margin:0 0 13px;filter:drop-shadow(0 0 13px #ff46ac66)}
.ecs-neon-sign{white-space:normal}
.ecs-neon-letter{display:inline-block;white-space:pre;position:relative;filter:brightness(.98);transition:none;will-change:opacity,filter}
.ecs-neon-letter:nth-child(5n+4){filter:brightness(.72)}
.ecs-neon-letter:nth-child(7n+1){filter:brightness(1.21)}
.ecs-neon-medium .ecs-neon-fault{animation:ecs-neon-fail var(--ecs-period,8s) steps(1,end) var(--ecs-phase,0s) infinite}
.ecs-neon-subtle .ecs-neon-fault{animation:ecs-neon-soft var(--ecs-period,9s) steps(1,end) var(--ecs-phase,0s) infinite}
.ecs-neon-wild .ecs-neon-fault{animation:ecs-neon-wild var(--ecs-period,7s) steps(1,end) var(--ecs-phase,0s) infinite}
.ecs-neon-medium .ecs-title,.ecs-neon-subtle .ecs-title,.ecs-neon-wild .ecs-title{animation:ecs-neon-power 11s linear infinite}
.ecs-neon-off .ecs-neon-letter{animation:none!important;filter:none!important}
@keyframes ecs-neon-fail{0%,37%,39%,40%,68%,70%,71%,94%,100%{opacity:1;filter:brightness(1.15)}37.2%,38.7%,69%{opacity:.08;filter:brightness(.2);text-shadow:none}40.5%,70.4%{opacity:.58;filter:brightness(.55)}}
@keyframes ecs-neon-soft{0%,44%,46%,75%,77%,100%{opacity:1;filter:brightness(.95)}44.5%,76%{opacity:.38;filter:brightness(.55)}}
@keyframes ecs-neon-wild{0%,19%,23%,43%,45%,61%,67%,87%,100%{opacity:1;filter:brightness(1.3)}19.2%,19.8%,43.2%,62.4%,63.1%,88%{opacity:.03;filter:brightness(.08);text-shadow:none}21%,45.1%,66%{opacity:.4;filter:brightness(.5)}}
@keyframes ecs-neon-power{0%,100%,14%,46%,71%{text-shadow:2px 2px #602150,0 0 17px #ff29968e}14.5%,47%{text-shadow:2px 2px #602150,0 0 9px #ff299675}15%,72%{text-shadow:2px 2px #602150,0 0 25px #ff2996e0,0 0 35px #ff299633}}
@media(prefers-reduced-motion:reduce){.ecs-comic-host.ecs-host-glitch>.g1-widget-posts,.ecs-comic-host.ecs-host-glitch .g1-collection,.ecs-comic-host.ecs-host-glitch .ecs-host-heading,.ecs-hover-distortion i,.ecs-neon-sign,.ecs-neon-letter{animation:none!important;filter:none!important;transform:none!important}.ecs-hover-distortion{display:none!important}}


/* v1.1.2 — whole-widget secret doorway and intact neon words */
.ecs-comic-host{cursor:pointer}
.ecs-comic-host a,.ecs-comic-host button,.ecs-comic-host input,.ecs-comic-host select,.ecs-comic-host textarea{cursor:pointer}
.ecs-comic-host .ecs-host-heading{position:relative!important}
.ecs-secret-whisper{position:absolute;right:3px;bottom:-19px;pointer-events:none;z-index:20;white-space:nowrap;font:700 9px/1.4 monospace;letter-spacing:.055em;color:#80ecf6;background:#0b1521ed;padding:2px 5px;border:1px solid #16b8cb88;box-shadow:0 0 13px #0bdaf03a;opacity:0;transform:translateY(-4px);transition:opacity .22s,transform .22s}
.ecs-comic-host:hover .ecs-secret-whisper,.ecs-comic-host:focus-within .ecs-secret-whisper{opacity:1;transform:translateY(0)}
.ecs-shop-head .ecs-title.ecs-neon-sign{max-width:none!important;width:100%;font-size:clamp(23px,3.1vw,39px)!important;letter-spacing:-.052em!important;white-space:normal;word-break:normal;overflow-wrap:normal}
.ecs-neon-word{display:inline-block;white-space:nowrap;vertical-align:baseline}
.ecs-neon-word .ecs-neon-letter{display:inline-block;white-space:nowrap}
@media(max-width:450px){.ecs-shop-head .ecs-title.ecs-neon-sign{font-size:clamp(21px,5.8vw,27px)!important}.ecs-secret-whisper{font-size:8px;letter-spacing:0}}
@media(hover:none){.ecs-secret-whisper{display:none}}
@media(prefers-reduced-motion:reduce){.ecs-secret-whisper{transition:none}}

/* v1.1.3 — mobile readability pass. Preserve shop panel geometry and desktop UX. */
@media (max-width:750px){
  /* Two book columns allow real titles and progress labels to breathe. */
  .ecs-portal .ecs-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
  .ecs-portal .ecs-issue{min-width:0;gap:5px;align-items:stretch;text-align:center!important}
  .ecs-portal .ecs-issue-name{display:block;width:100%;min-width:0;margin-top:8px;font-size:12px!important;line-height:1.35!important;overflow-wrap:anywhere;white-space:normal}
  .ecs-portal .ecs-issue-genre{display:block;width:100%;min-width:0;font-size:10px!important;line-height:1.5!important;letter-spacing:.035em!important;white-space:normal;overflow-wrap:anywhere}
  .ecs-portal .ecs-issue-progress{display:block;width:100%;min-width:0;min-height:0;font-size:10px!important;line-height:1.4!important;letter-spacing:0!important;white-space:normal;overflow-wrap:anywhere}
  .ecs-portal .ecs-section-header{align-items:flex-start;gap:8px}
  .ecs-portal .ecs-section-header h3{font-size:14px!important;letter-spacing:.10em!important;line-height:1.3!important}
  .ecs-portal .ecs-small-label{font-size:9px;letter-spacing:.04em;white-space:nowrap;padding-top:3px}
  /* Zoom controls belong to desktop; native browser pinch zoom stays enabled. */
  .ecs-reader-head-controls [data-ecs-zoomout],
  .ecs-reader-head-controls [data-ecs-zoomin],
  .ecs-reader-head-controls .ecs-zoom-level{display:none!important}
  .ecs-portal .ecs-reader-head{gap:8px;padding:10px 12px;align-items:center}
  .ecs-portal .ecs-reader-head>div:first-child{flex:1 1 auto;min-width:0}
  .ecs-portal .ecs-reader-title{font-size:14px!important;line-height:1.35!important;overflow-wrap:anywhere}
  .ecs-portal .ecs-reader-meta{font-size:10px;line-height:1.45;overflow-wrap:anywhere;letter-spacing:.025em}
  .ecs-portal .ecs-reader-head-controls{flex:0 0 auto;gap:6px}
  .ecs-portal .ecs-reader-head-controls .ecs-button{font-size:12px!important;white-space:nowrap;padding:9px 10px!important;min-height:40px}
  .ecs-portal .ecs-reader-about{gap:10px;min-width:0}
  .ecs-portal .ecs-reader-about>div{min-width:0;flex:1}
  .ecs-portal .ecs-reader-about h3{font-size:14px!important;line-height:1.3!important;overflow-wrap:anywhere}
  .ecs-portal .ecs-reader-about .ecs-reader-artist{font-size:10px;line-height:1.4;overflow-wrap:anywhere;letter-spacing:0}
  .ecs-portal .ecs-reader-nav{gap:8px}
  .ecs-portal .ecs-reader-nav .ecs-button{padding:10px 8px;font-size:11px!important;white-space:nowrap;min-height:42px}
  .ecs-portal .ecs-page-num{font-size:10px;letter-spacing:.025em;text-align:center;white-space:normal}
  .ecs-portal .ecs-reader-quicknav{display:grid;grid-template-columns:auto minmax(0,1fr) 44px auto;gap:7px;align-items:center;margin-top:12px}
  .ecs-portal .ecs-reader-quicknav label{display:block;font-size:9px;letter-spacing:0}
  .ecs-portal .ecs-page-range{min-width:0;width:100%}
  .ecs-portal .ecs-page-input{width:44px;min-width:0;font-size:13px!important;padding:7px 2px!important}
  .ecs-portal .ecs-page-total{font-size:10px}
  .ecs-portal .ecs-reader-bookmarks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
  .ecs-portal .ecs-reader-bookmarks .ecs-button{min-width:0;white-space:normal;line-height:1.3;font-size:10px!important;padding:9px 5px;overflow-wrap:anywhere}
  .ecs-portal .ecs-reader-save-status{grid-column:1/-1;width:auto;font-size:10px;line-height:1.4}
}
@media (max-width:390px){
  .ecs-portal .ecs-reader-quicknav{grid-template-columns:minmax(0,1fr) 44px auto}
  .ecs-portal .ecs-reader-quicknav label{grid-column:1/-1}
  .ecs-portal .ecs-reader-head-controls .ecs-button{padding:8px!important;font-size:11px!important}
}

/* v1.1.4 — Mobile image visibility: fit to available width, never to a zero-height measurement.
   The mobile reader uses the browser's native pinch zoom rather than internal zoom. */
@media (max-width:750px){
  .ecs-portal .ecs-reader-page-scroller{min-width:0;min-height:0;width:100%;overflow:auto;display:flex;align-items:flex-start;justify-content:center;}
  .ecs-portal .ecs-reader-page-scroller img.ecs-reader-page-img{
    width:auto!important;height:auto!important;max-width:100%!important;max-height:none!important;
    min-width:0;flex:0 0 auto;align-self:flex-start;margin:0 auto;object-fit:contain;
  }
}

/* v1.1.5 — Desktop shop is a destination, not a sidebar popup.
   Keep the smaller-screen layout unchanged and preserve space for future shelves. */
@media (min-width:751px){
  .ecs-portal .ecs-shop-panel{
    top:16px;
    right:16px;
    bottom:16px;
    left:16px;
    width:auto;
    max-width:none;
    max-height:none;
    min-height:0;
    border-radius:6px;
  }
  .ecs-portal .ecs-shop-body{padding:24px clamp(22px,3vw,48px) 40px}
  .ecs-portal .ecs-shop-head{padding:30px clamp(24px,3vw,48px) 24px}
  .ecs-portal .ecs-shelf{
    grid-template-columns:repeat(3,minmax(0,280px));
    justify-content:start;
    gap:24px;
  }
  .ecs-portal .ecs-issue-name{font-size:14px;line-height:1.4}
  .ecs-portal .ecs-issue-genre{font-size:11px;line-height:1.5}
  .ecs-portal .ecs-issue-progress{font-size:11px}
  .ecs-portal .ecs-section-header h3{font-size:18px!important}
}
@media (min-width:751px) and (max-width:1000px){
  .ecs-portal .ecs-shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
}

/* v1.1.6 — Desktop shelf metadata must occupy independent rows, never run together. */
@media (min-width:751px){
  .ecs-portal .ecs-shelf > .ecs-issue{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;gap:7px!important;min-width:0!important;
    white-space:normal!important;text-align:center!important;
  }
  .ecs-portal .ecs-shelf > .ecs-issue > .ecs-cover-wrap{
    display:block!important;flex:0 0 auto!important;width:100%!important;
  }
  .ecs-portal .ecs-shelf > .ecs-issue > .ecs-issue-name,
  .ecs-portal .ecs-shelf > .ecs-issue > .ecs-issue-genre,
  .ecs-portal .ecs-shelf > .ecs-issue > .ecs-issue-progress{
    display:block!important;position:static!important;float:none!important;
    flex:0 0 auto!important;width:100%!important;max-width:100%!important;
    min-width:0!important;height:auto!important;margin-left:0!important;
    margin-right:0!important;padding:0!important;clear:both!important;
    white-space:normal!important;overflow-wrap:break-word!important;
    text-align:center!important;
  }
  .ecs-portal .ecs-shelf > .ecs-issue > .ecs-issue-name{
    font-size:14px!important;line-height:1.35!important;margin-top:9px!important;
  }
  .ecs-portal .ecs-shelf > .ecs-issue > .ecs-issue-genre{
    font-size:11px!important;line-height:1.5!important;letter-spacing:.045em!important;
  }
  .ecs-portal .ecs-shelf > .ecs-issue > .ecs-issue-progress{
    font-size:11px!important;line-height:1.5!important;min-height:0!important;
  }
}

/* v1.1.7: dated Sunday strip collections. Existing shelf geometry remains unchanged. */
.ecs-strip-chip{position:absolute;bottom:7px;left:6px;background:#161126e8;color:#8ef5e8;border:1px solid #4be2d6;font:700 9px/1.2 monospace;padding:4px 6px;letter-spacing:.04em}
.ecs-cover-wrap{position:relative}
.ecs-strip-nav{padding:10px 12px;border:1px solid #6c3d66;background:#120f21;margin:0 0 10px;text-align:center}
.ecs-strip-nav[hidden]{display:none!important}
.ecs-strip-release{display:block;color:#80dfe2;font:700 11px/1.5 monospace;overflow-wrap:anywhere;margin-bottom:7px}
.ecs-strip-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.ecs-strip-actions .ecs-button{font-size:11px;padding:6px 9px}
@media(max-width:750px){.ecs-strip-nav{padding:7px;margin-bottom:6px}.ecs-strip-actions{gap:4px}.ecs-strip-actions .ecs-button{font-size:10px;padding:6px}.ecs-strip-release{font-size:10px}}

/* WordPress Bios & Credits associations in reader (1.1.11) */
.ecs-reader-credits{display:flex;flex-direction:column;gap:7px;margin:8px 0;min-width:0}
.ecs-bio-badge{background:#22162c;border:1px solid #ef70b7;color:#ff95ca;border-radius:5px;padding:6px 9px;text-align:left;cursor:pointer;max-width:100%;font:700 10px/1.5 inherit;letter-spacing:.08em}
.ecs-bio-name{display:block;color:#f4ecf6;font-size:12px;letter-spacing:normal;font-weight:600}
.ecs-bio-detail{display:flex;gap:10px;border:1px solid #664370;border-radius:6px;padding:10px;background:#1c1724;color:#efe5f3;font-size:12px;line-height:1.45}
.ecs-bio-detail[hidden]{display:none!important}
.ecs-bio-photo{height:64px;width:64px;object-fit:cover;border-radius:5px;flex-shrink:0}
.ecs-bio-content{min-width:0;overflow-wrap:anywhere}
.ecs-bio-content p{margin:6px 0 0}
