.reader-marker-layer{position:absolute;inset:0;pointer-events:none;z-index:4}.reader-marker{position:absolute;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#1674c9;color:#fff;box-shadow:0 2px 8px #0006;display:flex;align-items:center;justify-content:center;pointer-events:auto;font-size:15px;cursor:pointer}.reader-marker:hover,.reader-marker:focus{background:#0d5da7;outline:2px solid #fff}
.reader-marker-modal[hidden]{display:none}
.reader-marker-modal{box-sizing:border-box;width:calc(100vw - 32px);height:calc(100vh - 32px);max-width:none;max-height:none;padding:0;margin:auto;border:0;border-radius:4px;background:#f4f5f7;color:#333;overflow:hidden}
.reader-marker-modal::backdrop{background:rgba(20,30,40,.55)}
.reader-marker-dialog{height:100%;display:flex;flex-direction:column;min-height:0}
.reader-marker-header{display:flex;align-items:center;gap:16px;min-height:56px;padding:8px 16px;background:#fff;border-bottom:1px solid #e0e3e7;flex-shrink:0}
.reader-marker-header h2{flex:1;min-width:0;font-size:18px;margin:0;overflow-wrap:anywhere;color:#333}
.reader-marker-header button{border:0;background:none;color:#555;font-size:28px;line-height:1;cursor:pointer}
.reader-marker-body{flex:1;min-height:0;overflow:auto;padding:16px;text-align:center;display:flex;align-items:center;justify-content:center}
.reader-marker-body> a{display:block;max-width:100%;max-height:100%}
.reader-marker-body img,.reader-marker-body video{display:block;max-width:100%;max-height:calc(100vh - 192px);margin:auto}
.reader-marker-body video{width:100%;height:100%;object-fit:contain}
.reader-marker-body-video{padding:0;overflow:hidden;background:#000}
.reader-marker-body-video video{max-height:none;margin:0}
.reader-marker-body iframe{width:100%;height:100%;border:0;background:#fff}
.reader-marker-body .reader-marker-file-card{width:100%;padding:24px;border-radius:4px;background:#fff;color:#333}

.reader-marker-file-card{display:flex;align-items:stretch;gap:24px;max-width:680px;margin:0 auto;text-align:left}
.reader-marker-file-visual{display:flex;flex:0 0 190px;align-items:center;justify-content:center;min-height:190px;border:1px solid #e1e7ed;border-radius:4px;background:#f4f7fa;color:#337ab7;font-size:70px}
.reader-marker-file-archive{color:#3d6997}
.reader-marker-file-details{display:flex;flex:1;min-width:0;flex-direction:column;justify-content:flex-start}
.reader-marker-file-details dl{margin:0}
.reader-marker-file-details dl>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;padding:8px 0;border-top:1px solid #e9edf0}
.reader-marker-file-details dl>div:first-child{padding-top:0;border-top:0}
.reader-marker-file-details dt{color:#777;font-weight:400}
.reader-marker-file-details dd{margin:0;overflow-wrap:anywhere;font-weight:500}
@media(max-width:560px){.reader-marker-file-card{gap:16px}.reader-marker-file-visual{flex-basis:105px;min-height:150px;font-size:48px}.reader-marker-file-details dl>div{grid-template-columns:1fr;gap:2px}}
.reader-marker-footer{display:flex;justify-content:flex-end;align-items:center;min-height:64px;padding:10px 16px;flex-shrink:0;background:#fff;border-top:1px solid #e0e3e7}
