.gallery-page{background:#15232b;color:#fff}.gallery-page header{background:#fff;color:var(--ink);gap:20px;flex-wrap:wrap;padding:16px 4vw}.gallery-page header h1{font-size:28px;margin:0;letter-spacing:0}.gallery-page #count{margin:0;font-size:14px}.gallery-page main{max-width:none;padding:20px 4vw}.viewer{height:calc(100dvh - 250px);min-height:300px;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:15px;align-items:center}.viewer img{width:100%;height:100%;min-height:0;object-fit:contain}.viewer button{background:#ffffff15;color:white;border:1px solid #ffffff55;border-radius:4px;font-size:40px;height:65px;cursor:pointer}.viewer button:disabled{opacity:.3;cursor:default}#message{text-align:center;grid-column:2}#thumbnails{display:flex;gap:10px;overflow-x:auto;padding:18px 3px 8px}#thumbnails button{flex:none;padding:3px;border:2px solid transparent;border-radius:3px;background:transparent;cursor:pointer}#thumbnails button[aria-current=true]{border-color:#fbda06}#thumbnails img{display:block;width:100px;height:70px;object-fit:cover}.gallery-help{font-size:12px;color:#c5ced3;text-align:center;margin:10px 0}@media(max-width:640px){.gallery-page header{padding:14px 18px;gap:12px}.gallery-page header>a{font-size:13px}.gallery-page header h1{font-size:24px}.gallery-page #count{font-size:12px}.gallery-page main{padding:12px}.viewer{grid-template-columns:34px minmax(0,1fr) 34px;gap:6px;height:calc(100dvh - 270px);min-height:220px}.viewer button{font-size:30px;height:52px}#thumbnails img{width:78px;height:58px}}
