
.photo-library{position:absolute;top:65px;left:7.5%;right:7%;bottom:0;background:linear-gradient(#e9efdf,#bdcbaa);box-shadow:0 3px 12px #405a3033}.photo-library[hidden]{display:none}.photo-library-inner{height:100%;min-height:0;display:flex;flex-direction:column}.photo-library-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 18px;border-bottom:1px solid #91a778;color:#607e49;font-size:13px}.photo-library-heading>div{display:flex;align-items:center;gap:12px}.photo-library-heading label{font-size:11px;color:#84986f}.photo-library-heading select,.photo-library-heading button{font:12px "Segoe UI",Arial;border:1px solid #95ac7d;background:linear-gradient(#f5f9ec,#ccdcba);padding:7px 10px;color:#5d7a46;cursor:pointer}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:14px;padding:15px;min-height:0;overflow:auto;align-content:start;scrollbar-width:none}.photo-grid::-webkit-scrollbar{display:none}.photo-tile{border:2px solid transparent;padding:0;background:#dbe6ca;cursor:pointer;min-width:0;box-shadow:1px 2px 4px #344b2633;text-align:center;color:#5c7747}.photo-tile img{display:block;width:100%;height:130px;object-fit:contain;background:#c1ceb2}.photo-tile span{display:block;padding:6px 4px;font-size:11px}.photo-tile.selected{border-color:#faffd9;outline:2px solid #779a43;box-shadow:0 2px 9px #405d2d55}.gallery-library{min-height:0;overflow:hidden}.gallery-library .photo-library-inner{flex:1}.gallery-library .photo-library-heading{font-size:24px;padding:15px 0 22px}.gallery-library .photo-library-heading label{font-size:21px}.gallery-library .photo-library-heading select,.gallery-library .photo-library-heading button{font-size:24px;padding:10px 16px}.gallery-library .photo-grid{grid-template-columns:repeat(6,1fr);gap:20px;padding:12px 6px 25px}.gallery-library .photo-tile img{height:150px}.gallery-library .photo-tile span{font-size:21px;padding:10px 4px}.gallery-library .photo-tile.selected{outline-width:5px;border-width:4px}.photo-viewer{width:min(1120px,96vw);height:min(850px,94svh);padding:0;border:1px solid #afc299;background:#1f2a1e;box-shadow:0 15px 90px #000b;color:#e8efdf;font:14px "Segoe UI",Arial;overflow:hidden}.photo-viewer[open]{display:flex;flex-direction:column}.photo-viewer::backdrop{background:#0d160cdb;backdrop-filter:blur(7px)}.photo-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 17px;background:linear-gradient(#536a43,#384d2b);color:#cbdab9;font-size:12px}.photo-viewer button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:8px}.photo-b{display:inline-grid;place-items:center;width:22px;height:22px;background:#aa4538;border-radius:50%;box-shadow:inset 0 2px 3px #fff5;margin-right:6px;color:white;font-size:12px}.photo-image-box{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;background:#111b12}.photo-image-box>img{width:100%;height:100%;object-fit:contain;display:block}.photo-prev,.photo-next{position:absolute;top:50%;transform:translateY(-50%);font-size:42px!important;text-shadow:0 2px 5px #000;background:#10200d55!important;border:1px solid #c1d5ae33!important;width:44px;height:64px}.photo-prev{left:12px}.photo-next{right:12px}.photo-viewer-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 22px;background:linear-gradient(#394b2f,#25351f)}.photo-viewer-caption b{display:block;font-size:15px;font-weight:400}.photo-viewer-caption small{display:block;font-size:10px;color:#8fa47b;margin-top:4px}.photo-viewer-caption button{font-size:12px}.photo-details{padding:18px 22px;background:#e1ead7;color:#536c41;font-size:12px}.photo-details[hidden]{display:none}.photo-details>div{display:flex;justify-content:space-between;gap:15px;font-size:11px;margin-bottom:12px}.photo-details b{font-weight:400;overflow:hidden;text-overflow:ellipsis}.photo-details>div>span{white-space:nowrap;color:#91a17f}.photo-details form{display:flex;align-items:center;gap:12px}.photo-details input{border:1px solid #abbf96;padding:5px;background:#f4f9ed;color:#5e7c48;font:12px "Segoe UI",Arial}.photo-details form button{border:1px solid #96af7c;background:#d2e1bf;color:#55743e;padding:6px 12px}.date-export{font-size:10px!important;color:#91a17d!important;margin-top:12px}.photo-viewer button:focus-visible,.photo-tile:focus-visible{outline:2px solid #b7d78c;outline-offset:2px}body[data-channel="4"] .viewport{display:none}.photo-tile img[loading="lazy"]{content-visibility:auto}
@media(min-width:701px){body:has(#photo-library) nav,body:has(#photo-library)[data-channel="2"] nav,body:has(#photo-library)[data-channel="1"] nav,body:has(#photo-library)[data-channel="3"] nav{top:-133px}}
@media(max-width:700px){body:has(#photo-library) main{top:218px}.photo-library{left:7%;right:7%;top:50px}.photo-library-heading{padding:10px;font-size:11px;gap:8px}.photo-library-heading label{display:none}.photo-library-heading>div{gap:6px}.photo-library-heading select,.photo-library-heading button{font-size:10px;padding:6px}.photo-grid{grid-template-columns:repeat(3,1fr);gap:10px;padding:11px}.photo-tile img{height:90px}.photo-tile span{font-size:9px}body:has(#photo-library) nav,body:has(#photo-library)[data-channel="2"] nav,body:has(#photo-library)[data-channel="1"] nav,body:has(#photo-library)[data-channel="3"] nav{top:-125px}.gallery-library .photo-library-heading{font-size:26px;padding:16px 0}.gallery-library .photo-library-heading select,.gallery-library .photo-library-heading button{font-size:24px}.gallery-library .photo-library-heading>div{gap:12px}.gallery-library .photo-grid{grid-template-columns:repeat(3,1fr);gap:22px;padding:15px 6px}.gallery-library .photo-tile img{height:185px}.gallery-library .photo-tile span{font-size:26px;padding:12px 3px}.photo-viewer-head{font-size:10px;padding:8px}.photo-viewer-head>button{font-size:11px}.photo-viewer-caption{padding:12px}.photo-prev,.photo-next{width:32px;height:50px;font-size:32px!important}.photo-prev{left:5px}.photo-next{right:5px}.photo-details{padding:13px}.photo-details form{flex-wrap:wrap;gap:9px}.photo-viewer-caption b{font-size:13px}.photo-viewer-caption button{font-size:11px}}

/* Console picture viewer: full screen with controller prompts at the bottom. */
.photo-viewer{position:fixed;inset:0;width:100vw;height:100svh;max-width:none;max-height:none;margin:0;border:0;background:#050805;box-shadow:none}.photo-image-box{position:absolute;inset:0;background:#050805}.photo-image-box>img{height:100%;width:100%;object-fit:contain}.photo-viewer-head{position:absolute;top:auto;left:0;right:0;bottom:0;z-index:3;height:66px;padding:12px 3%;background:linear-gradient(#111a0bd9,#131c0ff2);justify-content:flex-start;gap:22px}.photo-viewer-head>#photo-position{margin-left:auto;color:#96a888;order:3}.photo-viewer-head>[data-gallery="details"]{order:4}.photo-viewer-caption{position:absolute;left:0;right:0;bottom:66px;z-index:2;padding:28px 3% 12px;background:linear-gradient(transparent,#111b0bc9);pointer-events:none}.photo-viewer-caption button{pointer-events:auto}.photo-viewer-caption small{display:none}.photo-viewer-caption b{font-size:16px}.photo-y{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:linear-gradient(#d8bd43,#9b7c19);box-shadow:inset 0 2px 3px #fff6;color:#fff;margin-right:6px;font:12px "Segoe UI",Arial}.photo-details{position:absolute;z-index:4;right:3%;bottom:135px;width:min(420px,94vw);box-shadow:0 8px 30px #0007}.photo-details[hidden]{display:none}.photo-prev,.photo-next{z-index:1;background:#12200b55!important}.photo-viewer button{font-size:13px}.photo-viewer-caption button{background:#18261166;border:1px solid #9dae7e44;border-radius:3px}.photo-viewer:focus-visible{outline:none}@media(max-width:600px){.photo-viewer-head{height:65px;padding:9px 10px;gap:8px;flex-wrap:wrap}.photo-viewer-head>button{font-size:11px;padding:5px}.photo-viewer-head>#photo-position{font-size:10px}.photo-viewer-head>[data-gallery="details"]{font-size:10px}.photo-y,.photo-b{width:18px;height:18px;font-size:10px;margin-right:4px}.photo-viewer-caption{bottom:65px;padding:20px 12px 10px}.photo-viewer-caption b{font-size:14px}.photo-viewer-caption button{font-size:11px}.photo-details{left:3%;bottom:127px}.photo-prev,.photo-next{width:32px}}

.photo-viewer[data-era="blades"] .photo-viewer-head{background:linear-gradient(#eeeeeed9,#b1b7a8ef);color:#273321;border-top:2px solid #fbfff3}.photo-viewer[data-era="blades"] .photo-viewer-caption{background:linear-gradient(transparent,#313c27bb)}.photo-viewer-caption>div{flex:1}.photo-viewer button[aria-pressed="true"]{color:#d7f3a5;border-color:#b7d97a}.photo-viewer-caption{gap:10px}.photo-viewer-caption>button{white-space:nowrap}@media(max-width:600px){.photo-viewer-caption{flex-wrap:wrap;gap:5px}.photo-viewer-caption>div{flex-basis:100%}.photo-viewer-caption>button{padding:6px 9px}}#tray[role="button"]{cursor:pointer}#tray[role="button"]:focus-visible{outline:3px solid #f6ffce;outline-offset:5px}

/* Blades source browser: left slideshow action, right three-column picture grid. */
.gallery-library .photo-library-inner{position:relative;padding-left:43%}.gallery-library .photo-library-heading{position:absolute;left:0;top:0;bottom:0;width:40%;display:block;padding:10px 0;border-bottom:0;border-right:1px solid #22558455;color:#173748}.gallery-library .photo-library-heading>span{display:block;margin:15px 0 25px;font-size:24px}.gallery-library .photo-library-heading>div{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding-right:20px}.gallery-library .photo-library-heading label{display:none}.gallery-library .photo-library-heading select,.gallery-library .photo-library-heading button{background:linear-gradient(#a9cff466,#4e8dc766);color:#17354b;border:1px solid #3b71a3;box-shadow:inset 0 1px #e5f3ff99;border-radius:5px;text-align:left;font-size:23px}.gallery-library .photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px;gap:16px}.gallery-library .photo-tile{background:linear-gradient(#a3c4df66,#6c96ba55);border:2px solid #3b6a92;border-radius:8px;color:#18374e;padding:10px 5px 0}.gallery-library .photo-tile img{height:115px;background:transparent}.gallery-library .photo-tile span{font-size:18px;padding:7px 2px}.gallery-library .photo-tile.selected{border-color:#c6e9ff;outline:2px solid #e4f6ff;box-shadow:0 0 16px #d5efffaa}.gallery-library .library-title{border-bottom:2px solid #15487355}@media(max-width:600px){.gallery-library .photo-library-inner{padding-left:0}.gallery-library .photo-library-heading{position:static;width:100%;height:auto;border:0;display:flex;padding:8px 0 18px}.gallery-library .photo-library-heading>span{margin:0;font-size:24px}.gallery-library .photo-library-heading>div{flex-direction:row;gap:10px;padding:0}.gallery-library .photo-library-heading select,.gallery-library .photo-library-heading button{font-size:21px}.gallery-library .photo-tile img{height:160px}.gallery-library .photo-tile span{font-size:23px}}

.photo-selection-count{display:block;font-size:.8em;font-weight:400;opacity:.75;margin-top:8px}.photo-viewer button:focus-visible,.music-guide button:focus-visible{outline:2px solid #f5ffd3;outline-offset:3px;background:linear-gradient(#c9e39a88,#849c5088)}.media-source-count{font-size:25px!important;margin:0 0 25px!important}
