/* The feed and the topic lists (rift_stream.php, owner 2026-11-19), in the chat palette. As the messenger: no panel, the
   forum's background shows through (chat.css), the head, the lists and every card are bubbles of the design's surface.
   The chips are subgroups.css's (.rift-subgroups-option/-chip, -remove, -hint). */
.rift-stream{box-sizing:border-box;margin:12px 0;color:var(--rift-chat-text);font:13px/1.45 Verdana,sans-serif;text-align:left}
.rift-stream>.rift-stream-head,.rift-stream>.rift-stream-sheet,.rift-stream-card{margin:0 0 10px;padding:10px 14px;border-radius:var(--rift-chat-radius);background:var(--rift-chat-surface) var(--rift-chat-surface-image) center top;box-shadow:0 1px 2px rgba(0,0,0,.18)}
/* Two feeds side by side on a computer; on a phone one feed, both columns' cards in the feed's turns (their order). */
.rift-stream-columns{display:flex;flex-direction:column}
.rift-stream-column{display:contents}
.rift-stream-column-title{display:none}
@media (min-width:900px){
.rift-stream-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:start}
.rift-stream-column{display:block}
.rift-stream-column-title{display:block;width:fit-content;margin:0 0 8px;padding:2px 12px;border-radius:100px;background:var(--rift-chat-surface);color:var(--rift-chat-text);font-size:12px}
}
.rift-stream-heading{margin:0 0 6px;font-size:18px}
.rift-stream-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 0}
.rift-stream-bar a{text-decoration:none}
.rift-stream-over{margin:10px 0}
.rift-stream-tabs{display:flex;gap:18px;border-bottom:1px solid var(--rift-chat-line)}
.rift-stream-tabs a{padding:6px 0;color:var(--rift-chat-muted);text-decoration:none}
.rift-stream-tabs a:hover,.rift-stream-tabs a:focus-visible{color:var(--rift-chat-text)}
.rift-stream-tabs a[aria-current]{color:var(--rift-chat-text);font-weight:bold;box-shadow:inset 0 -2px var(--rift-chat-accent)}
.rift-stream-section{margin:16px 0 4px;color:var(--rift-chat-muted);font-size:11px;font-weight:normal}
.rift-stream-rows{margin:0;padding:0;list-style:none}
.rift-stream-row{display:flex;align-items:flex-start;gap:8px;padding:8px 0;border-bottom:1px solid var(--rift-chat-line)}
.rift-stream-row-main{flex:1;min-width:0}
.rift-stream-title{color:var(--rift-chat-text);font-size:13px;overflow-wrap:anywhere}
.rift-stream-title:hover,.rift-stream-title:focus-visible{color:var(--rift-chat-accent)}
.rift-stream-row.is-unread .rift-stream-title{font-weight:bold}
.rift-stream-meta,.rift-stream-where{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;color:var(--rift-chat-muted);font-size:11px}
.rift-stream-meta+.rift-stream-meta{margin-top:2px}
.rift-stream-card>.rift-stream-where{margin:0 0 8px}
.rift-stream-why{margin-top:2px;color:var(--rift-chat-muted);font-size:10px;font-style:italic}
.rift-stream-ch{flex:none;padding:0 7px;border:1px solid var(--rift-chat-line);border-radius:100px;color:var(--rift-chat-muted);font-size:10px}
.rift-stream-plus{flex:none;padding:0 7px;border-radius:100px;background:var(--rift-chat-action);color:var(--rift-chat-action-text);font-size:11px;font-weight:bold;text-decoration:none}
.rift-stream-plus:hover,.rift-stream-plus:focus-visible{background:var(--rift-chat-accent)}
.rift-stream-badge{padding:0 8px;border-radius:100px;background:var(--rift-chat-summary);color:var(--rift-chat-summary-text);font-size:10px}
.rift-stream-people{display:inline-flex;flex:none}
.rift-stream-people img{width:18px;height:18px;margin-left:-4px;border:1px solid var(--rift-chat-surface);border-radius:50%;object-fit:cover}
.rift-stream-people img:first-child{margin-left:0}
.rift-stream-mute{flex:none;margin:0}
.rift-stream-eye{color:var(--rift-chat-muted);cursor:pointer}
.rift-stream-eye::before{content:'\f070';font:900 13px/1 FontAwesome}
.rift-stream-eye[data-muted="1"]::before{content:'\f06e'}
.rift-stream-eye:hover,.rift-stream-eye:focus-visible{color:var(--rift-chat-text)}
.rift-stream-faded{opacity:.45}
/* «Новое» and «Активные темы» (the search's topic list): the eye in the topic cell's upper right corner, shown on
   pointing at the row (always, faint, without a mouse); the last post column narrower, the topic's wider. */
.rift-stream-topics .rift-topic{position:relative;padding-right:22px}
.rift-stream-topics .rift-stream-mute{position:absolute;top:0;right:0}
.rift-stream-topics .rift-stream-eye{opacity:.6}
@media (hover:hover){.rift-stream-topics tr:not(:hover,:focus-within) .rift-stream-mute{opacity:0}}
/* The list's columns are its tbody's grid (parity.css, PC): the topic takes the rest, so the author's column gets a
   floor of its own and the topic gives it the room. */
