.glow-summary{margin:14px auto 0;text-align:center;color:rgba(240,232,214,.68);font-size:12px;letter-spacing:1px;line-height:1.8}
.glow-controls{width:min(960px,calc(100% - 40px));margin:16px auto 24px;color:#e5d8bd;font-family:var(--sans,system-ui,sans-serif);font-size:13px;text-align:center}
.glow-status{color:#d9c49c;line-height:1.8;margin:12px 0}.glow-status[hidden]{display:none}
.glow-pages{display:flex;justify-content:center;align-items:center;gap:22px;flex-wrap:wrap}
.glow-pages button{color:#edcf91;border:0;border-bottom:1px solid #edcf9145;padding:8px 4px;background:none;font:inherit;cursor:pointer}
.glow-pages button:disabled{opacity:.32;cursor:default}.glow-pages button[hidden]{display:none}.glow-range{font-size:12px;color:#d1c8b7}
.glow-controls button:focus-visible{outline:1px solid #edcf91;outline-offset:4px}
.glow-list{display:none;text-align:left;border-top:1px solid #e5d8bd25;margin-top:22px;padding-top:14px}.glow-list summary{color:#e6cd99;cursor:pointer;min-height:40px}.glow-list-items{max-height:280px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.glow-list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;border:0;border-bottom:1px solid #e5d8bd18;background:none;text-align:left;color:#e9e1d4;padding:10px 8px;font:inherit;cursor:pointer}.glow-list-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.glow-list-item small{color:#b9ad95;white-space:nowrap}.glow-list-item:hover{background:#ffffff08}
.glow-dialog{padding:0;border:1px solid #d6c8ac;border-radius:8px;background:#fffdf7;color:#372f27;width:min(480px,calc(100% - 32px));max-height:88svh;box-shadow:0 20px 80px #0008;font-family:var(--sans,system-ui,sans-serif)}.glow-dialog::backdrop{background:#080d12b8}.glow-detail{padding:22px}.glow-detail-head{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #d6c8ac80;padding-bottom:12px;font-size:12px;color:#927947}.glow-detail button{background:none;border:0;padding:8px 4px;color:#8d352c;cursor:pointer;font:inherit;min-height:40px}.glow-detail button:disabled{opacity:.35;cursor:default}.glow-detail button:focus-visible{outline:1px solid #8d352c;outline-offset:2px}.glow-detail h3{font-size:20px;color:#722c25;margin:18px 0 4px}.glow-date{color:#958775;font-size:12px;margin:0 0 12px}.glow-text{font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.glow-image img{display:block;width:100%;height:auto;margin-top:14px}.glow-detail-error{color:#9a3e32;font-size:13px}.glow-detail-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid #d6c8ac80;margin-top:18px;padding-top:8px}.glow-detail button[hidden]{display:none}
.glow-hover{position:fixed;z-index:80;background:#fffdf7;color:#6a4530;border:1px solid #d6c8ac;border-radius:4px;padding:9px 12px;pointer-events:none;font-size:12px;max-width:230px;box-shadow:0 5px 20px #0003}
@media(max-width:700px),(pointer:coarse){.glow-list{display:block}.glow-list[hidden]{display:none}.glow-pages{gap:16px}.glow-hover{display:none}}

#tree-preview .sec-head .glow-summary{color:var(--ink-faint)}
