/* 線上閱讀檢視器樣式 (外部檔，符合 CSP style-src-elem 'self') */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: #2b2b2b;
    color: #eee;
    font-family: "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.pdf-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    background: #1c1c1c;
    font-size: 15px;
    border-bottom: 1px solid #000;
}
.pdf-bar .title {
    max-width: 80vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#pdf-status { color: #aaa; font-size: 14px; }
#pdf-viewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 12px 60px;
}
canvas.pdf-page {
    max-width: 100%;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
    background: #fff;
}
