/* GSV Magazin – Viewer im Glas-Look */
.gsv-mag{max-width:1100px;margin:0 auto;outline:none}
.gsv-mag-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;margin-bottom:22px}
.gsv-mag-head h2{margin:4px 0 0;color:#fff;font-size:clamp(1.6rem,3vw,2.2rem)}
.gsv-mag-dl{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;background:var(--gold);color:var(--ink)!important;font-weight:500;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease}
.gsv-mag-dl::before{content:"";width:14px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0-5-5m5 5 5-5M4 21h16'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0-5-5m5 5 5-5M4 21h16'/%3E%3C/svg%3E") center/contain no-repeat}
.gsv-mag-dl:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.25)}
.gsv-mag-stage{position:relative;min-height:240px;max-width:min(100%,calc(78vh / var(--mag-ratio,1.414) * 2));margin:0 auto}
.gsv-mag-book{margin:0 auto}
.gsv-mag-page{background:#fff;overflow:hidden}
.gsv-mag-page img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.gsv-mag-page img:not([src]){visibility:hidden}
.gsv-mag .stf__parent{filter:drop-shadow(0 18px 40px rgba(0,0,0,.35))}
.gsv-mag-status{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:rgba(255,255,255,.85);text-align:center}
.gsv-mag-status a{color:var(--gold)}
.gsv-mag-status[hidden]{display:none}
.gsv-mag-bar{display:flex;align-items:center;justify-content:center;gap:10px;width:max-content;max-width:100%;margin:22px auto 0;padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%)}
.gsv-mag-bar[hidden]{display:none}
.gsv-mag-btn{width:40px;height:40px;border-radius:50%;border:0;display:grid;place-items:center;background:#fff;color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer;transition:background .2s ease,color .2s ease}
.gsv-mag-btn:hover:not(:disabled){background:var(--gold)}
.gsv-mag-btn:disabled{opacity:.4;cursor:default}
.gsv-mag-btn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.gsv-mag-fs{font-size:1.1rem;margin-left:6px}
.gsv-mag-count{min-width:150px;text-align:center;color:#fff;font-size:.95rem;font-variant-numeric:tabular-nums}
.gsv-mag-prev{margin-top:clamp(40px,6vw,64px)}
.gsv-mag:fullscreen{max-width:none;display:flex;flex-direction:column;justify-content:center;padding:16px;background:var(--ink)}
.gsv-mag:fullscreen .gsv-mag-head{display:none}
.gsv-mag:fullscreen .gsv-mag-stage{width:100%;max-width:min(100%,calc((100vh - 110px) / var(--mag-ratio,1.414) * 2))}
@media (max-width:640px){.gsv-mag-count{min-width:110px;font-size:.85rem}.gsv-mag-btn{width:36px;height:36px}}
