/* v74: deliberately intimate, white-ground Felli study viewer. */
#felli-pop74{position:fixed;inset:0;z-index:2147483600;background:rgba(0,0,0,.26);display:flex;align-items:center;justify-content:center;padding:20px 0;color:#111;font-family:"Space Mono",monospace;-webkit-tap-highlight-color:transparent}
#felli-pop74[hidden]{display:none!important}
#felli-pop74 .fp-panel{position:relative;width:min(420px,80vw);max-height:90dvh;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;background:#fff!important;color:#111!important;border:1px solid #dededb;box-shadow:0 14px 50px rgba(0,0,0,.15);padding:20px 20px 14px}
html[data-theme="dark"] #felli-pop74 .fp-panel{filter:invert(1) hue-rotate(180deg)}
#felli-pop74 .fp-logo{display:block;width:86px;height:auto;margin:0 auto 9px;filter:none!important}
#felli-pop74 .fp-close{position:absolute;right:7px;top:7px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:0;background:#fff;color:#111;font:400 25px/1 Arial,sans-serif;cursor:pointer;border-radius:50%}
#felli-pop74 .fp-stage{display:flex;align-items:center;justify-content:center;width:100%;height:min(340px,47dvh);touch-action:pan-y;background:#fff!important;overflow:hidden}
#felli-pop74 .fp-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 3px 2px rgba(0,0,0,.065))!important;background:transparent!important;user-select:none;-webkit-user-drag:none}
#felli-pop74 .fp-nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:5px}
#felli-pop74 .fp-nav button{width:38px;height:36px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#111;border:1px solid #ddd;font:400 20px/1 Arial,sans-serif;cursor:pointer;border-radius:50%}
#felli-pop74 .fp-count{min-width:58px;text-align:center;font:400 10px/1.3 "Space Mono",monospace;letter-spacing:.09em}
#felli-pop74 .fp-dots{display:flex;align-items:center;justify-content:center;gap:0;flex-wrap:wrap;margin-top:4px}
#felli-pop74 .fp-dot{display:inline-flex;align-items:center;justify-content:center;width:24px;height:26px;padding:0;border:0;background:#fff;cursor:pointer}
#felli-pop74 .fp-dot:before{content:"";display:block;width:5px;height:5px;background:#c9c9c6;border-radius:50%}
#felli-pop74 .fp-dot[aria-current="true"]:before{background:#111}
#felli-pop74 .fp-note{text-align:center;font:400 8px/1.4 "Space Mono",monospace;letter-spacing:.1em;text-transform:uppercase;color:#777;margin:4px 0 0}
#felli-pop74 button:focus-visible{outline:2px solid #23397a;outline-offset:2px}
@media(max-width:500px){#felli-pop74 .fp-panel{padding:18px 12px 12px}#felli-pop74 .fp-stage{height:min(310px,43dvh)}#felli-pop74 .fp-logo{width:72px}#felli-pop74 .fp-dot{width:23px}}
@media(prefers-reduced-motion:no-preference){#felli-pop74:not([hidden]) .fp-panel{animation:fp-in74 .14s ease-out}@keyframes fp-in74{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
