/* Application gallery: keep every panel complete and readable. */
.screen-tabs{position:sticky;top:80px;z-index:5;background:#14232df5;backdrop-filter:blur(12px);gap:32px}
.screen-panel{scroll-margin-top:160px}
.screen-gallery{display:grid;gap:48px}
.screen-figure{margin:0;min-width:0}
.screen-figure figcaption{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.screen-figure h3{font-size:18px;font-weight:600;letter-spacing:-.015em;line-height:1.35}
.screen-figure figcaption>span{display:flex;align-items:center;gap:7px;color:#aec0cb;font-size:12px;white-space:nowrap}
.screen-figure figcaption svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.screen-enlarge{display:block;border-radius:8px;cursor:zoom-in}
.screen-panel .screen-enlarge img{width:100%;height:auto;border-radius:8px;border:1px solid #ffffff24;box-shadow:0 14px 34px #0002}
.screen-enlarge:hover{outline:1px solid #91adbd;outline-offset:4px}
.screen-panel:focus-visible{outline:2px solid #9bbdcc;outline-offset:8px}
body:has(.screen-viewer[open]){overflow:hidden}
.screen-viewer{width:min(1520px,calc(100vw - 40px));height:calc(100dvh - 40px);max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #455b68;border-radius:12px;background:#14232d;color:#fff;overflow:hidden}
.screen-viewer[open]{display:flex;flex-direction:column}
.screen-viewer::backdrop{background:#081016e8;backdrop-filter:blur(6px)}
.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border-bottom:1px solid #ffffff20;flex:none}
.screen-viewer h2{font-size:16px;line-height:1.4;letter-spacing:0;margin:0;font-weight:600}
.viewer-actions{display:flex;gap:8px;flex-shrink:0}
.screen-viewer button{min-height:40px;padding:9px 13px;border:1px solid #526570;border-radius:6px;color:#fff;background:transparent;font-size:13px;font-weight:600;white-space:nowrap}
.screen-viewer button:hover:not(:disabled){background:#2d414e}
.screen-viewer button:disabled{opacity:.35;cursor:default}
#viewer-close{display:flex;gap:10px;align-items:center}
#viewer-close span{font-size:22px;line-height:16px;font-weight:400}
.viewer-stage{flex:1;min-height:0;overflow:auto;padding:18px;background:#0d1b24;overscroll-behavior:contain;scrollbar-color:#78909d #182b36}
.viewer-stage img{display:block;width:100%;height:100%;max-width:none;object-fit:contain}
.viewer-stage.is-zoomed img{width:auto;height:auto;max-width:none;max-height:none;margin-inline:auto}
.viewer-stage.is-zoomed{cursor:grab}
.viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid #ffffff20;background:#14232d;flex:none}
#viewer-count{color:#bdcbd3;font-size:13px;font-variant-numeric:tabular-nums}
@media(max-width:900px){.screen-tabs{top:68px;gap:24px}.screen-tabs button{font-size:13px}.screen-gallery{gap:36px}}
@media(max-width:600px){.screen-tabs{flex-wrap:wrap;justify-content:flex-start;gap:0 22px;padding:5px 0}.screen-tabs button{font-size:12px;padding:10px 0}.screen-figure h3{font-size:16px}.screen-figure figcaption{gap:12px;margin-bottom:12px}.screen-figure figcaption>span{font-size:11px}.screen-gallery{gap:30px}.screen-viewer{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:8px}.viewer-toolbar{align-items:flex-start;flex-direction:column;gap:12px;padding:14px}.viewer-actions{width:100%;justify-content:space-between}.screen-viewer h2{font-size:15px}.viewer-stage{padding:8px}.viewer-footer{padding:10px 12px}.screen-viewer button{font-size:12px;min-height:42px}.screen-panel{scroll-margin-top:180px}}
