/* The popup is anchored to the feedback row, including on narrow screens. */
html[data-page="article"] .x1ijl5p{position:relative}
html[data-page="article"] .tx-article-feedback-heading{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-width:0}
html[data-page="article"] .tx-article-note-host{position:static;display:inline-flex;flex:none;width:32px;height:32px;align-items:center;justify-content:center}
html[data-page="article"] .tx-article-note-button{position:relative;display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;background:transparent;color:var(--ac);font:700 11px/1 'Barlow','Fira Sans',sans-serif;cursor:pointer;touch-action:manipulation}
html[data-page="article"] .tx-article-note-button::after{content:"";position:absolute;inset:7px;border:1px solid currentColor;border-radius:50%;pointer-events:none}
html[data-page="article"] .tx-article-note-button:focus-visible{outline:2px solid var(--ac);outline-offset:2px;border-radius:50%}
html[data-page="article"] .tx-article-note-panel{position:absolute;left:0;bottom:calc(100% + 10px);z-index:30;box-sizing:border-box;display:block;width:min(520px,100%);max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);overflow:auto;overscroll-behavior:contain;padding:16px 18px;background:#14141a;color:#f8f8fa;box-shadow:0 12px 32px rgba(0,0,0,.22);font:400 13.5px/1.6 'Barlow','Fira Sans',sans-serif;white-space:normal;text-align:left;overflow-wrap:anywhere;text-wrap:pretty}
html[data-page="article"] .tx-article-note-panel[hidden]{display:none!important}
html[data-page="article"] .tx-article-note-panel.tx-article-note-below{top:calc(100% + 10px);bottom:auto}
html[data-page="article"] .tx-article-note-title{display:block;margin-bottom:8px;color:#ff747e;font:500 10.5px/1.4 'JetBrains Mono',monospace;letter-spacing:.08em}
html[data-page="article"][lang="ru"] .tx-article-note-panel{font-family:'Fira Sans','Barlow',sans-serif}
@media(pointer:coarse){
 html[data-page="article"] .tx-article-note-host,html[data-page="article"] .tx-article-note-button{width:40px;height:40px}
 html[data-page="article"] .tx-article-note-button::after{inset:11px}
}
