.board-album {position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:#fff;overflow:hidden;}
.board-album[open] {display:grid;grid-template-rows:auto minmax(0,1fr) auto;}
.board-album::backdrop {background:rgb(9 12 17 / 94%);}
html:has(.board-album[open]) {overflow:hidden;}
.board-album .album-bar {display:flex;align-items:center;gap:12px;padding:6px 12px;min-width:0;}
.board-album .album-bar strong {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:white;}
.board-album .album-bar span,.board-album output {color:#e1e5ea;white-space:nowrap;}
.board-album button {display:inline-grid;place-items:center;box-sizing:border-box;min-width:44px;height:44px;padding:0 10px;border:1px solid #5f6267;border-radius:8px;background:#212328;color:#fff;font:inherit;cursor:pointer;}
.board-album button[hidden],.board-album .album-picture[hidden] {display:none;}
.board-album button:disabled {opacity:.4;cursor:default;}
.board-album button:focus-visible {outline:2px solid white;outline-offset:-4px;}
.board-album [data-close] {margin-left:auto;font-size:22px;}
.board-album .album-stage {min-height:0;min-width:0;overflow:auto;display:flex;}
.board-album .album-picture {flex:none;display:block;margin:auto;max-width:none;max-height:none;object-fit:contain;}
.board-album [data-step] {position:absolute;top:45%;transform:translateY(-50%);font-size:19px;background:rgb(22 25 29 / 83%);}
.board-album [data-step="-1"] {left:8px;}
.board-album [data-step="1"] {right:8px;}
.board-album .album-footer {display:grid;justify-items:center;gap:8px;padding:8px 8px max(8px,env(safe-area-inset-bottom));min-width:0;}
.board-album .album-zoom,.board-album .album-strip,.board-album .album-thumbs {display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;}
.board-album output {min-width:48px;text-align:center;}
.board-album .album-thumbs {overflow-x:auto;scrollbar-width:thin;}
.board-album .album-thumb {flex:0 0 auto;width:clamp(44px,9vw,62px);height:auto;aspect-ratio:1;padding:0;overflow:hidden;border:2px solid transparent;}
.board-album .album-thumb img {width:100%;height:100%;object-fit:cover;display:block;}
.board-album .album-thumb[aria-pressed="true"] {border-color:#fff;box-shadow:inset 0 0 0 1px #fff;}
.board-album [data-more] {flex:none;}

[data-album-photo],.album-cover {cursor:zoom-in;}

