/* Prairie Sentinels (exposure.js): the era's file browser (.xb) and image viewer (.xv), and the slide show (.xs). */

/* ---------- file browser ---------- */
.wbody.xb { padding: 0; overflow: hidden; container-type: inline-size; }
@container (max-width: 560px) { .xb-side { display: none; } .xb-search { display: none; } .xb-tb:has(.xg) > span:not(.xg) { display: none; } }
.xb .xg svg, .xv .xg svg, .xs .xg svg { width: 16px; height: 16px; display: block; }
.xb-tools { display: flex; align-items: center; gap: 2px; padding: 2px 4px; flex: none; }
.xb-tb { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border: 1px solid transparent; background: none; font: inherit; color: inherit; min-height: 24px; }
.xb-tb:not(:disabled):hover { border-color: var(--hi) var(--lo) var(--lo) var(--hi); }
.xb-tb:disabled { opacity: .45; }
.xb-sep { width: 2px; height: 22px; margin: 0 4px; border-left: 1px solid var(--lo); border-right: 1px solid var(--hi); }
.xb-gap { flex: 1; }
.xb-addr { display: flex; align-items: center; gap: 6px; padding: 2px 4px 4px; flex: none; }
.xb-path, .xb-crumbs { flex: 1; display: flex; align-items: center; gap: 4px; min-width: 0; padding: 2px 4px; white-space: nowrap; overflow: hidden; background: #fff; }
.xb-path .ico, .xb-crumbs > .ico { width: 16px; height: 16px; flex: none; }
.xb-main { flex: 1; min-height: 0; display: flex; }
.xb-side { flex: 0 0 190px; overflow: auto; padding: 10px; font-size: 11px; box-sizing: border-box; }
.xb-grid { flex: 1; min-width: 0; overflow: auto; background: #fff; padding: 12px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 14px 10px; outline: none; }
.xb-item { width: calc(var(--xb-size) + 12px); display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 4px 0; cursor: default; }
.xb-thumb { width: var(--xb-size); height: var(--xb-size); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.xb-thumb img { max-width: 100%; max-height: 100%; display: block; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.xb-name { padding: 0 5px; font-size: 11px; }
.xb-item.sel .xb-name { background: var(--sel); color: var(--sel-text); }
.xb-item.sel .xb-thumb { outline: 2px solid var(--sel); outline-offset: 1px; }
.xb-grid.details { display: block; padding: 0; }
.xb-list { width: 100%; }
.xb-list td { white-space: nowrap; }
.xb-list td.xb-title { white-space: normal; color: #555; font-style: italic; }
.xb-list tr.sel td { background: var(--sel); color: var(--sel-text); }
.xb-list tr.sel td.xb-title { color: inherit; }
.xb-mini { display: inline-flex; width: 20px; height: 16px; align-items: center; justify-content: center; margin-right: 6px; vertical-align: middle; }
.xb-mini img { max-width: 20px; max-height: 16px; }
.xb-side .kv { grid-template-columns: auto 1fr; gap: 2px 6px; }
.xb-details { display: none; }
.xb-foot { display: flex; align-items: center; justify-content: center; gap: 10px; flex: none; padding: 3px 10px; font-size: 11px; position: relative; }
.xb-foot input { position: absolute; right: 12px; width: 90px; }
.xb-os9head { flex: none; text-align: center; font-size: 11px; padding: 2px 4px 3px; border-bottom: 1px solid #888; background: #ddd; }

/* Windows 98: the web-view side pane */
.xb-win98 .xb-side { background: #fff; border-right: 1px solid var(--lo); }
.xb-win98 .xb-side h2 { font: bold 18px Georgia, serif; margin: 6px 0 4px; }
.xb-win98 .xb-rule { height: 3px; margin: 0 0 10px; background: linear-gradient(90deg, #7b1fa2, #e0457b 50%, transparent); }
.xb-win98 .xb-side .ico.big { width: 32px; height: 32px; }
.xb-win98 .xb-preview { display: block; max-width: 100%; max-height: 150px; margin: 4px 0 8px; border: 1px solid #000; }
.xb-win98 .xb-note { color: #555; margin-top: 16px; }

/* XP: the blue task pane */
.xb-xp .xb-tools { border-bottom: 1px solid #d0d0bf; }
.xb-xp .xb-tb { border-radius: 3px; }
.xb-xp .xb-tb:not(:disabled):hover { border-color: #c2c2b8; background: linear-gradient(#fff, #ebeae4); }
.xb-xp .xb-path { border: 1px solid #7f9db9; }
.xb-xp .xb-side { flex-basis: 210px; padding: 12px; background: linear-gradient(#7ba2e7, #6375d6); }
.xb-task { margin-bottom: 12px; border-radius: 4px 4px 0 0; overflow: hidden; }
.xb-task-h { padding: 5px 10px; font-weight: bold; color: #215dc6; background: linear-gradient(90deg, #fff, #c6d3f7); }
.xb-task-b { padding: 8px 10px; background: #d6dff7; border: 1px solid #fff; border-top: 0; display: flex; flex-direction: column; gap: 5px; color: #000; }
.xb-task-b a { color: #0c32a0; text-decoration: none; display: flex; align-items: center; gap: 5px; }
.xb-task-b a:hover { text-decoration: underline; color: #2b72ff; }
.xb-task-b a .ico { width: 16px; height: 16px; flex: none; }
.xb-haiku-s { margin-top: 6px; font-style: italic; color: #333; }
.xb-xp .xb-thumb { border: 1px solid #c9c9c0; background: #fff; padding: 4px; }
.xb-xp .xb-item.sel .xb-thumb { outline: 0; border: 2px solid #316ac5; padding: 3px; }
.xb-xp .xb-item.sel .xb-name { background: #316ac5; color: #fff; }

/* Vista and 7: breadcrumbs, command bar, navigation pane, details pane */
.xb-vista .xb-addr, .xb-win7 .xb-addr { padding: 5px 6px; gap: 4px; }
.xb-round { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #567; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 30%, #fff, #b9d1ea 60%, #7a9cc6); color: #234; }
.xb-round:disabled { opacity: .55; }
.xb-round .xg svg { width: 13px; height: 13px; }
.xb-crumbs { border: 1px solid #8e9cb0; border-radius: 2px; height: 22px; box-sizing: border-box; }
.xb-crumbs span { color: #222; }
.xb-search { width: 180px; font-style: italic; }
.xb-cmd { display: flex; gap: 2px; padding: 3px 6px; flex: none; border-top: 1px solid rgba(255,255,255,.6); border-bottom: 1px solid #a9b8cc; background: linear-gradient(#f5f9fd, #dce7f4 50%, #cfdcec 51%, #dde8f5); }
.xb-vista .xb-cmd { background: linear-gradient(#566a80, #2b3c50 50%, #1c2a3a 51%, #26384c); border-bottom-color: #0d1621; }
.xb-vista .xb-cmd .xb-tb { color: #fff; }
.xb-cmd .xb-tb { border-radius: 3px; color: #1e395b; }
.xb-cmd .xb-tb:not(:disabled):hover { border-color: rgba(60,110,170,.6); background: linear-gradient(rgba(255,255,255,.75), rgba(190,220,250,.6)); }
.xb-vista .xb-cmd .xb-tb:not(:disabled):hover { background: linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.08)); border-color: rgba(255,255,255,.4); }
.xb-vista .xb-side, .xb-win7 .xb-side { background: #f1f5fb; border-right: 1px solid #d5dfe5; padding: 8px 0; font-size: 12px; }
.xb-nav-h { padding: 8px 12px 3px; color: #1e395b; font-weight: bold; }
.xb-nav { display: flex; align-items: center; gap: 6px; padding: 2px 12px 2px 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xb-nav .ico { width: 16px; height: 16px; flex: none; }
.xb-nav.on { background: linear-gradient(#e5f3fb, #c4e1f7); box-shadow: inset 0 0 0 1px #7bc0ef; border-radius: 3px; margin: 0 4px; padding-left: 18px; }
.xb-vista .xb-item, .xb-win7 .xb-item { border: 1px solid transparent; border-radius: 3px; }
.xb-vista .xb-item:hover, .xb-win7 .xb-item:hover { border-color: #b8d6fb; background: linear-gradient(#fafbfd, #ebf3fd); }
.xb-vista .xb-item.sel, .xb-win7 .xb-item.sel { border-color: #84acdd; background: linear-gradient(#dcebfc, #c1dbfc); }
.xb-vista .xb-item.sel .xb-thumb, .xb-win7 .xb-item.sel .xb-thumb { outline: 0; }
.xb-vista .xb-item.sel .xb-name, .xb-win7 .xb-item.sel .xb-name { background: none; color: inherit; }
.xb-vista .xb-details, .xb-win7 .xb-details { display: flex; align-items: center; gap: 14px; flex: none; height: 64px; padding: 6px 14px; box-sizing: border-box; font-size: 12px;
  border-top: 1px solid #bfd0e3; background: linear-gradient(#f5f9fd, #e0eaf6); color: #1e395b; }
.xb-vista .xb-details { background: linear-gradient(#e9eef4, #cbd8e6); }
.xb-details > img { max-height: 50px; max-width: 70px; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.xb-details .ico.big { width: 40px; height: 40px; }
.xb-details .kv { grid-template-columns: auto 1fr; gap: 1px 8px; flex: 1; min-width: 0; }
.xb-details .kv span:nth-child(odd) { color: #5a6d85; }
.xb-details .xb-dim { color: #5a6d85; }

/* Snow Leopard Finder */
.xb-aqua .xb-tools { padding: 4px 8px 6px; gap: 8px; background: linear-gradient(#bcbcbc, #9d9d9d); border-bottom: 1px solid #555; }
.window.active .xb-aqua .xb-tools { background: linear-gradient(#c4c4c4, #969696); }
.xb-seg { display: inline-flex; }
.xb-aqua .xb-tb { min-height: 20px; padding: 1px 9px; border: 1px solid #5f5f5f; background: linear-gradient(#fdfdfd, #e3e3e3 50%, #d3d3d3 51%, #e9e9e9); border-radius: 4px; font-size: 13px; line-height: 1; }
.xb-aqua .xb-seg .xb-tb { border-radius: 0; }
.xb-aqua .xb-seg .xb-tb:first-child { border-radius: 4px 0 0 4px; }
.xb-aqua .xb-seg .xb-tb:last-child { border-radius: 0 4px 4px 0; border-left: 0; }
.xb-aqua .xb-tb .xg svg { width: 13px; height: 13px; }
.xb-aqua .xb-search { width: 150px; border-radius: 10px; padding: 1px 9px; font-style: normal; }
.xb-aqua .xb-side, .xb-ubuntu .xb-side { font-size: 12px; padding: 6px 0; }
.xb-aqua .xb-side { flex-basis: 170px; background: #dfe5ed; border-right: 1px solid #9a9a9a; }
.xb-aqua .xb-nav-h { color: #6f7f92; font-size: 11px; text-shadow: 0 1px 0 #fff; }
.xb-aqua .xb-nav.on { background: linear-gradient(#6c9ad8, #3d6fc0); color: #fff; box-shadow: none; border-radius: 0; margin: 0; padding-left: 22px; font-weight: bold; }
.xb-aqua .xb-thumb img { border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.xb-aqua .xb-item.sel .xb-thumb { outline: 0; background: rgba(0,0,0,.14); border-radius: 6px; }
.xb-aqua .xb-item.sel .xb-name { background: #3875d7; color: #fff; border-radius: 8px; padding: 0 8px; font-weight: bold; }
.xb-aqua .xb-foot { background: linear-gradient(#d6d6d6, #b4b4b4); border-top: 1px solid #8a8a8a; color: #333; }

/* Mac OS 9 Finder */
.xb-os9 .xb-grid { border-top: 1px solid #fff; }
.xb-os9 .xb-thumb img { box-shadow: 1px 1px 0 #555; }
.xb-os9 .xb-item.sel .xb-thumb img { filter: brightness(.55) sepia(1) hue-rotate(200deg) saturate(3); }
.xb-os9 .xb-item.sel .xb-thumb { outline: 0; }
.xb-os9 .xb-item.sel .xb-name { background: #000; color: #fff; }

/* Ubuntu Nautilus */
.xb-ubuntu .xb-tools { border-bottom: 1px solid #c9bfb2; }
.xb-ubuntu .xb-tb { border-radius: 3px; }
.xb-ubuntu .xb-tb:not(:disabled):hover { border-color: #b8a99a; background: linear-gradient(#fff, #efebe7); }
.xb-ubuntu .xb-crumbs { background: none; border: 0; padding: 0; gap: 0; }
.xb-ubuntu .xb-crumbs .btn { min-height: 22px; padding: 1px 10px; border-radius: 0; }
.xb-ubuntu .xb-crumbs .btn:first-child { border-radius: 3px 0 0 3px; }
.xb-ubuntu .xb-crumbs .btn:last-child { border-radius: 0 3px 3px 0; font-weight: bold; }
.xb-ubuntu .xb-side { flex-basis: 160px; background: #fff; border-right: 1px solid #c9bfb2; }
.xb-ubuntu .xb-nav-h { color: #555; }
.xb-ubuntu .xb-nav.on { background: #d6874f; color: #fff; box-shadow: none; border-radius: 0; margin: 0; padding-left: 22px; }
.xb-ubuntu .xb-thumb img { border: 1px solid #888; }
.xb-ubuntu .xb-item.sel .xb-thumb { outline: 0; }
.xb-ubuntu .xb-item.sel .xb-thumb img { filter: brightness(.8) sepia(.6) hue-rotate(-20deg) saturate(2); }
.xb-ubuntu .xb-item.sel .xb-name { background: #d6874f; color: #fff; border-radius: 3px; }

/* ---------- image viewer ---------- */
.window.xv-win { min-width: 300px; min-height: 260px; }
.window.xv-nomenu > .menubar { display: none; }
.wbody.xv { padding: 0; overflow: hidden; }
.xv-main { flex: 1; min-height: 0; display: flex; }
.xv-stage { flex: 1; min-width: 0; position: relative; overflow: hidden; outline: none; background: #808080; cursor: default; touch-action: none; }
.xv-stage.pannable { cursor: grab; }
.xv-stage.grabbing.pannable { cursor: grabbing; }
.xv-stage[data-err]::after { content: attr(data-err); position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: #ffffe1; border: 1px solid #000; padding: 2px 8px; font-size: 11px; }
.xv-img { position: absolute; max-width: none; user-select: none; -webkit-user-drag: none; transform-origin: 50% 50%; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.xv-img.loading { filter: blur(1.5px); }
.xv-bar { display: flex; align-items: center; justify-content: center; gap: 3px; padding: 3px 6px; flex: none; position: relative; flex-wrap: wrap; }
.xv-bar-top { justify-content: flex-start; }
.xv-b { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; min-width: 28px; min-height: 26px; padding: 3px 5px; border: 1px solid transparent; background: none; color: inherit; font: inherit; }
.xv-b:hover { border-color: var(--hi) var(--lo) var(--lo) var(--hi); }
.xv-b:active { border-color: var(--lo) var(--hi) var(--hi) var(--lo); }
.xv-b > span:not(.xg) { font-size: 11px; white-space: nowrap; }
.xv-sep { width: 2px; height: 22px; margin: 0 5px; border-left: 1px solid var(--lo); border-right: 1px solid var(--hi); }
.xv-zoomval { min-width: 46px; padding: 1px 4px; margin-left: 6px; text-align: right; background: #fff; font-size: 11px; }
.xv-zoompop { position: absolute; bottom: calc(100% + 4px); left: 8px; padding: 10px 8px; background: #fff; border: 1px solid #8a9ab0; box-shadow: 0 3px 10px rgba(0,0,0,.35); z-index: 3; border-radius: 3px; }
.xv-zoompop input { writing-mode: vertical-lr; direction: rtl; height: 130px; width: 22px; }
.xv-haiku { flex: none; padding: 9px 14px 10px; text-align: center; background: var(--face); user-select: text; }
.xv-poem { font: italic 15px/1.45 Georgia, "Times New Roman", serif; color: #222; }
.xv-cap { margin-top: 4px; font-size: 10.5px; color: #666; letter-spacing: .04em; }
.xv-side { flex: 0 0 210px; overflow: auto; padding: 10px 12px; box-sizing: border-box; font-size: 11.5px; }
.xv-side .kv { grid-template-columns: auto 1fr; gap: 3px 8px; margin-bottom: 10px; }
.xv-side .kv span:nth-child(odd) { color: #666; }
.xv-side-h { font-weight: bold; font-size: 12.5px; margin-bottom: 8px; }
.xv-side-h2 { font-weight: bold; margin: 6px 0 4px; }
.xv-side .xv-haiku { background: none; padding: 4px 0; text-align: left; }
.xv-side-thumb { display: block; max-width: 100%; max-height: 110px; margin: 0 auto 10px; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.xv-noside .xv-side { display: none; }
.xv-top { display: flex; gap: 2px; padding: 2px 6px; flex: none; }
.xv-topb { border: 1px solid transparent; background: none; padding: 3px 9px; font: inherit; color: inherit; border-radius: 3px; }
.xv-topb:disabled { opacity: .5; }
.xv-topb:not(:disabled):hover { border-color: rgba(60,110,170,.6); background: linear-gradient(rgba(255,255,255,.8), rgba(190,220,250,.6)); }
/* narrow windows and phones: the side pane goes under the photo */
.xv-narrow .xv-main { flex-direction: column; }
.xv-narrow .xv-side { flex: none; max-height: 34%; border: 0 !important; }
.xv-narrow .xv-side .kv, .xv-narrow .xv-side-thumb, .xv-narrow .xv-side-h, .xv-narrow .xv-side-h2 { display: none; }
.xv-narrow .xv-side .xv-haiku { text-align: center; }
.xv-narrow .xv-b > span:not(.xg) { display: none; }

/* Imaging (98) */
.xv-win98 .xv-bar { border-bottom: 1px solid var(--lo); box-shadow: 0 1px var(--hi); }
.xv-win98 .xv-haiku { border-top: 1px solid var(--hi); box-shadow: 0 -1px var(--lo); }

/* Windows Picture and Fax Viewer (XP) */
.xv-xp .xv-stage { background: #fff; }
.xv-xp .xv-img { box-shadow: none; }
.xv-xp .xv-haiku { background: #fff; border-top: 1px solid #eee; }
.xv-xp .xv-bar { background: linear-gradient(#f8f8f6, #e4e3dc); border-top: 1px solid #c9c8be; padding: 4px; }
.xv-xp .xv-b { border-radius: 3px; color: #1c4596; }
.xv-xp .xv-b:hover { border-color: #b7b49e; background: linear-gradient(#fff, #efeee7); }
.xv-xp .xv-b:active { border-color: #9b9884; background: #e2e0d3; }
.xv-xp .xv-prev, .xv-xp .xv-next { border-radius: 50%; color: #fff; background: radial-gradient(circle at 50% 30%, #c4f2a6, #3ea52d 60%, #227a17); border: 1px solid #1d6b14 !important; min-width: 28px; }
.xv-xp .xv-sep { border-left-color: #c9c8be; border-right-color: #fff; }

/* Windows Photo Gallery (Vista) */
.xv-vista .xv-top, .xv-win7 .xv-top { background: linear-gradient(#f2f7fc, #d9e6f3); border-bottom: 1px solid #a9bcd2; color: #1e395b; }
.xv-vista .xv-top { background: linear-gradient(#5f7891, #2f4559 50%, #1e3043 51%, #2b4157); color: #fff; border-bottom-color: #0d1621; }
.xv-vista .xv-topb:not(:disabled):hover { background: linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.08)); border-color: rgba(255,255,255,.4); }
.xv-vista .xv-stage { background: linear-gradient(#fdfeff, #e6eef7); }
.xv-vista .xv-side { background: #f4f7fb; border-left: 1px solid #b7c7da; color: #1e395b; }
.xv-vista .xv-side .kv span:nth-child(odd) { color: #5a6d85; }
.xv-vista .xv-bar, .xv-win7 .xv-bar { padding: 5px 8px; gap: 6px; }
.xv-vista .xv-bar { background: linear-gradient(#4a6178, #1f3246 50%, #0f1f30 51%, #1a2c40); border-top: 1px solid #0b1520; color: #e8f2ff; }
.xv-win7 .xv-bar { background: linear-gradient(#eef3f9, #d7e2ee 50%, #cbd8e8 51%, #dfe8f3); border-top: 1px solid #a3b6cc; color: #2f4f75; }
.xv-vista .xv-b, .xv-win7 .xv-b { border-radius: 4px; min-width: 30px; }
.xv-vista .xv-b:hover { border-color: rgba(255,255,255,.35); background: linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,.06)); }
.xv-win7 .xv-b:hover { border-color: #8fb1d6; background: linear-gradient(rgba(255,255,255,.9), rgba(200,225,250,.7)); }
.xv-vista .xv-show, .xv-win7 .xv-show { width: 40px; height: 40px; min-width: 40px; border-radius: 50% !important; justify-content: center; color: #fff;
  background: radial-gradient(circle at 50% 28%, #c9ecff, #3a9ae6 55%, #0d5bb0) !important; border: 1px solid #0b3f80 !important; box-shadow: 0 0 6px rgba(80,170,255,.6); }
.xv-vista .xv-show .xg svg, .xv-win7 .xv-show .xg svg { width: 18px; height: 18px; }
.xv-vista .xv-sep { border-left-color: rgba(0,0,0,.5); border-right-color: rgba(255,255,255,.18); }
.xv-win7 .xv-sep { border-left-color: #a3b6cc; border-right-color: #fff; }
.xv-win7 .xv-stage { background: #fff; }
.xv-win7 .xv-img { box-shadow: none; }
.xv-win7 .xv-haiku { background: linear-gradient(#fbfcfe, #eef3f9); border-top: 1px solid #d6e0ec; }

/* Preview (Snow Leopard) */
.xv-aqua .xv-bar { background: linear-gradient(#c4c4c4, #969696); border-bottom: 1px solid #555; padding: 3px 8px 4px; gap: 2px; }
.xv-aqua .xv-b { border: 0; color: #333; }
.xv-aqua .xv-b .xg { padding: 3px 9px; border: 1px solid #5f5f5f; border-radius: 4px; background: linear-gradient(#fdfdfd, #e3e3e3 50%, #d3d3d3 51%, #e9e9e9); }
.xv-aqua .xv-b:active .xg { background: linear-gradient(#9a9a9a, #c8c8c8); }
.xv-aqua .xv-b .xg svg { width: 14px; height: 14px; }
.xv-aqua .xv-b > span:not(.xg) { font-size: 10.5px; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.xv-aqua .xv-sep { border: 0; width: 6px; }
.xv-aqua .xv-stage { background: #8f8f8f; }
.xv-aqua .xv-side { background: rgba(236,236,236,.97); border-left: 1px solid #8a8a8a; }

/* PictureViewer (OS 9) */
.xv-os9 .xv-stage { background: #fff; }
.xv-os9 .xv-img { box-shadow: none; }
.xv-os9 .xv-haiku { background: #ddd; border-top: 1px solid #888; }
.xv-os9 .xv-bar { background: #ddd; border-top: 1px solid #fff; }

/* Eye of GNOME (Ubuntu) */
.xv-ubuntu .xv-bar { border-bottom: 1px solid #c9bfb2; }
.xv-ubuntu .xv-b { border-radius: 3px; }
.xv-ubuntu .xv-b:hover { border-color: #b8a99a; background: linear-gradient(#fff, #efebe7); }
.xv-ubuntu .xv-b .xg { color: #555753; }
.xv-ubuntu .xv-stage { background: #2e3436; }
.xv-ubuntu .xv-side { background: #f7f4ef; border-left: 1px solid #c9bfb2; }

/* ---------- slide show ---------- */
.xs { position: fixed; inset: 0; z-index: 100000; background: #000; cursor: none; outline: none; }
.xs.awake { cursor: default; }
.xs > img { position: absolute; inset: 0 0 18vh; margin: auto; max-width: 94vw; max-height: 78vh; opacity: 0; transition: opacity .9s ease; }
.xs > img.on { opacity: 1; }
.xs-poem { position: absolute; left: 0; right: 0; bottom: 4.5vh; text-align: center; color: #eee; font: italic clamp(15px, 2.2vh, 26px)/1.5 Georgia, serif; opacity: 0; transition: opacity 1.2s ease; }
.xs-poem.on { opacity: 1; }
.xs-cap { font: 11px/2 Verdana, sans-serif; letter-spacing: .1em; color: #777; font-style: normal; }
.xs-bar { position: absolute; top: 16px; right: 16px; display: flex; gap: 6px; opacity: 0; transition: opacity .3s; }
.xs.awake .xs-bar { opacity: 1; }
.xs-bar button { min-width: 36px; height: 32px; border-radius: 4px; border: 1px solid rgba(255,255,255,.3); background: rgba(40,40,40,.8); color: #eee; display: inline-flex; align-items: center; justify-content: center; font: 12px Verdana, sans-serif; padding: 0 10px; }
.xs-bar button:hover { background: rgba(80,80,80,.9); }
.xs-bar button.paused .xg { opacity: .45; }
