/* На карте остаются только причины совпадения, полный набор тегов доступен в карточке. */
.web-page .web-layout { grid-template-rows: minmax(0, 1fr); }
.web-page .web-panel { min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.web-page .web-node { width: 230px; padding: 44px 14px 16px; }
.web-node-open > strong { display: block; font-size: 16px; line-height: 1.2; }
.web-node-author { font-size: 12px; }
.web-node-reason { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 12px; font-size: 11px; line-height: 1.35; }
.web-node-reason .match-reason-icon { flex: 0 0 15px; }
.web-node-reason .match-extra { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 100%; }
.match-icon-text { display: inline-flex; align-items: center; justify-content: center; }
/* Начало текущей карты сохраняет светлый фон при выборе других книг. */
.web-page .web-node.web-node-root { background: #dfcfb2; color: var(--ink); border-color: var(--brass); }
.web-node-reason .match-reason, .web-book-tags .match-reason { display: flex; align-items: start; margin: 0; gap: 5px; }
.web-node-reason .match-icon, .web-book-tags .match-icon { width: 15px; height: 15px; flex: 0 0 15px; }
.web-book-tags { display: flex; flex-direction: column; gap: 5px; margin: 12px 0; font-size: 12px; line-height: 1.4; }
.web-panel #web-detail { display: inline-block; max-width: 100%; }
.web-node-reason:empty, .web-book-tags:empty { display: none; margin: 0; }
.web-page #web-description { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.web-thread { pointer-events: stroke; }
#web-more { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 8; min-width: 220px; min-height: 52px; margin: 0; text-align: center; }
#web-more[hidden] { display: none; }
@media (max-width: 700px) {
    .web-book-tags { font-size: 10px; line-height: 1.3; }
}