@media(min-width:761px){body[data-rift-view=rift]:not(.mobile) .rift-stream-topics>tbody{grid-template-columns:minmax(28%,1fr) minmax(200px,auto) repeat(4,auto) var(--rift-topic-check,24px)}}
.rift-stream-gallery{position:relative}
.rift-stream-swipe{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.rift-stream-swipe::-webkit-scrollbar{display:none}
.rift-stream-arrow{position:absolute;top:50%;z-index:1;width:32px;height:32px;margin-top:-16px;padding:0;border:0;border-radius:50%;background:var(--rift-chat-surface);color:var(--rift-chat-text);box-shadow:0 1px 3px rgba(0,0,0,.3);font:20px/30px Verdana,sans-serif;cursor:pointer;opacity:.85}
.rift-stream-arrow[data-step="-1"]{left:4px}
.rift-stream-arrow[data-step="1"]{right:4px}
.rift-stream-arrow:hover{opacity:1}
.rift-stream-arrow:focus-visible{outline:2px solid var(--rift-chat-accent);outline-offset:2px;opacity:1}
.rift-stream-arrow[hidden]{display:none}
/* «2 / 5» at the dots' right end, not over the author's line. */
.rift-stream-count{position:absolute;right:0;bottom:-21px;padding:0 8px;border-radius:100px;background:var(--rift-chat-action);color:var(--rift-chat-action-text);font-size:11px}
.rift-stream-dots{display:flex;justify-content:center;gap:4px;margin-top:6px}
.rift-stream-dots>span{width:6px;height:6px;border-radius:50%;background:var(--rift-chat-line)}
.rift-stream-dots>[aria-current]{background:var(--rift-chat-accent)}
.rift-stream-lines{margin:0;padding:0;list-style:none}
.rift-stream-lines>.rift-stream-line{display:flex;gap:8px;margin:0;padding:8px 0;border-bottom:1px solid var(--rift-chat-line)}
.rift-stream-lines>.rift-stream-line:last-child{border-bottom:0}
.rift-stream-line>img{flex:none}
.rift-stream-swipe>.rift-stream-post{flex:0 0 100%;min-width:0;scroll-snap-align:start}
.rift-stream-post{position:relative;margin-top:6px}
.rift-stream-who{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-bottom:4px;color:var(--rift-chat-muted);font-size:11px}
/* The author's picture is a soft square, so it stands apart from the round ones of people tagged in the text (owner 2026-11-19). */
.rift-stream-who>img,.rift-stream-line>img{width:28px;height:28px;border-radius:6px;object-fit:cover}
.rift-stream-who>a{font-size:13px;font-weight:bold}
.rift-stream-open{position:absolute;opacity:0;pointer-events:none}
/* A cut post scrolls where it stands, picture or text, without unfolding (owner 2026-11-19); «Развернуть» shows it whole. */
.rift-stream-body{max-height:24em;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}
.rift-stream-short{max-height:4.5em}
/* A post's table in a narrow card is one column, cell after cell, row after row (owner 2026-11-19). The cells' widths
   are inline (rift_pilot [td width]): min- and max-width 100% outweigh them without !important. */
.rift-stream-body :is(table,thead,tbody,tfoot,tr,th,td){display:block;box-sizing:border-box;min-width:100%;max-width:100%}
.rift-stream-open:checked+.rift-stream-body{max-height:none}
.rift-stream-unfold{display:inline-block;margin-top:4px;color:var(--rift-chat-accent);font-size:11px;cursor:pointer}
.rift-stream-unfold:hover{text-decoration:underline}
:not(.rift-stream-branch)>.rift-stream-open:checked~.rift-stream-unfold,.is-whole>.rift-stream-unfold{display:none}
.rift-stream-branch>.rift-stream-replies{display:none}
.rift-stream-branch>.rift-stream-open:checked~.rift-stream-replies{display:block}
.rift-stream-open:focus-visible~.rift-stream-unfold{outline:2px solid var(--rift-chat-accent);outline-offset:2px}
.rift-stream-branch{position:relative;margin-top:8px}
.rift-stream-replies{margin:6px 0 0 10px;padding-left:10px;border-left:2px solid var(--rift-chat-line)}
.rift-stream-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px;font-size:11px}
.rift-stream-end{display:flex;flex-direction:column;align-items:center;gap:8px;margin:16px 0 4px}
.rift-stream-end>.rift-stream-done{margin:0}
.rift-stream-more{background:var(--rift-chat-surface);text-decoration:none}
/* «Активные темы»: the plaque at the period's end, «За сутки всё просмотрено» and the wider periods (rift_stream_periods). */
.rift-stream-periods{display:flex;flex-direction:column;align-items:center;gap:6px;margin:16px 0}
.rift-stream-periods>.rift-stream-done{margin:0}
.rift-stream-periods a{background:var(--rift-chat-surface);text-decoration:none}
.rift-stream-done{width:fit-content;margin:16px auto 4px;padding:2px 12px;border-radius:100px;background:var(--rift-chat-surface);color:var(--rift-chat-muted);text-align:center}
