/* Native modal viewer for the current article's real screenshots. */
.guide-gallery{position:fixed;inset:16px;margin:auto;width:calc(100% - 32px);max-width:1440px;height:calc(100dvh - 32px);max-height:none;padding:0;border:1px solid #dbe5f4;border-radius:16px;box-sizing:border-box;background:#fff;color:#263d5c;overflow:hidden;box-shadow:0 28px 90px #0b1c3940;text-align:left}.guide-gallery[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.guide-gallery::backdrop{background:#101d35c9;backdrop-filter:blur(5px)}.guide-gallery-header{display:flex;gap:20px;align-items:center;padding:14px 20px;border-bottom:1px solid #e8eef6}.guide-gallery-title{font-size:13px;font-weight:600}.guide-gallery-counter{font-size:12px;color:#7b8ca4;margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}.guide-gallery-close{width:36px;height:36px;border:0;background:#f0f4fa;color:#657b99;border-radius:9px;font-size:27px;line-height:1;cursor:pointer;padding:0}.guide-gallery-stage{position:relative;min-width:0;min-height:0;display:grid;place-items:center;padding:16px 64px;background:#f6f8fc;overflow:hidden}.guide-gallery-image{width:100%;height:100%;min-height:0;object-fit:contain;object-position:center;display:block;user-select:none;touch-action:pan-y pinch-zoom}.guide-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:48px;border:1px solid #dee7f3;border-radius:10px;background:#fff;color:#377dff;font-size:31px;padding:0;line-height:1;cursor:pointer;box-shadow:0 3px 12px #1839630c}.guide-gallery-arrow[hidden]{display:none}.guide-gallery-previous{left:12px}.guide-gallery-next{right:12px}.guide-gallery-footer{padding:13px 20px 16px;border-top:1px solid #e8eef6}.guide-gallery-caption{margin:0 auto 12px;max-width:960px;font-size:12px;line-height:1.75;text-align:center;color:#657c9b}.guide-gallery-thumbnails{display:flex;gap:9px;justify-content:center;overflow-x:auto;padding:3px}.guide-gallery-thumbnail{padding:3px;width:70px;height:46px;flex-shrink:0;border:1px solid #e0e8f4;background:#f6f8fc;border-radius:7px;cursor:pointer;overflow:hidden}.guide-gallery-thumbnail img{display:block;width:100%;height:100%;object-fit:contain}.guide-gallery-thumbnail[aria-current=true]{border-color:#377dff;box-shadow:0 0 0 1px #377dff}.guide-gallery button:hover{background:#edf4ff;color:#377dff}.guide-gallery button:focus-visible{outline:3px solid #377dff;outline-offset:3px}@media(max-width:600px){.guide-gallery{inset:8px;width:calc(100% - 16px);height:calc(100dvh - 16px);border-radius:12px}.guide-gallery-header{padding:10px 12px;gap:10px}.guide-gallery-title{font-size:12px}.guide-gallery-counter{font-size:11px}.guide-gallery-stage{padding:12px 8px 54px}.guide-gallery-arrow{top:auto;bottom:8px;transform:none;width:38px;height:38px;font-size:26px}.guide-gallery-previous{left:calc(50% - 46px)}.guide-gallery-next{right:calc(50% - 46px)}.guide-gallery-footer{padding:10px 12px 12px}.guide-gallery-caption{font-size:11px;line-height:1.65;margin-bottom:9px}.guide-gallery-thumbnail{width:60px;height:40px}}
