#gallery-region[hidden]{display:none}.gallery-filters{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0 18px}.gallery-filter,.gallery-load-more{font-family:inherit;font-size:13px;font-weight:700;line-height:1.4;background:transparent;color:inherit;border:1px solid currentColor;padding:12px 18px;cursor:pointer}.gallery-filter[aria-pressed=true],.gallery-filter:hover,.gallery-load-more:hover{background:#111;color:#ffd52b}.gallery-status{font-size:12px!important;letter-spacing:.03em}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px;margin:24px 0 32px}.gallery-card{appearance:none;border:0;background:transparent;color:inherit;padding:0;text-align:left;font:inherit;cursor:pointer;min-width:0}.gallery-thumbnail{display:block;aspect-ratio:16/9;width:100%;height:auto;object-fit:contain;background:#151515;transition:transform .2s,box-shadow .2s}.gallery-card:hover .gallery-thumbnail{transform:translateY(-4px);box-shadow:0 8px 0 #1112}.gallery-card-title{display:block;font-size:15px;font-weight:700;line-height:1.5;margin-top:13px;overflow-wrap:anywhere}.gallery-card-meta{display:block;font-size:10px;letter-spacing:.05em;margin-top:6px}.gallery-modal-open{overflow:hidden}.gallery-dialog{width:min(1600px,96vw);height:min(1000px,94dvh);max-width:none;max-height:none;padding:0;border:1px solid #ffffff44;background:#111;color:#fff;overflow:hidden;margin:auto;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;box-sizing:border-box}.gallery-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.gallery-dialog::backdrop{background:rgba(0,0,0,.88)}.gallery-toolbar{display:flex;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid #fff3}.gallery-title{font-size:17px!important;line-height:1.4;margin:0!important;flex:1;min-width:0;overflow-wrap:anywhere}.gallery-counter{font-size:11px;color:#ccc;white-space:nowrap}.gallery-control{border:1px solid #ffffff77;background:transparent;color:#fff;font:700 12px/1.4 Arial,"PingFang SC",sans-serif;padding:10px 14px;cursor:pointer;white-space:nowrap}.gallery-control:hover:not(:disabled){background:#fff;color:#111}.gallery-control:disabled{opacity:.3;cursor:default}.gallery-stage{min-height:0;position:relative;display:flex;align-items:center;justify-content:center;overflow:auto;background:#070707;touch-action:pan-y}.gallery-full-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;flex-shrink:0}.gallery-full-image[hidden]{display:none}.gallery-image-message{font-size:14px;line-height:1.8;text-align:center;padding:30px;max-width:600px}.gallery-is-zoomed{display:block;touch-action:pan-x pan-y}.gallery-is-zoomed .gallery-full-image{width:180%;max-width:none;height:auto;max-height:none;min-height:100%;object-fit:contain}.gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-top:1px solid #fff3}.gallery-instruction{font-size:11px;color:#aaa;text-align:center}.gallery-load-more{margin-bottom:28px}.gallery-card:focus-visible,.gallery-filter:focus-visible,.gallery-control:focus-visible,.gallery-load-more:focus-visible{outline:3px solid currentColor;outline-offset:5px}@media(max-width:800px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-toolbar{flex-wrap:wrap;gap:10px;padding:14px}.gallery-title{flex-basis:calc(100% - 90px);order:0}.gallery-close{order:1}.gallery-counter{order:2;flex:1}.gallery-zoom{order:3}.gallery-footer{padding:12px}.gallery-instruction{max-width:140px;font-size:10px}.gallery-dialog{width:98vw;height:96dvh}.gallery-card-title{font-size:13px}}@media(max-width:420px){.gallery-grid{gap:22px 14px}.gallery-filter{padding:10px 12px}.gallery-instruction{display:none}.gallery-control{padding:10px 12px}.gallery-card-title{font-size:12px}}@media(prefers-reduced-motion:reduce){.gallery-thumbnail{transition:none}}
