/* A mirror of another topic's post (inc/plugins/rift_post_places.php), as the old forum drew it: quadro «Цвета style_cs.css»,
   «Оформление "копия из другой темы"» — the post's date link made one plate over the post's middle, «копия из другой темы |»
   before the date, the post's number hidden. Quadro's h3 .permalink is the date link here (.rift-mirror-tab), its number
   the post head's right part, its h3 span the post head. No :has() (owner 2026-11-22: it slows the page down); Quadro's
   «:has(.org)» rules are left out, no post here has an .org block. */
body[data-rift-view="rift"] .post.rift-mirror .post_head .float_right{display:none !important}
/* «Убираем оригинальный зеленый фон и отступы у родительского блока»: the post head's bar and its clock. */
body[data-rift-view="rift"] .post.rift-mirror .post_head{background:transparent !important;padding:0 !important;border:none}
body[data-rift-view="rift"] .post.rift-mirror .post_head .post_date::before{content:none !important}
/* The plate stands over the post's middle: Quadro's centred column was its containing block, here the post is. */
body[data-rift-view="rift"] .post.rift-mirror{position:relative}
body[data-rift-view="rift"] .post.rift-mirror .rift-mirror-tab{
    position:absolute !important;left:50% !important;transform:translateX(-50%) !important;margin-top:-25px !important;
    filter:brightness(1);transition:all .3s ease-in-out;
    display:inline-flex !important;align-items:center;gap:6px;width:fit-content !important;height:auto;min-height:15px;
    padding:3px 8px !important;background:var(--link,#560803);color:rgb(215 215 215) !important;
    font-size:14px !important;font:700 14px var(--font-cat-title);text-shadow:1px 0 1px #000 !important;
    border-top-right-radius:10px;border-top-left-radius:10px;text-decoration:none !important;cursor:pointer;
    /* One line on a phone too: from left:50% the plate has only half the post's width before it wraps. */
    white-space:nowrap;
    /* Quadro's h3 span gave it its letter spacing (style.css «.post h3 span»). */
    letter-spacing:.5px;
}
/* Quadro's own .permalink::before (style.css: its clock in the «Icons» font, Material Symbols, weight 100, margin
   1px 3px 0 0) under the words. «Icons» has only the space of them: 12.5px at 12px where the browser's serif, which draws
   the rest, has 3.5px — measured on the old forum (2026-11-22), the words 163.375px there = serif 127.375px + 4 × 9px.
   So serif and 9px more a space, not the 1 MB icon font. */
body[data-rift-view="rift"] .post.rift-mirror .rift-mirror-tab::before{
    content:"копия из другой темы |";font-family:serif;font-size:12px;font-weight:100;word-spacing:9px;margin:1px 3px 0 0;display:inline-flex;
}
body[data-rift-view="rift"] .post.rift-mirror .rift-mirror-tab:hover{color:#fff !important;filter:brightness(1.1)}
/* Quadro's «:has(.org)» (the post holds a lore block, rift-mirror-org from the server): the head takes no height, as its
   h3 there (height 0), and the plate stands on the block — measured there, the plate's bottom is the block's top. */
body[data-rift-view="rift"] .post.rift-mirror-org .post_head{height:0 !important;margin:0 !important}
body[data-rift-view="rift"] .post.rift-mirror-org .post_body{padding-top:0 !important}
body[data-rift-view="rift"] .post.rift-mirror-org .rift-mirror-tab{margin:0 !important;transform:translate(-50%,-100%) !important}
/* Basic and Sylvania framed the mirror's text (files 55575.css / 20287.css, «Перенесенные сообщения (дубли)»): Quadro's
   post-content is the post's .post_body. #container: the topic's own «.post .post_body {padding:0}» (structure.css) is an
   id rule. Basic's «width:865px; margin-left:-6px» was the old column's width (here the text column is 638px) and is not
   carried over. */
body[data-rift-view="rift"]:is(.basic,.sylv) #container .post.rift-mirror .post_body{
    border:1px dotted #00000068;top:.3em;outline:2px solid #bdb0974a;outline-offset:-2px;width:auto;padding:1.2em 1.2em;
    border-radius:3px;background:rgb(255 255 255 / 9%) 0 top repeat-y;
    box-shadow:2px 2px 8px -5px rgb(26 11 6 / 67%),rgb(58 49 40 / 19%) 0 0 3px 1px;
}
