*{box-sizing:border-box}body{color:#e6eaf2;background:#0f1323;margin:0;font-family:Inter,system-ui,Arial,sans-serif}a{color:#7aa2ff}#root{min-height:100vh}.page-shell{justify-content:center;align-items:center;min-height:100vh;font-size:1.2rem;display:flex}.auth-page{flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:100vh;display:flex}.auth-form{flex-direction:column;gap:.75rem;width:100%;max-width:360px;display:flex}.auth-form input,.auth-form button{color:#e6eaf2;background:#131a31;border:1px solid #2a355f;border-radius:8px;padding:.7rem .8rem}.auth-form button{cursor:pointer}.error-text{color:#ff7b7b;margin:0}.admin-nav{z-index:20;background:#0b1020;border-bottom:1px solid #2a355f;gap:.5rem;padding:1rem;display:flex;position:fixed;top:0;left:0;right:0}.admin-shell{background:radial-gradient(circle at 15% 10%,#4338ca1f,#0000 30%),radial-gradient(circle at 85% 0,#0ea5e91a,#0000 25%),#0b1020;width:100%;min-height:100vh}.admin-inner{justify-content:center;width:100%;display:flex}.admin-nav-brand{color:#c9d8ff;letter-spacing:.2px;margin-right:10px;font-weight:700}.admin-nav-link{color:#c7d8ff;border:1px solid #0000;border-radius:999px;padding:7px 11px;font-size:.92rem;text-decoration:none}.admin-nav-link:hover{background:#1e294fcc;border-color:#33437a}.admin-content{flex-direction:column;gap:12px;width:min(1100px,100vw - 24px);margin-top:72px;padding:12px;display:flex}.admin-card{background:linear-gradient(#161e38f5,#0e1428f5);border:1px solid #2a355f;border-radius:14px;padding:14px;box-shadow:0 12px 30px #04081459}.admin-card h2{margin:0 0 8px;font-size:1.35rem}.admin-card h3{color:#d7e2ff;margin:4px 0 10px;font-size:1rem}.admin-subheading{color:#c8d6ff;margin:14px 0 8px;font-size:.95rem;font-weight:650}.admin-inline{color:#e6eaf2;align-items:center;gap:6px;font-size:.9rem;display:flex}.admin-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.editor-top-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.admin-form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-bottom:12px;display:grid}.admin-form-grid input,.admin-form-grid select,.admin-form-grid button,.admin-form-grid textarea{color:#e6eaf2;background:#111935;border:1px solid #2a355f;border-radius:8px;padding:9px 10px}.admin-field-label{color:#c8d4f5;grid-column:1/-1;margin-top:4px;font-size:.88rem;font-weight:600}.admin-textarea-large{resize:vertical;grid-column:1/-1;width:100%;min-height:220px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.88rem;line-height:1.45}.admin-list{flex-direction:column;gap:8px;display:flex}.color-input-row{grid-template-columns:44px 1fr;gap:8px;display:grid}.color-input-row input[type=color]{background:#111935;border:1px solid #2a355f;border-radius:8px;width:44px;height:38px;padding:0}.admin-row{background:#111935;border:1px solid #2a355f;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px;transition:border-color .12s,transform .12s;display:flex}.admin-row:hover{border-color:#3a4e89;transform:translateY(-1px)}.row-actions{gap:8px;display:flex}.admin-article-dashboard{background:#0c1228a6;border:1px solid #2a355f;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:10px 12px;display:flex}.admin-status-legend{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.admin-status-legend-item{color:#d7e2ff;align-items:center;gap:8px;font-size:.9rem;display:inline-flex}.admin-status-legend-count{font-variant-numeric:tabular-nums;min-width:1.5em;font-weight:800}.admin-status-swatch{border-radius:3px;flex-shrink:0;width:12px;height:12px}.admin-status-swatch--published{background:linear-gradient(135deg,#4ecf7a,#2a8a4a);box-shadow:0 0 0 1px #50c87873}.admin-status-swatch--draft{background:linear-gradient(135deg,#e8c547,#b88910);box-shadow:0 0 0 1px #dcb43c66}.admin-status-filters{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.admin-filter-chip{font:inherit;color:#b8c8f0;cursor:pointer;background:#0f172f;border:1px solid #2a355f;border-radius:999px;padding:6px 12px;font-size:.82rem;font-weight:600;line-height:1.2}.admin-filter-chip:hover{color:#e6eaf2;border-color:#4e67d0}.admin-filter-chip.active{color:#fff;background:#1a2650;border-color:#6b8cff}.admin-article-groups{flex-direction:column;gap:10px;display:flex}.admin-article-group{background:#0a0e1c80;border:1px solid #2a355f;border-radius:10px;overflow:hidden}.admin-article-group-summary{cursor:pointer;color:#e6eaf2;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;font-weight:650;list-style:none;display:flex}.admin-article-group .admin-article-group-summary::-webkit-details-marker{display:none}.admin-article-group-summary:before{content:"▸";color:#8fa8e8;margin-right:8px;font-size:.85em;transition:transform .15s;display:inline-block}.admin-article-group[open] .admin-article-group-summary:before{transform:rotate(90deg)}.admin-article-group-title{font-size:1.05rem}.admin-article-group-meta{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:inline-flex}.admin-article-group-count{color:#9aa8cf;font-size:.85rem;font-weight:500}.admin-group-status-mini{flex-wrap:wrap;gap:6px;display:inline-flex}.admin-mini-pill{text-transform:uppercase;letter-spacing:.04em;border-radius:6px;padding:3px 8px;font-size:.72rem;font-weight:700}.admin-mini-pill--pub{color:#9ee8b8;background:#3ca05a40;border:1px solid #50c87859}.admin-mini-pill--draft{color:#f0d878;background:#c8961e33;border:1px solid #dcb43c59}.admin-list--nested{gap:8px;padding:0 10px 10px}.admin-article-row{align-items:flex-start}.admin-article-row-main{flex:220px;min-width:0}.admin-article-text{min-width:0}.admin-article-title-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.admin-article-title-row strong{flex:auto;min-width:0;line-height:1.35}.admin-status-pill{text-transform:uppercase;letter-spacing:.06em;border-radius:6px;flex:none;padding:4px 10px;font-size:.72rem;font-weight:800;line-height:1.2}.admin-status-pill--published{color:#b8f5cf;background:#328c5559;border:1px solid #50c87873}.admin-status-pill--draft{color:#ffe9a8;background:#b482144d;border:1px solid #dcaa3273}.admin-article-status-track{background:#ffffff0f;border-radius:4px;height:6px;margin:8px 0 6px;overflow:hidden}.admin-status-fill{border-radius:4px;height:100%;transition:width .2s}.admin-status-fill.is-published{background:linear-gradient(90deg,#2f8f55,#5dd68a);width:100%}.admin-status-fill.is-draft{background:linear-gradient(90deg,#b88910,#e8c547);width:58%}.admin-article-meta-line{word-break:break-word}.admin-article-slug{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.82em}.admin-article-actions{flex:0 auto;align-items:flex-start}.admin-article-row--published{border-left:4px solid #3d9e5c}.admin-article-row--draft{border-left:4px solid #c9a017}.row-actions button,.admin-toolbar button,.admin-toolbar a{color:#e6eaf2;background:#0f172f;border:1px solid #2a355f;border-radius:8px;padding:8px 10px;text-decoration:none}.btn{cursor:pointer;justify-content:center;align-items:center;gap:6px;font-weight:600;line-height:1;display:inline-flex}.btn-primary{background:linear-gradient(#3950a9,#2b3f90)!important;border-color:#4e67d0!important}.btn-ghost{background:#0f172f!important}.editor-split{grid-template-columns:1fr 1fr;gap:10px;display:grid}.editor-split.mode-editor,.editor-split.mode-preview{grid-template-columns:1fr}.editor-view-mode{align-items:center;gap:6px;margin-right:4px;display:inline-flex}.editor-pane{background:#1e1e1e;border:1px solid #2a355f;border-radius:8px;flex-direction:column;gap:0;min-width:0;display:flex;overflow:hidden}.markdown-toolbar{background:#141a2e;border-bottom:1px solid #2a355f;flex-wrap:wrap;align-items:center;gap:4px;padding:6px 8px;display:flex}.md-tool{font:inherit;color:#c5d3fb;cursor:pointer;background:#0f172f;border:1px solid #2a355f;border-radius:6px;padding:4px 8px;font-size:.8rem;line-height:1.2}.md-tool:hover{background:#1a2548;border-color:#3950a9}.md-tool:focus-visible{outline-offset:1px;outline:2px solid #4e67d0}.md-tool-sep{background:#2a355f;width:1px;height:18px;margin:0 2px}.md-toolbar-file-input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.monaco-upload-line{background:#25b57a14}.monaco-upload-inline{color:#7de3b5;font-size:.78rem;font-style:italic}.preview-pane{overscroll-behavior:contain;background:#0f172f;border:1px solid #2a355f;border-radius:8px;min-height:420px;padding:12px;overflow:auto}.preview-pane.preview-full{min-height:70vh}.preview-pane img,.preview-pane video,.preview-pane iframe{background:#0b1328;border:1px solid #2a355f;border-radius:10px;width:min(100%,920px);max-width:100%;height:auto;margin:.75rem auto;transition:transform .22s,box-shadow .22s,filter .22s;display:block;box-shadow:0 10px 30px #0000003d}.preview-pane video,.preview-pane iframe{aspect-ratio:16/9;min-height:240px}.preview-pane img{image-rendering:auto;object-fit:contain}.preview-pane.media-fit-contain img,.preview-pane.media-fit-contain video{object-fit:contain}.preview-pane.media-fit-cover img,.preview-pane.media-fit-cover video{object-fit:cover;max-height:min(68vh,700px)}.media-picker{background:#111935;border:1px solid #2a355f;border-radius:8px;align-items:center;gap:8px;padding:6px 8px;display:inline-flex;position:relative;overflow:hidden}.media-fit-controls{align-items:center;gap:8px;margin:8px 0 4px;display:inline-flex}.media-picker-label{color:#c5d3fb;font-size:.85rem}.media-file-name{color:#9aa8cf;white-space:nowrap;text-overflow:ellipsis;max-width:180px;font-size:.85rem;overflow:hidden}.media-file-input{opacity:0;cursor:pointer;position:absolute;inset:0}.preview-pane h1,.preview-pane h2,.preview-pane h3{margin:.6rem 0 .4rem;line-height:1.3}.preview-pane p{margin:.45rem 0}.preview-pane pre{background:#0b1328;border:1px solid #2a355f;border-radius:8px;padding:10px;overflow:auto}.preview-pane code{background:#1a2548;border-radius:4px;padding:2px 5px}.danger-btn{background:#3a111a!important;border:1px solid #7a1f2e!important}.library-page{background:#0d111b;grid-template-columns:240px 300px 1fr;height:100vh;display:grid;overflow:hidden}.library-sidebar{background:#0a0f1a;border-right:1px solid #1f2942;flex-direction:column;gap:4px;min-height:0;padding:12px;display:flex;overflow:auto}.library-brand{margin-bottom:8px;font-weight:700}.sidebar-section-title{color:#8ea0cc;text-transform:uppercase;margin-top:8px;margin-bottom:2px;font-size:.75rem}.sidebar-link,.sidebar-sub-link{text-align:left;color:#dbe7ff;background:0 0;border:1px solid #0000;border-radius:6px;padding:7px 8px}.sidebar-link:hover,.sidebar-sub-link:hover,.sidebar-link.active{background:#121a2f;border-color:#2a355f}.sidebar-sub-link{padding-left:18px;font-size:.92rem}.sidebar-sub-link.active{background:#1a2648;border-color:#3f57a0}.sidebar-sub-link--search-hit{flex-direction:column;align-items:stretch;gap:4px;display:flex}.library-article-hit-title{font-weight:600;display:block}.library-article-hit-meta{flex-wrap:wrap;gap:8px;margin-top:2px;font-size:.75rem;display:flex}.library-article-hit-read{color:#8ea0cc}.library-article-hit-progress{color:#b8c5e0}.library-article-hit-snippet{-webkit-line-clamp:2;color:#9aa8c9;-webkit-box-orient:vertical;font-size:.82rem;line-height:1.35;display:-webkit-box;overflow:hidden}mark.search-hit-mark{color:inherit;background:#ffd66659;border-radius:3px;padding:0 .12em}.library-main{flex-direction:column;min-height:0;display:flex;overflow:hidden}.library-article-list{border-right:1px solid #1f2942;flex-direction:column;min-height:0;display:flex}.article-list-scroll{min-height:0;padding:8px;overflow:auto}.pane-title{color:#c9d8ff;border-bottom:1px solid #1f2942;padding:8px 12px;font-weight:600}.vault-toolbar-btn{color:#c5d5f5;cursor:pointer;white-space:nowrap;background:#131d36;border:1.5px solid #3a4d72;border-radius:7px;justify-content:center;align-items:center;height:36px;padding:0 16px;font-size:.95rem;font-weight:500;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.vault-toolbar-btn:hover:not(:disabled){color:#e8f0ff;background:#1e2d50;border-color:#5878b8}.vault-toolbar-btn:focus-visible{outline-offset:2px;outline:3px solid #4a8cff}.vault-toolbar-btn.active{color:#ddeaff;background:#1e3060;border-color:#6090d8}.vault-toolbar-btn--primary{color:#fff;background:#1e40af;border-color:#2563eb;font-weight:600}.vault-toolbar-btn--primary:hover:not(:disabled){background:#1d4ed8;border-color:#3b82f6}.vault-toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.vault-sidebar-section{align-items:center;gap:6px;padding:6px 10px 4px;display:flex}.vault-cat-add-btn{color:#7fa8e8;cursor:pointer;background:0 0;border:1.5px solid #2e3f62;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:1.2rem;line-height:1;transition:background .15s,color .15s;display:inline-flex}.vault-cat-add-btn:hover{color:#a8d0ff;background:#1e2d50}.vault-cat-add-btn:focus-visible{outline-offset:2px;outline:3px solid #4a8cff}.vault-cat-row{align-items:center;gap:2px;padding-right:4px;display:flex}.vault-cat-btn{flex:1;min-width:0;font-size:1rem}.vault-cat-actions{opacity:0;flex-shrink:0;gap:2px;transition:opacity .15s;display:flex}.vault-cat-row:hover .vault-cat-actions,.vault-cat-row:focus-within .vault-cat-actions{opacity:1}.vault-cat-icon-btn{color:#8aaee0;cursor:pointer;background:0 0;border:none;border-radius:5px;justify-content:center;align-items:center;width:26px;height:26px;font-size:1rem;transition:background .12s,color .12s;display:inline-flex}.vault-cat-icon-btn:hover:not(:disabled){color:#c5d5f5;background:#1e2d50}.vault-cat-icon-btn--danger:hover:not(:disabled){color:#fca5a5;background:#450a0a}.vault-cat-icon-btn:focus-visible{outline-offset:1px;outline:3px solid #4a8cff}.vault-cat-icon-btn:disabled{opacity:.4;cursor:not-allowed}.vault-cat-form{background:#0c1629;border:1.5px solid #2e3f62;border-radius:8px;flex-direction:column;gap:6px;margin:6px 8px;padding:10px;display:flex}.vault-cat-input{color:#e2e8f0;box-sizing:border-box;background:#0f172a;border:1.5px solid #2a3a5c;border-radius:6px;width:100%;padding:8px 10px;font-size:1rem}.vault-cat-input:focus{outline-offset:0;border-color:#4a6fa5;outline:3px solid #4a8cff}.vault-cat-error{color:#fca5a5;margin:0;font-size:.88rem}.vault-cat-form-actions{gap:6px;display:flex}.vault-topbar-title{color:#c5d5f5;letter-spacing:.02em;font-size:1rem;font-weight:700}.vault-list-actions{border-bottom:1px solid #1a2340;padding:10px 10px 8px}.vault-empty-msg{color:#6b84b8;padding:16px 14px;font-size:.95rem}.vault-article-row{align-items:center;gap:4px;padding-right:6px;display:flex}.vault-article-btn{flex:1;min-width:0}.vault-article-title{text-overflow:ellipsis;white-space:nowrap;font-size:1rem;display:block;overflow:hidden}.vault-draft-badge{color:#fbbf24;vertical-align:middle;letter-spacing:.04em;background:#451a03;border:1px solid #78350f;border-radius:4px;margin-left:6px;padding:1px 6px;font-size:.72rem;font-weight:600;display:inline-block}.vault-article-actions{flex-shrink:0;gap:4px;display:flex}.vault-row-btn{color:#9ab8e8;cursor:pointer;white-space:nowrap;background:#0f1829;border:1.5px solid #2e3f62;border-radius:6px;justify-content:center;align-items:center;height:30px;padding:0 10px;font-size:.85rem;font-weight:600;transition:background .12s,color .12s;display:inline-flex}.vault-row-btn:hover:not(:disabled){color:#d0e4ff;background:#1e2d50}.vault-row-btn:focus-visible{outline-offset:2px;outline:3px solid #4a8cff}.vault-row-btn--del{color:#e88888;border-color:#4a1212}.vault-row-btn--del:hover:not(:disabled){color:#fca5a5;background:#450a0a;border-color:#7f1d1d}.vault-row-btn--edit{color:#90bcf0;border-color:#1e3f72}.vault-row-btn--edit:hover:not(:disabled){background:#152a50;border-color:#3b6bba}.vault-row-btn:disabled{opacity:.4;cursor:not-allowed}.vault-editor{flex-direction:column;height:100%;display:flex;overflow:hidden}.vault-editor-toolbar{border-bottom:1px solid #1f2942;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding:10px 18px;display:flex}.vault-editor-heading{color:#ddeaff;letter-spacing:.01em;margin:0;font-size:1.1rem;font-weight:700}.vault-editor-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.vault-view-mode{border-right:1px solid #1f2942;gap:6px;padding-right:4px;display:inline-flex}.vault-editor-meta{border-bottom:1px solid #1a2340;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;padding:10px 18px;display:flex}.vault-meta-input{color:#e8f0ff;background:#0f172a;border:1.5px solid #2a3a5c;border-radius:7px;flex:1;min-width:200px;height:38px;padding:0 12px;font-size:1rem;font-weight:500}.vault-meta-input:focus{outline-offset:0;border-color:#4a6fa5;outline:3px solid #4a8cff}.vault-meta-input::placeholder{color:#4a5a7c}.vault-meta-select{color:#e8f0ff;background:#0f172a;border:1.5px solid #2a3a5c;border-radius:7px;height:38px;padding:0 10px;font-size:.95rem}.vault-meta-select:focus{outline-offset:0;border-color:#4a6fa5;outline:3px solid #4a8cff}.vault-editor-error{color:#fca5a5;flex-shrink:0;margin:4px 18px 0;font-size:.9rem;font-weight:500}.vault-study-stats{border-bottom:1px dashed #1f2942;gap:14px;padding:6px 18px 2px;font-size:.78rem;display:flex}.vault-sections-bar{border-bottom:1px solid #1a2340;align-items:center;gap:10px;padding:8px 12px 6px;display:flex}.vault-sections-label{text-transform:uppercase;letter-spacing:.04em;flex-shrink:0;font-size:.75rem}.vault-toc-list{flex-direction:column;gap:2px;max-height:150px;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.vault-toc-item{line-height:1.3}.vault-toc-link{color:#9fc2ff;padding:2px 0;font-size:.82rem;text-decoration:none;display:inline-block}.vault-toc-link:hover{color:#cfe0ff;text-decoration:underline}.vault-editor-split{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;min-height:0;padding:10px 12px 12px;display:grid}.vault-editor-split.mode-editor,.vault-editor-split.mode-preview{grid-template-columns:1fr}.vault-monaco-wrap{border:1px solid #1f2942;border-radius:8px;flex:1;min-height:0;overflow:hidden}.vault-preview{flex:1;padding:28px 36px;overflow-y:auto}.vault-preview-pane{min-height:0}.vault-study-reader{max-width:78ch;margin:0 auto;padding:26px 28px;font-size:1.03rem;line-height:1.78}.vault-study-reader h1,.vault-study-reader h2,.vault-study-reader h3{margin-top:1.15em}.vault-study-reader blockquote{background:#2c426a2b;border-left:3px solid #5f7db8;border-radius:8px;padding:8px 12px}.vault-study-layout{grid-template-columns:minmax(180px,220px) minmax(0,1fr);gap:10px;height:100%;min-height:0;display:grid}.vault-sections-panel{border-right:1px solid #1f2942;padding:10px 8px;overflow:auto}.vault-sections-panel h3{text-transform:uppercase;color:#a7bce5;margin:0 0 8px;font-size:.8rem}@media (width<=1100px){.vault-editor-split{grid-template-columns:1fr}}@media (width<=960px){.vault-page.library-page{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:1fr;height:auto;min-height:100vh}.vault-page .library-sidebar,.vault-page .library-article-list{border-bottom:1px solid #1f2942;border-right:none;max-height:none}.vault-page .article-list-scroll{max-height:180px}.vault-study-layout{grid-template-columns:1fr}.vault-sections-panel{border-bottom:1px solid #1f2942;border-right:none;max-height:150px}}.library-topbar{border-bottom:1px solid #1f2942;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.library-links{gap:12px;display:flex}.library-search{color:#e6eaf2;background:#10182f;border:1px solid #2a355f;border-radius:999px;width:min(600px,70%);padding:8px 12px}.library-article{word-break:break-word;min-height:0;padding:20px;line-height:1.7;overflow:auto}.library-article h1,.library-article h2,.library-article h3{color:#f0f5ff}.library-article pre,.library-article code{max-width:100%;overflow:auto}.game-page{width:100%;height:100vh;position:relative}.librarian-page{background:radial-gradient(circle at 20% 10%,#3e2c2047 0%,#140e0bf5 55%,#0b0806 100%),repeating-linear-gradient(45deg,#d2b08c03 0 6px,#0000 6px 12px);min-height:100vh;padding:16px}.librarian-topbar{justify-content:flex-end;align-items:center;gap:8px;margin-bottom:14px;display:flex}.topbar-auth{z-index:40;align-items:center;gap:8px;display:inline-flex}.hud-session-loading{padding:8px 6px;font-size:.82rem}.librarian-tabs{background:#1f1610bf;border:1px solid #4c3729;border-radius:999px;gap:6px;padding:4px;display:inline-flex}.librarian-tab{color:#e6d4c2;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:999px;padding:6px 12px;transition:background .22s,border-color .22s,color .18s,transform .22s cubic-bezier(.34,1.2,.64,1),box-shadow .22s}.librarian-tab.active{background:#3d2a1f;border-color:#6a4d38}@media (prefers-reduced-motion:no-preference){.librarian-tab:hover:not(.active){background:#3d2a1f73;border-color:#6a4d388c}.librarian-tab.active{transform:scale(1.03);box-shadow:0 0 0 1px #ffd6aa2e,0 4px 14px #00000059}}.librarian-tabs-inline{margin:0 auto}.librarian-stage{grid-template-columns:320px 1fr;gap:14px;display:grid}.librarian-character,.bookshelf-wall,.librarian-articles{background:linear-gradient(#2d1f17f7,#18110dfa);border:1px solid #4a3528;border-radius:14px;box-shadow:0 14px 34px #02040a73}.librarian-character{flex-direction:column;gap:10px;padding:14px;display:flex}.librarian-avatar{background:linear-gradient(#3b291d,#251911);border:1px solid #71523b;border-radius:16px;place-items:center;width:128px;height:150px;margin-bottom:10px;padding:8px;display:grid;box-shadow:0 14px 26px #04081457}.librarian-avatar-wrap{outline:none;width:fit-content;position:relative}.librarian-about-popover{color:#f7e8d5;z-index:30;opacity:0;pointer-events:none;background:linear-gradient(#251811f7,#18100bfa);border:1px solid #8f6b4e;border-radius:14px;width:min(340px,100vw - 420px);padding:12px;transition:opacity .16s,transform .16s;position:absolute;top:-6px;left:calc(100% + 12px);transform:translateY(4px);box-shadow:0 14px 34px #00000080}.librarian-about-popover:before{content:"";background:#21160f;border-bottom:1px solid #8f6b4e;border-left:1px solid #8f6b4e;width:14px;height:14px;position:absolute;top:22px;left:-8px;transform:rotate(45deg)}.librarian-about-popover h3{color:#ffe7c4;margin:0 0 8px}.librarian-about-popover p{color:#f6e4d0;margin:0 0 8px;line-height:1.55}.librarian-about-popover p:last-child{margin-bottom:0}.librarian-avatar-wrap:hover .librarian-about-popover,.librarian-avatar-wrap:focus-within .librarian-about-popover,.librarian-avatar-wrap:focus .librarian-about-popover{opacity:1;transform:translateY(0)}.librarian-head{background:#f5d9b8;border:2px solid #d3af85;border-radius:50%;place-items:center;width:64px;height:64px;font-size:1.8rem;display:grid}.librarian-body{background:#2c457f;border:1px solid #6b89da;border-radius:12px;place-items:center;width:92px;height:64px;margin-top:-4px;font-size:1.6rem;animation:3.2s ease-in-out infinite librarianBob;display:grid}.librarian-bubble{color:#f6e7d6;background:#2b1d14;border:1px solid #7a593f;border-radius:10px;min-height:76px;margin:6px 0 0;padding:10px;position:relative}.librarian-bubble:after{content:"";background:#2b1d14;border-bottom:1px solid #7a593f;border-right:1px solid #7a593f;width:16px;height:16px;position:absolute;bottom:-10px;left:26px;transform:rotate(45deg)}.typing-caret{color:#ffd38a;margin-left:2px;animation:.9s step-end infinite caretBlink;display:inline-block}.bookshelf-wall{background:linear-gradient(#2f2017f7,#1e150ffa),repeating-linear-gradient(90deg,#ffebc80d 0 2px,#00000008 2px 8px);flex-direction:column;min-height:0;max-height:min(58vh,520px);padding:14px;transition:opacity .38s,filter .38s;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #b2896624,inset 0 18px 28px #d6aa780d,inset 0 -22px 30px #100a078c}.bookshelf-wall>.lamp-row,.bookshelf-wall>.shelf-header{flex-shrink:0}.bookshelf-wall>p.subtle{flex-shrink:0;margin:0 0 8px}.bookshelf-wall>.shelf-scroll{flex:auto;min-height:0}.bookshelf-wall.dimmed{opacity:.75;filter:saturate(.92)}.bookshelf-wall:before{content:"";pointer-events:none;border:1px solid #d6b08833;border-radius:10px;position:absolute;inset:10px}.lamp-row{gap:16px;margin-bottom:8px;display:flex}.lamp{background:#ffcb72;border-radius:50%;width:11px;height:11px;animation:2.2s ease-in-out infinite lampFlicker;box-shadow:0 0 10px #ffc35ee6,0 0 24px #ffc35e8c,0 0 36px #ffc35e59}.lamp:nth-child(2){animation-delay:.24s}.lamp:nth-child(3){animation-delay:.52s}.lamp:nth-child(4){animation-delay:.76s}.shelf-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;scrollbar-color:#8b6444 #1a1009;flex-direction:column;min-width:min(100%,280px);min-height:0;padding:10px 6px 4px 4px;display:flex;overflow:hidden auto}.shelf-scroll-main{flex:none}.shelf-mini-dashboard{background:linear-gradient(165deg,#281a12eb 0%,#160e0af5 100%);border:1px solid #78523773;border-radius:10px;flex-direction:column;flex:auto;gap:8px;min-height:5.5rem;margin-top:4px;padding:10px 8px 8px;display:flex;box-shadow:inset 0 1px #ffe6c80f}@media (prefers-reduced-motion:no-preference){.shelf-mini-dashboard{animation:6s ease-in-out infinite shelfDashboardAmbient}}@keyframes shelfDashboardAmbient{0%,to{border-color:#78523773;box-shadow:inset 0 1px #ffe6c80f,0 0 0 1px #281c1259}50%{border-color:#966e4b8c;box-shadow:inset 0 1px #ffe6c817,0 0 22px #ffc88c12}}@media (prefers-reduced-motion:reduce){.shelf-mini-dashboard{animation:none!important}}.shelf-mini-dashboard-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.shelf-mini-dashboard-title{letter-spacing:.12em;text-transform:uppercase;color:#d4b896;font-size:.72rem;font-weight:800}.shelf-mini-dashboard-jump{min-height:auto!important;padding:4px 8px!important;font-size:.78rem!important}.shelf-mini-dashboard-stats{grid-template-columns:repeat(auto-fit,minmax(5.5rem,1fr));gap:8px;display:grid}.shelf-stat-tile{text-align:center;background:#0c08068c;border:1px solid #5a3e2a80;border-radius:8px;padding:8px 6px;transition:transform .22s cubic-bezier(.34,1.2,.64,1),border-color .22s,box-shadow .22s}@media (prefers-reduced-motion:no-preference){.shelf-mini-dashboard-stats .shelf-stat-tile{animation:.48s cubic-bezier(.22,1,.36,1) backwards shelfStatPopIn}.shelf-mini-dashboard-stats .shelf-stat-tile:first-child{animation-delay:40ms}.shelf-mini-dashboard-stats .shelf-stat-tile:nth-child(2){animation-delay:.1s}.shelf-mini-dashboard-stats .shelf-stat-tile:nth-child(3){animation-delay:.16s}.shelf-mini-dashboard-stats .shelf-stat-tile:nth-child(4){animation-delay:.22s}.shelf-mini-dashboard-stats .shelf-stat-tile:nth-child(5){animation-delay:.28s}}@keyframes shelfStatPopIn{0%{opacity:0;transform:translateY(10px)scale(.94)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.shelf-mini-dashboard-stats .shelf-stat-tile{animation:none!important}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.shelf-stat-tile:hover{border-color:#c8aa828c;transform:translateY(-3px);box-shadow:0 8px 18px #00000047}}.shelf-stat-tile--accent{background:#14203040;border-color:#78c8ff38}.shelf-stat-value{color:#fff4e6;font-variant-numeric:tabular-nums;font-size:1.35rem;font-weight:800;line-height:1.15;display:block}.shelf-stat-label{letter-spacing:.04em;color:#c5a88a;text-transform:uppercase;margin-top:4px;font-size:.65rem;font-weight:700;line-height:1.25;display:block}.shelf-stat-label--wrap{-webkit-line-clamp:2;text-transform:none;letter-spacing:.02em;-webkit-box-orient:vertical;max-height:2.7em;font-size:.62rem;line-height:1.3;display:-webkit-box;overflow:hidden}.shelf-mini-dashboard-hint{margin:0;font-size:.78rem;line-height:1.45}@media (width<=520px){.shelf-mini-dashboard{gap:6px;min-height:4rem;padding:8px 6px 6px}.shelf-mini-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.shelf-mini-dashboard-stats .shelf-stat-tile:nth-child(5){grid-column:1/-1;max-width:12rem;margin-left:auto;margin-right:auto}.shelf-stat-value{font-size:1.12rem}.shelf-stat-label{font-size:.58rem}.shelf-mini-dashboard-hint{font-size:.72rem}.shelf-mini-dashboard-jump{padding:3px 6px!important;font-size:.72rem!important}}.shelf-assembly{padding-bottom:6px;position:relative}.shelf-stacks-grid{grid-template-columns:repeat(var(--shelf-cols,4), minmax(0, 1fr));background:linear-gradient(#37261a8c,#1c120cbf),radial-gradient(80% 50% at 50% 0,#ffd2960f,#0000 55%);border:1px solid #78523759;border-radius:12px;align-items:end;gap:10px 14px;padding:18px 12px 10px;display:grid;box-shadow:inset 0 1px #ffe6c80f,inset 0 -12px 24px #00000059}.shelf-stack{flex-direction:column;justify-content:flex-end;align-items:stretch;min-width:0;min-height:72px;display:flex}.shelf-spine-bookmark{z-index:4;pointer-events:none;clip-path:polygon(0 0,100% 0,100% 68%,50% 100%,0 68%);background:linear-gradient(#fff4dc 0%,#e8c066 45%,#a67c1f 100%);border:1px solid #1e1208a6;border-bottom:none;border-radius:2px 2px 0 0;width:11px;height:22px;margin-left:-5px;position:absolute;top:-11px;left:50%;box-shadow:0 2px 6px #00000073,inset 0 1px #ffffff73}.shelf-book-spine.active .shelf-spine-bookmark{background:linear-gradient(#fff8e8 0%,#ffd54f 40%,#d4a012 100%);box-shadow:0 0 14px #ffd25a8c,0 3px 8px #0006,inset 0 1px #ffffff8c}.shelf-book-spine{color:#fff8e8;text-align:left;cursor:pointer;background:linear-gradient(180deg, var(--spine-accent,#6b4423), #140d08);border:1px solid #0a0604d9;border-radius:5px 5px 4px 4px;flex-direction:row;align-items:center;gap:8px;width:100%;min-height:46px;margin-bottom:-7px;padding:8px 10px;font-family:inherit;transition:transform .22s cubic-bezier(.34,1.3,.64,1),filter .2s,box-shadow .22s;display:flex;position:relative;overflow:visible;box-shadow:inset 0 2px #ffffff24,inset 0 -3px 6px #00000073,0 5px #0f0805a6,0 10px 14px #00000059}.shelf-book-spine:before{content:"";opacity:.9;background:linear-gradient(#d4af378c,#5a3c2380);border-radius:2px;width:5px;position:absolute;top:4px;bottom:4px;left:0}.shelf-book-spine:after{content:"";background:linear-gradient(#ffffff59,#00000026);border-radius:1px;width:2px;position:absolute;top:7px;bottom:7px;right:8px}.shelf-spine-shine{pointer-events:none;background:linear-gradient(125deg,#ffffff24 0%,#0000 42%,#0000001f 100%);position:absolute;inset:0}.shelf-spine-glyph{z-index:1;letter-spacing:.04em;color:#1a0f08;background:linear-gradient(#f0d49a,#c9a05a);border:1px solid #28180ea6;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;min-width:28px;height:28px;font-size:.65rem;font-weight:900;display:inline-flex;position:relative;box-shadow:inset 0 1px #ffffff59}.shelf-spine-title{z-index:1;letter-spacing:.06em;text-transform:uppercase;color:#fffaf0;text-shadow:0 1px 2px #000,0 0 14px #d4af3759;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:clamp(.72rem,1.1vw,.88rem);font-weight:800;line-height:1.2;position:relative;overflow:hidden}.shelf-book-spine:hover{z-index:48;filter:brightness(1.1);transform:translateY(-5px);box-shadow:inset 0 2px #ffffff2e,inset 0 -3px 6px #0006,0 8px #0f08058c,0 16px 22px #00000073}@media (prefers-reduced-motion:no-preference){.shelf-book-spine:hover,.shelf-book-spine.active{animation:1.25s ease-in-out infinite shelfBookElectric}}@keyframes shelfBookElectric{0%,to{filter:brightness(1.1)drop-shadow(0 0 6px #78c8ff73)drop-shadow(0 0 14px #64b4ff47)}33%{filter:brightness(1.12)drop-shadow(0 0 14px #c8fffff2)drop-shadow(0 0 22px #50a0ff8c)drop-shadow(0 0 6px #ffffffa6)}66%{filter:brightness(1.08)drop-shadow(0 0 8px #64dcff80)drop-shadow(0 0 18px #8c64ff59)}}@media (prefers-reduced-motion:reduce){.shelf-book-spine:hover,.shelf-book-spine.active{animation:none!important}.shelf-book-spine:hover{transform:none}}.shelf-book-spine:focus-visible{outline-offset:2px;outline:3px solid #ffd78a}.shelf-book-spine.active{box-shadow:inset 0 0 0 2px #ffdc968c,inset 0 2px #fff3,0 5px #0f0805a6,0 0 0 2px #ffd27873}.shelf-wood-plank{background:linear-gradient(#6e4a32,#3d2818 55%,#1f130c);border-radius:4px;height:16px;margin:0 4px;box-shadow:inset 0 2px #ffd2aa1f,inset 0 -4px 8px #00000080,0 10px 18px #0000008c}@media (prefers-reduced-motion:no-preference){.shelf-wood-plank{animation:5.5s ease-in-out infinite shelfWoodSheen}}@keyframes shelfWoodSheen{0%,to{filter:brightness()}50%{filter:brightness(1.09)}}@media (prefers-reduced-motion:reduce){.shelf-wood-plank{animation:none!important}}.shelf-shadow-ground{opacity:.85;background:radial-gradient(at 50% 0,#0000008c,#0000 72%);border-radius:40%;height:10px;margin:2px 8px 0}.shelf-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.shelf-sort-btn{border-radius:8px;padding:8px 12px;font-weight:700;box-shadow:inset 0 2px #ffdcb426;color:#ffe8d0!important;background:linear-gradient(#6a452e,#4a2f20)!important;border:1px solid #b9895f!important}.shelf-sort-btn:hover{filter:brightness(1.08)}.librarian-articles{margin-top:14px;padding:14px}.librarian-articles.compact .book-grid,.librarian-articles.compact .reader-panel{display:none}.librarian-articles-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.librarian-articles-fade{opacity:1;transition:opacity .28s}.librarian-articles-fade--out{opacity:0;pointer-events:none}@media (prefers-reduced-motion:reduce){.librarian-articles-fade{transition:none}.librarian-articles-fade--out{opacity:1;pointer-events:auto}}.reader-actions{background:#23170f;border:1px solid #73533b;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;padding:8px;display:inline-flex}.reader-accessibility-controls{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.btn.mini{min-height:38px;padding:8px 12px;font-size:.92rem;font-weight:700;color:#ffe9d0!important;background:#301f14!important;border:1px solid #9f724f!important}.btn.mini.active{box-shadow:inset 0 0 0 2px #ffdfb840;color:#fff6eb!important;background:#5b3823!important;border-color:#ffd2a1!important}.reader-actions>.btn.btn-ghost{min-height:38px;padding:8px 12px;color:#ffe9d0!important;background:#301f14!important;border:1px solid #9f724f!important}.book-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;margin-top:10px;display:grid}.book-card{cursor:pointer;isolation:isolate;text-align:left;color:#f0dfcc;background:#24170f;border:1px solid #6a4c35;border-radius:10px;flex-direction:column;gap:5px;padding:10px;transition:border-color .2s,background .2s;display:flex;position:relative}.book-card>*{z-index:1;position:relative}.book-card-snippet{-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-top:2px;font-size:.85rem;line-height:1.4;display:-webkit-box;overflow:hidden}.book-card-meta{color:#c9a882;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;font-size:.78rem;display:flex}.book-card-read-time{opacity:.95}.book-card-resume{color:#e8c48a}.book-card-progress-track{background:#0003;border-radius:999px;height:3px;margin-top:6px;display:block}.book-card:after{content:"";pointer-events:none;z-index:0;opacity:0;border-radius:12px;transition:opacity .2s;position:absolute;inset:-2px}.book-card.active{border-color:#b9895f}.book-card:hover{background:#2a1c12;border-color:#8f6a4a}@media (prefers-reduced-motion:no-preference){.book-grid .book-card{animation:.48s cubic-bezier(.22,1,.36,1) backwards bookCardEnter}.book-grid .book-card:first-child{animation-delay:20ms}.book-grid .book-card:nth-child(2){animation-delay:60ms}.book-grid .book-card:nth-child(3){animation-delay:.1s}.book-grid .book-card:nth-child(4){animation-delay:.14s}.book-grid .book-card:nth-child(5){animation-delay:.18s}.book-grid .book-card:nth-child(6){animation-delay:.22s}.book-grid .book-card:nth-child(7){animation-delay:.26s}.book-grid .book-card:nth-child(8){animation-delay:.3s}.book-grid .book-card:nth-child(9){animation-delay:.34s}.book-grid .book-card:nth-child(10){animation-delay:.38s}.book-grid .book-card:nth-child(11){animation-delay:.42s}.book-grid .book-card:nth-child(12){animation-delay:.46s}.book-card:hover:after,.book-card.active:after{opacity:1;animation:1.25s ease-in-out infinite bookCardElectricRing}}@keyframes bookCardEnter{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes bookCardElectricRing{0%,to{box-shadow:0 0 0 1px #78c8ff73,0 0 10px #64b4ff59,0 0 20px #50a0ff2e}33%{box-shadow:0 0 0 2px #c8ffff8c,0 0 16px #b4ffff73,0 0 28px #50a0ff59}66%{box-shadow:0 0 0 1px #8c64ff73,0 0 14px #64dcff66,0 0 22px #8c64ff38}}@media (prefers-reduced-motion:reduce){.book-grid .book-card{animation:none!important}.book-card:hover:after,.book-card.active:after{opacity:1;box-shadow:0 0 0 1px #78c8ff59;animation:none!important}}.library-search.rustic{color:#f0dfcc;background:#25180f;border-color:#6a4c35;width:100%;margin-top:10px}.reader-panel{background:#120c09e6;border:1px solid #5a402e;border-radius:10px;margin-top:12px;padding:10px;transition:border-color .35s,box-shadow .35s}@media (prefers-reduced-motion:no-preference){.librarian-page[data-active-tab=reader] .reader-panel{animation:7s ease-in-out infinite readerPanelAmbient}}@keyframes readerPanelAmbient{0%,to{border-color:#5a402e;box-shadow:0 0 0 1px #5a402e59,0 8px 28px #00000059}50%{border-color:#6ea0c859;box-shadow:0 0 0 1px #78c8ff33,0 0 22px #50a0ff1f,0 10px 32px #00000061}}@media (prefers-reduced-motion:reduce){.librarian-page[data-active-tab=reader] .reader-panel{animation:none!important}}.reader-panel .library-article{scrollbar-gutter:stable;max-height:48vh;padding:12px 2px 2px;overflow:auto}.reader-panel .librarian-articles-header{z-index:5;background:#24170f;border:1px solid #6a4c35;border-radius:10px;margin-bottom:8px;padding:8px;position:sticky;top:0}.enhanced-reader{color:#f7eadb;background:#18100b;border:1px solid #664936;border-radius:12px;font-size:1.08rem;line-height:1.9;position:relative;overflow:hidden;padding:18px!important}.enhanced-reader:before{content:"";pointer-events:none;opacity:.45;mix-blend-mode:soft-light;z-index:0;background:radial-gradient(circle at 17% 22%,#fff0d60f 0 1px,#0000 1px 100%) 0 0/7px 7px,radial-gradient(circle at 74% 68%,#66493312 0 1px,#0000 1px 100%) 0 0/9px 9px,radial-gradient(circle at 34% 78%,#ffe8c40d 0 1px,#0000 1px 100%) 0 0/11px 11px;position:absolute;inset:0}.enhanced-reader>*{z-index:1;position:relative}.enhanced-reader.large{font-size:1.18rem;line-height:2}.enhanced-reader.xl{font-size:1.28rem;line-height:2.1}.enhanced-reader.high{color:#fff4e6;background:#0d0806;border-color:#b98e6d}.enhanced-reader.high:before{opacity:.32}.enhanced-reader h1,.enhanced-reader h2,.enhanced-reader h3{color:#ffe9cf;margin-top:1rem;margin-bottom:.6rem;line-height:1.35}.enhanced-reader p,.enhanced-reader li,.enhanced-reader blockquote{color:#f6e6d5;font-size:1.02rem}.enhanced-reader.high p,.enhanced-reader.high li,.enhanced-reader.high blockquote{color:#fff4e6}.enhanced-reader a{color:#ffd59f;text-decoration-thickness:2px}.enhanced-reader.high a{color:#ffdcae}.enhanced-reader.high pre,.enhanced-reader.high :not(pre)>code{color:#fff1df;background:#060403;border-color:#b78259}.enhanced-reader pre,.enhanced-reader :not(pre)>code{color:#ffe8cc;background:#120c08;border:1px solid #6a4c35}.enhanced-reader pre code{white-space:pre;overflow-wrap:normal;word-break:normal;width:100%;margin:0;font-size:.92em;line-height:1.55;display:block;color:inherit!important;background:0 0!important;border:0!important;padding:0!important}.enhanced-reader pre code span,.library-article pre code span,.article-read-body pre code span{background:0 0!important}.enhanced-reader img,.enhanced-reader video,.enhanced-reader iframe{background:#1a1410;border:1px solid #7a593f;border-radius:12px;width:min(100%,920px);max-width:100%;height:auto;margin:1rem auto;transition:transform .22s,box-shadow .22s,filter .22s;display:block;box-shadow:0 14px 36px #00000057}.enhanced-reader video,.enhanced-reader iframe{aspect-ratio:16/9;min-height:260px}.enhanced-reader img,.enhanced-reader.media-fit-contain img,.enhanced-reader.media-fit-contain video{object-fit:contain}.enhanced-reader.media-fit-cover img,.enhanced-reader.media-fit-cover video{object-fit:cover;max-height:min(72vh,760px)}.enhanced-reader img:hover,.enhanced-reader video:hover,.enhanced-reader iframe:hover,.preview-pane img:hover,.preview-pane video:hover,.preview-pane iframe:hover{filter:saturate(1.04);transform:translateY(-1px);box-shadow:0 16px 40px #00000061}.article-read-page{box-sizing:border-box;color:#f0dfcc;background:linear-gradient(#130d08 0%,#080604 55%);flex-direction:column;min-height:100vh;padding:0 18px 40px;display:flex}.article-read-toolbar{z-index:20;background:linear-gradient(#130d09fa 70%,#130d0900);border-bottom:1px solid #593e2c73;flex-direction:column;align-items:stretch;gap:0;max-height:320px;margin-bottom:8px;padding:12px 4px 10px;transition:max-height .35s,opacity .28s,padding .28s,margin .28s,border-width .2s;display:flex;position:sticky;top:0;overflow:hidden}.article-read-toolbar--hidden{opacity:0;pointer-events:none;border-bottom-width:0;margin-bottom:0;padding-top:0;padding-bottom:0;max-height:0!important}.article-read-actions{flex:auto;justify-content:flex-end}.reader-toolbar-wrap{box-sizing:border-box;width:100%;min-width:0}.reader-toolbar-wrap--embedded{margin-top:4px}.librarian-articles-header .reader-toolbar-wrap--embedded{flex:100%;min-width:0;max-width:100%}.reader-toolbar-host--embedded{width:100%;min-width:0;max-height:280px;transition:max-height .35s,opacity .28s,margin .28s;overflow:hidden}.reader-toolbar-host--hidden{opacity:0;pointer-events:none;max-height:0!important;margin:0!important}.reader-toolbar-edit{white-space:nowrap;align-self:center}.reader-toolbar-scroll{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#8b6444 #1a1009;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;background:#1e140deb;border:1px solid #73533b8c;border-radius:10px;width:100%;min-width:0;overflow:auto hidden}.reader-toolbar-chips{flex-flow:row;align-items:center;gap:8px;width:max-content;max-width:100%;min-height:48px;padding:10px 12px 12px;display:inline-flex}.reader-toolbar-chip{flex:none}.reader-toolbar-sep{background:#8b644873;flex:0 0 1px;align-self:stretch;width:1px;min-height:28px;margin:0 2px}.reader-toolbar-chip--toggle{color:#e8d4c0;cursor:pointer;white-space:nowrap;border:1px dashed #b48c6473;border-radius:8px;flex:none;align-items:center;gap:8px;padding:8px 12px;font-size:.88rem;display:inline-flex}.reader-toolbar-chip--toggle input{accent-color:#c99566;width:1.1rem;height:1.1rem}.reader-toolbar-hint{flex:0 auto;font-size:.82rem}.reader-toolbar-chips .btn.btn-ghost,.reader-toolbar-chips a.btn.btn-ghost{box-shadow:inset 0 1px #ffe6c814;color:#fff6eb!important;background:linear-gradient(#4f3524,#342218)!important;border:1px solid #b58662!important}.reader-toolbar-chips .btn.btn-ghost:hover,.reader-toolbar-chips .btn.btn-ghost:focus-visible,.reader-toolbar-chips a.btn.btn-ghost:hover,.reader-toolbar-chips a.btn.btn-ghost:focus-visible{filter:brightness(1.07);border-color:#e0b080!important}.reader-toolbar-chips .btn.btn-ghost:disabled{opacity:.5;filter:none}.reader-toolbar-chips .btn.btn-ghost.mini{color:#fed!important;background:#3d2618!important;border-color:#a07852!important}.reader-toolbar-chips .btn.btn-ghost.mini.active{box-shadow:inset 0 0 0 2px #ffddb247;color:#fffaf3!important;background:#6a4128!important;border-color:#ffd8ab!important}.reader-toolbar-chips a.subtle.reader-toolbar-edit{border-radius:8px;padding:8px 12px;font-weight:600;text-decoration:none;color:#ffe8c8!important;background:#281a10f2!important;border:1px solid #9a6e4a!important}.reader-toolbar-chips a.subtle.reader-toolbar-edit:hover{color:#fff!important;border-color:#d4a574!important}.reader-toolbar-bubble{z-index:45;color:#ffe9cf;cursor:pointer;background:linear-gradient(145deg,#4a3020,#2a1a10);border:1px solid #a67b52;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;padding:0;font-size:1.25rem;line-height:1;display:flex;position:fixed;bottom:16px;right:16px;box-shadow:0 6px 20px #00000073}.reader-toolbar-bubble:hover,.reader-toolbar-bubble:focus-visible{outline-offset:2px;outline:2px solid #e8b88a}.reader-toolbar-bubble--embedded{z-index:25;bottom:24px}.reader-toolbar-bubble--dim{opacity:.38}@media (width<=960px){.article-read-page{padding-left:max(12px, env(safe-area-inset-left,0px));padding-right:max(12px, env(safe-area-inset-right,0px));padding-bottom:max(28px, env(safe-area-inset-bottom,0px))}.article-read-toolbar{padding-left:max(4px, env(safe-area-inset-left,0px));padding-right:max(4px, env(safe-area-inset-right,0px))}.reader-toolbar-scroll{-webkit-overflow-scrolling:touch}.reader-toolbar-chips{min-height:52px;padding:12px 10px 14px}.reader-toolbar-chips .btn.btn-ghost.mini,.reader-toolbar-chips .btn.btn-ghost.reader-toolbar-chip{min-height:44px;padding-left:12px;padding-right:12px}.reader-toolbar-chips a.btn.btn-ghost{min-height:44px}.reader-toolbar-chip--toggle{min-height:44px;padding-top:10px;padding-bottom:10px}.reader-toolbar-bubble{right:max(12px, env(safe-area-inset-right,0px));bottom:max(12px, env(safe-area-inset-bottom,0px));width:48px;height:48px}.reader-toolbar-bubble--embedded{right:max(12px, env(safe-area-inset-right,0px));bottom:max(16px, calc(env(safe-area-inset-bottom,0px) + 8px))}.librarian-articles-header .reader-toolbar-wrap--embedded{width:100%;min-width:0}.reader-toolbar-host--embedded{max-height:min(280px,55vh)}}.article-read-inner{flex-direction:column;flex:auto;gap:14px;width:100%;max-width:52rem;margin:0 auto;display:flex}.article-read-title{color:#ffe9cf;margin:0;font-size:1.65rem;font-weight:650;line-height:1.25}.article-read-columns{flex:auto;grid-template-columns:minmax(200px,260px) minmax(0,1fr);align-items:start;gap:18px;width:100%;min-height:0;display:grid}@media (width<=960px){.article-read-columns{grid-template-columns:1fr}}.article-read-body-wrap{flex-direction:column;flex:auto;min-width:0;min-height:min(70vh,100vh - 140px);display:flex}.reader-outline{scrollbar-width:thin;scrollbar-color:#8b6444 #1a1009;background:#160e09f0;border:1px solid #8b64448c;border-radius:12px;flex-direction:column;align-self:start;gap:14px;max-height:min(78vh,100vh - 100px);padding:12px 14px 14px;display:flex;position:sticky;top:72px;overflow:auto}.reader-outline--embedded{max-height:min(42vh,320px);position:relative;top:auto}.reader-outline-section+.reader-outline-section{border-top:1px solid #ffffff0f;padding-top:12px}.reader-outline-heading{text-transform:uppercase;letter-spacing:.06em;color:#a89a8a;margin:0 0 8px;font-size:.72rem;font-weight:650}.reader-outline-meta{margin:0 0 8px}.reader-outline-read-time{color:#e8c9a4;font-size:.88rem}.reader-outline-progress{background:#00000047;border-radius:999px;height:5px;overflow:hidden}.reader-outline-progress-fill{background:linear-gradient(90deg,#c9a070,#f0d4a8);border-radius:999px;height:100%}.reader-outline-progress-label{margin:6px 0 0;font-size:.78rem}.reader-outline-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.reader-outline-item{justify-content:space-between;align-items:flex-start;gap:6px;display:flex}.reader-outline-jump{text-align:left;color:#f0dfcc;cursor:pointer;background:0 0;border:none;flex:1;min-width:0;padding:4px 0;font-family:inherit;font-size:.88rem;line-height:1.35;text-decoration:none}a.reader-outline-jump{display:block}.reader-outline-jump:hover{color:#ffd89a;text-decoration:underline}.reader-outline-star{cursor:pointer;color:#c9a070;background:0 0;border:none;flex-shrink:0;padding:2px 4px;font-size:1rem;line-height:1}.reader-outline-star.is-active{color:#ffd45a}.reader-panel-columns{grid-template-columns:minmax(180px,220px) minmax(0,1fr);align-items:start;gap:10px;margin-top:4px;display:grid}@media (width<=720px){.reader-panel-columns{grid-template-columns:1fr}}.reader-article-column{min-width:0;min-height:0}.article-read-page .library-article.enhanced-reader.article-read-body{color:#ffefd8;scrollbar-color:#8b6444 #1a1009;background:radial-gradient(circle at 12% 8%,#ffe9c24d,#0000 34%),radial-gradient(circle at 88% 90%,#9b6f4a2e,#0000 30%),linear-gradient(#2a1b11 0%,#1c120b 100%);border:1px solid #8b6444;flex:auto;min-height:min(70vh,100vh - 140px);max-height:none;overflow:auto;box-shadow:0 12px 40px #00000059}.article-read-error{margin-top:1rem}.article-action-message{margin:.2rem 0 .3rem;color:#e7c8a6!important}.article-read-body h1,.article-read-body h2,.article-read-body h3,.article-read-body h4{color:#fff0d8;letter-spacing:.01em;margin-top:1.35em;margin-bottom:.55em;font-weight:700;line-height:1.3}.article-read-body h1{font-size:1.9em}.article-read-body h2{border-bottom:1px solid #ddac7c66;padding-bottom:.3em;font-size:1.55em}.article-read-body h3{font-size:1.3em}.article-read-body p,.article-read-body li{color:#ffedd6;font-size:1.05em}.article-read-body ul,.article-read-body ol{margin:.8em 0 1em;padding-left:1.4em}.article-read-body li+li{margin-top:.35em}.article-read-body hr{border:none;border-top:1px dashed #d6a87c8c;margin:1.4em 0}.article-read-body blockquote{color:#ffe9cf;background:#23170f9e;border-left:4px solid #c78f61;margin:1em 0;padding:.8em 1em}.thl-callout{border-radius:10px;padding:.9em 1em;border-left-style:solid!important;border-left-width:5px!important}.thl-callout-title{text-transform:uppercase;letter-spacing:.04em;margin:0 0 .35em;font-size:.82rem;font-weight:700}.thl-callout>:last-child{margin-bottom:0}.thl-callout-info{background:#2c568b47!important;border-left-color:#4ea5ff!important}.thl-callout-info .thl-callout-title{color:#88c2ff}.thl-callout-success{background:#2068404d!important;border-left-color:#37b56a!important}.thl-callout-success .thl-callout-title{color:#6ddf9a}.thl-callout-warning{background:#72521c4f!important;border-left-color:#e2a93b!important}.thl-callout-warning .thl-callout-title{color:#ffd27a}.thl-callout-error{background:#72222f57!important;border-left-color:#e06272!important}.thl-callout-error .thl-callout-title{color:#ff9ba8}.article-read-body a{color:#ffd9a7;text-underline-offset:3px;text-decoration-thickness:2px}.article-read-body a:hover{color:#ffe9c7}.article-read-body pre{background:#110b07;border:1px solid #7c583c;border-radius:9px;padding:.95em;line-height:1.6;overflow-x:auto}.enhanced-reader pre.copy-enabled,.article-read-body pre.copy-enabled{padding-top:2.25em;position:relative;overflow:visible}.enhanced-reader pre.copy-enabled>code,.article-read-body pre.copy-enabled>code{max-width:100%;overflow-x:auto}.enhanced-reader code.thl-code-block-copy.copy-enabled,.article-read-body code.thl-code-block-copy.copy-enabled{white-space:pre-wrap;box-sizing:border-box;width:100%;max-width:100%;margin:.75em 0;padding-top:2.35em;display:block;position:relative;overflow-x:auto}.code-copy-btn{z-index:50;color:#fff4e6;cursor:pointer;background:#1a0f08;border:2px solid #c9a078;border-radius:8px;min-height:34px;padding:.35em .75em;font-size:.88rem;font-weight:700;line-height:1.15;position:absolute;top:.45em;right:.45em;box-shadow:0 2px 10px #0000008c}.code-copy-btn:hover{background:#3a2518;border-color:#bb8b67}.enhanced-reader.high .code-copy-btn{color:#fff0db;background:#140c08;border-color:#c58f66}.article-read-body code{color:#ffe8cc;background:#170f0a;border:1px solid #6e4f36;border-radius:6px;padding:.1em .34em}.article-read-body pre code{background:0 0;border:0;padding:0}.article-read-body table{border-collapse:collapse;background:#130c088c;width:100%;margin:1.1em 0}.article-read-body th,.article-read-body td{text-align:left;border:1px solid #78553a;padding:.55em .65em}.article-read-body th{color:#ffe8cc;background:#432d1db3}.article-read-body.normal{line-height:1.92}.article-read-body.large{line-height:2.02}.article-read-body.xl{line-height:2.12}.article-read-body.high{color:#fff6e8;background:radial-gradient(circle at 12% 8%,#fff1d73d,#0000 34%),linear-gradient(#120b06 0%,#090604 100%);border-color:#e0ab7d}.article-read-body.high p,.article-read-body.high li,.article-read-body.high blockquote,.article-read-body.high td{color:#fff6e8}.article-read-body.high h1,.article-read-body.high h2,.article-read-body.high h3,.article-read-body.high h4{color:#fff7ea}.article-read-body.high a{color:#ffe0b8}.article-read-body.high pre,.article-read-body.high :not(pre)>code{color:#fff1df;background:#060403;border-color:#b78259}@media print{body{color:#111!important;background:#fff!important}.code-copy-btn,.article-read-toolbar,.librarian-topbar,.librarian-character,.reader-actions,.reader-accessibility-controls,.reader-toolbar-wrap,.reader-toolbar-host,.reader-toolbar-bubble,.article-action-message,.reader-outline{display:none!important}.article-read-page,.librarian-page,.librarian-stage,.librarian-articles,.reader-panel,.enhanced-reader,.article-read-page .library-article.enhanced-reader.article-read-body{color:#111!important;box-shadow:none!important;background:#fff!important;border:0!important}.enhanced-reader:before{display:none!important}.article-read-inner,.reader-panel .library-article,.article-read-page .library-article.enhanced-reader.article-read-body{max-width:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important}.enhanced-reader h1,.enhanced-reader h2,.enhanced-reader h3,.enhanced-reader p,.enhanced-reader li,.enhanced-reader blockquote,.article-read-title{color:#111!important}}@media (width<=960px){.librarian-articles-header{flex-direction:column;align-items:stretch;gap:8px}.librarian-tabs-inline{flex-wrap:wrap;justify-content:center;width:100%;margin:0}.librarian-tabs-inline .librarian-tab{text-align:center;flex:30%;min-width:88px}.reader-actions,.reader-accessibility-controls{width:100%}.btn.mini,.reader-actions>.btn.btn-ghost{flex:auto;justify-content:center}}.librarian-photo{object-fit:cover;border:2px solid #d3af85;border-radius:50%;width:64px;height:64px}.librarian-editor{grid-template-columns:1fr;gap:8px;margin-top:10px;display:grid}.librarian-editor input{color:#f0dfcc;background:#25180f;border:1px solid #6a4c35;border-radius:8px;padding:8px 10px}.public-chat{background:#1a110bd9;border:1px solid #6a4c35;border-radius:10px;margin-top:12px;padding:10px}.librarian-chat-inline{margin-top:2px}.chat-log{flex-direction:column;gap:6px;max-height:220px;margin-top:8px;display:flex;overflow:auto}.chat-msg{white-space:pre-wrap;border-radius:8px;padding:8px 10px}.chat-msg.bot{color:#f3e2d2;background:#352416;border:1px solid #6a4c35}.chat-msg.user{color:#f9ead8;background:#2b1b11;border:1px solid #8d6b4d;align-self:flex-end}.chat-input-row{grid-template-columns:1fr auto;gap:8px;margin-top:8px;display:grid}.public-chat .chat-input-row .btn-primary{border-radius:8px;min-height:44px;padding:10px 18px;font-weight:700;box-shadow:0 2px 8px #00000059;color:#1a0d04!important;background:linear-gradient(#e0b080,#a86a38)!important;border:1px solid #f5d4a8!important}.public-chat .chat-input-row .btn-primary:hover,.public-chat .chat-input-row .btn-primary:focus-visible{filter:brightness(1.06);outline:none;border-color:#fff2d6!important}.public-chat .chat-input-row .btn-primary:focus-visible{outline-offset:2px;outline:2px solid #f0cfa8}.chat-quick-links{flex-wrap:wrap;gap:6px;width:100%;margin-top:8px;display:flex}.chat-quick-links .btn{white-space:normal;text-align:center;word-break:break-word;max-width:100%;line-height:1.2;color:#f5e6d3!important;background:linear-gradient(#2a1b12,#1a120d)!important;border:1px solid #7e5c41!important}.chat-quick-links .btn:hover{filter:brightness(1.08);border-color:#a67855!important}.selected-read{align-items:center;gap:10px;margin-top:12px;display:flex}@keyframes lampFlicker{0%,to{opacity:.95;transform:scale(1)}35%{opacity:.72;transform:scale(.95)}62%{opacity:1;transform:scale(1.03)}}@keyframes caretBlink{0%,49%{opacity:1}50%,to{opacity:0}}@keyframes librarianBob{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.game-container{width:100%;height:100vh}.game-overlay{pointer-events:none;padding-top:16px;position:absolute;inset:0}.toast{color:#dbe7ff;background:#0a0e1cd9;border:1px solid #2a355f;border-radius:8px;width:fit-content;margin:0 auto;padding:8px 12px}.admin-entry,.library-entry,.search-fab{pointer-events:auto;color:#e6eaf2;background:#0a0e1ce6;border:1px solid #2a355f;border-radius:8px;padding:8px 12px;text-decoration:none;position:absolute;right:16px}.admin-entry{top:16px}.library-entry{top:56px}.search-fab{top:96px}.hud-legend{pointer-events:auto;z-index:30;background:#0a0e1ceb;border:1px solid #2a355f;border-radius:12px;align-items:center;gap:8px;padding:8px;display:flex;position:absolute;top:14px;right:14px}.hud-controls{align-items:center;gap:8px;display:flex}.hud-chip{color:#dbe7ff;background:#0f172f;border:1px solid #2a355f;border-radius:999px;padding:6px 10px;font-size:.78rem;line-height:1;display:none}.hud-link{color:#dbe7ff;background:#111935;border:1px solid #2a355f;border-radius:8px;padding:8px 10px;font-size:.85rem;line-height:1;text-decoration:none}.hud-zoom-label{color:#9db4ff;text-align:center;min-width:36px;font-size:.78rem}.top-auth-menu{pointer-events:auto;position:absolute;top:16px;right:16px}.top-auth-menu.inline{position:static}.top-auth-trigger{background:#0a0e1ce6;border:1px solid #2a355f;border-radius:999px;place-items:center;width:34px;height:34px;display:grid}.top-auth-menu.inline .top-auth-trigger{width:30px;height:30px}.top-auth-dot{background:#9db4ff;border-radius:999px;width:12px;height:12px;box-shadow:0 0 0 2px #9db4ff33}.top-auth-dropdown{background:#0f172f;border:1px solid #2a355f;border-radius:10px;min-width:140px;margin-top:8px;position:absolute;right:0;overflow:hidden;box-shadow:0 10px 24px #03071273}.top-auth-dropdown a,.top-auth-dropdown button{text-align:left;color:#dbe7ff;background:0 0;border:0;width:100%;padding:10px 12px;text-decoration:none;display:block}.top-auth-label{color:#9aa8cf;white-space:nowrap;text-overflow:ellipsis;border-bottom:1px solid #2a355f;max-width:240px;padding:10px 12px;font-size:.8rem;overflow:hidden}.top-auth-dropdown a:hover,.top-auth-dropdown button:hover{background:#1a2447}.viewer-panel{pointer-events:auto;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#090d17f5;border:1px solid #334671;border-radius:14px;flex-direction:column;width:min(820px,100vw - 36px);display:flex;position:absolute;top:86px;bottom:18px;right:18px;overflow:hidden;box-shadow:0 22px 48px #0208147a}.viewer-close{align-self:flex-end;margin:8px}.viewer-columns{grid-template-columns:290px 1fr;gap:12px;height:100%;padding:14px;display:grid;overflow:auto}.link-row{text-align:left;color:#e6eaf2;background:#111935;border:1px solid #2a355f;border-radius:8px;width:100%;margin-bottom:8px;padding:8px}.link-row.active{background:#1a274e;border-color:#6c8dff}.viewer-columns article{background:#10182d8c;border:1px solid #2a355f;border-radius:10px;max-height:calc(100vh - 210px);padding:12px;overflow:auto}.viewer-columns article h1,.viewer-columns article h2,.viewer-columns article h3{color:#f0f5ff}.viewer-columns article img,.viewer-columns article iframe,.viewer-columns article video{background:#0f172f;border:1px solid #2a355f;border-radius:10px;width:min(100%,920px);max-width:100%;height:auto;margin:.8rem auto;display:block}.viewer-columns article iframe,.viewer-columns article video{aspect-ratio:16/9;min-height:240px}@media (prefers-reduced-motion:reduce){.enhanced-reader img,.enhanced-reader video,.enhanced-reader iframe,.preview-pane img,.preview-pane video,.preview-pane iframe{transition:none}}.subtle{color:#9aa8cf;font-size:.85rem}.librarian-page,.article-read-page{color:#f3e5d2}.librarian-page .subtle,.article-read-page .subtle,.librarian-page .book-card .subtle{color:#ccb79f}.librarian-bubble{color:#f8ebda;background:#21160f;border-color:#88644a}.librarian-bubble:after{background:#21160f;border-bottom-color:#88644a;border-right-color:#88644a}.shelf-sort-btn{color:#ffecd3!important;background:linear-gradient(#6b452e,#422a1c)!important;border-color:#c99566!important}.reader-actions{border-color:#8b6548}.btn.mini,.reader-actions>.btn.btn-ghost{color:#ffead2!important;border-color:#b58662!important}.btn.mini.active{box-shadow:inset 0 0 0 2px #ffddb242;background:#6a4128!important;border-color:#ffd8ab!important}.book-card{color:#f7e8d6;background:#1e130d;border-color:#7a583f}.book-card.active{border-color:#d0a079;box-shadow:inset 0 0 0 1px #d6a0764d}.library-search.rustic{color:#f4e4d0;background:#1d130d;border-color:#7c593f}.enhanced-reader{color:#ffefdc;background:#150e0a;border-color:#77563f}.enhanced-reader h1,.enhanced-reader h2,.enhanced-reader h3,.article-read-title{color:#ffe7c4}.enhanced-reader p,.enhanced-reader li,.enhanced-reader blockquote{color:#fbead8}.article-read-page .library-article.enhanced-reader.article-read-body{background:radial-gradient(circle at 12% 8%,#ffe9c233,#0000 34%),radial-gradient(circle at 88% 90%,#7c583c24,#0000 30%),linear-gradient(#20150f 0%,#130d09 100%);border-color:#91684a}.search-overlay{pointer-events:auto;background:#04070e73;justify-content:center;align-items:flex-start;padding-top:80px;display:flex;position:absolute;inset:0}.search-card{background:#0c1226;border:1px solid #2a355f;border-radius:10px;width:min(740px,100vw - 32px);padding:12px}.search-card input{color:#e6eaf2;background:#111935;border:1px solid #2a355f;border-radius:8px;width:100%;padding:10px}.search-results{flex-direction:column;gap:8px;max-height:50vh;margin-top:10px;display:flex;overflow:auto}.search-item{color:#e6eaf2;background:#111935;border:1px solid #2a355f;border-radius:8px;justify-content:space-between;padding:10px;display:flex}.toast-stack{z-index:100;flex-direction:column;gap:8px;display:flex;position:fixed;bottom:14px;right:14px}.toast-inline{color:#e6eaf2;background:#0f172f;border:1px solid #2a355f;border-radius:8px;min-width:220px;padding:10px 12px}.toast-inline.success{border-color:#1d7b53}.toast-inline.error{border-color:#7a1f2e}.confirm-backdrop{z-index:60;background:#04070e80;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.confirm-card{background:#0f172f;border:1px solid #2a355f;border-radius:10px;width:min(460px,100vw - 32px);padding:14px}@media (width<=960px){.librarian-stage{grid-template-columns:1fr}.librarian-about-popover{width:min(340px,100vw - 64px);top:calc(100% + 10px);left:0}.librarian-about-popover:before{background:#21160f;border-top:1px solid #8f6b4e;border-bottom:0;border-left:1px solid #8f6b4e;top:-8px;left:24px;transform:rotate(45deg)}.shelf-header{flex-direction:column;align-items:flex-start}.admin-content{width:calc(100vw - 12px);margin-top:68px;padding:8px}.editor-split{grid-template-columns:1fr}.admin-row{flex-direction:column;align-items:flex-start}.admin-article-dashboard{flex-direction:column;align-items:stretch}.admin-status-filters{justify-content:flex-start}.admin-article-group-meta{width:100%;margin-left:0}.row-actions{flex-wrap:wrap;width:100%}.admin-article-actions select{flex:100%;min-width:0}.library-page{grid-template-rows:1fr 1fr;grid-template-columns:200px 1fr}.library-article-list{grid-area:1/2}.library-main{border-top:1px solid #1f2942;grid-area:2/1/auto/span 2}.hud-legend{border-radius:10px;flex-direction:column;align-items:flex-end;gap:6px;padding:6px;display:flex;top:10px;right:10px}.hud-chip{justify-content:center;align-items:center;display:inline-flex}.hud-controls{flex-direction:column;align-items:flex-end;gap:6px}.hud-legend.collapsed .hud-controls{display:none}.vault-page.library-page{height:auto;min-height:100vh;overflow:visible;grid-template-rows:auto auto minmax(0,1fr)!important;grid-template-columns:1fr!important}.vault-page .library-sidebar,.vault-page .library-article-list,.vault-page .library-main{grid-area:auto/1!important}.vault-page .library-sidebar,.vault-page .library-article-list{border-bottom:1px solid #1f2942;border-right:none}.vault-page .library-sidebar{max-height:170px}.vault-page .library-article-list{max-height:210px}.vault-page .article-list-scroll{max-height:132px}.vault-page .library-main{min-height:52vh}}pre code.hljs{padding:1em;display:block;overflow-x:auto}code.hljs{padding:3px 5px}.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}
