.rr-summary { margin-top: 8px; max-width: 590px; }
.rr-summary .rr-open { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; min-width: 0; min-height: 44px; gap: 8px; padding: 4px 0; color: #afb4aa; text-align: left; }
.rr-count { display: inline-flex; align-items: center; gap: 6px; line-height: 1.4; }
.rr-count { flex: none; font-size: 11px; font-weight: 560; color: #b9c0b4; }
.rr-count svg { flex: none; width: 15px; height: 15px; }
.rr-open:hover .rr-count,.rr-text,.rr-older:hover { color: #c4ef96; }
.rr-screen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rr-peek { min-width: 0; max-width: 100%; display: flex; align-items: flex-start; gap: 7px; margin-left: 6px; padding: 1px 0 2px 10px; border-left: 1px solid #41473c; }
.rr-peek .rr-avatar { width: 20px; height: 20px; font-size: 8px; }
.rr-peek-by { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin-bottom: 2px; }
.rr-peek-copy { min-width: 0; }
.rr-peek strong { color: #dce1d6; font-size: 11px; font-weight: 640; }
.rr-peek em { color: #9ca397; font-size: 9px; font-style: normal; }
.rr-peek-body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; color: #bdc4b8; font-size: 12px; line-height: 1.45; }
.rr-compact .rr-open { flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 3px 8px; }
.rr-compact .rr-count,.rr-compact .rr-peek { font-size: 10px; }
.rr-compact .rr-peek { flex: 1 1 65%; max-width: 100%; margin-left: 0; padding: 0 0 0 7px; }
.rr-compact .rr-peek-photo { display: none; }
.rr-compact .rr-peek-by { gap: 4px; margin-bottom: 0; }
.rr-compact .rr-peek strong,.rr-compact .rr-peek-body { font-size: 10px; }
.rr-compact .rr-peek-body { -webkit-line-clamp: 1; }
.rr-dialog { --rr-edge: #303430; position: fixed; inset: 0; width: min(615px,calc(100vw - 28px)); max-width: none; height: min(790px,88dvh); max-height: calc(100dvh - 28px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #4c514b; border-radius: 17px; color: #ecf0e8; background: #141614; box-shadow: inset 0 1px 0 #d8e9d309,0 26px 88px #000b; }
.rr-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.rr-dialog::backdrop { background: rgb(3 6 4 / .72); backdrop-filter: blur(5px); }
.rr-header,.rr-list-head,.rr-compose-foot,.rr-dialog .rr-byline { display: flex; align-items: center; }
.rr-header,.rr-list-head,.rr-compose-foot { justify-content: space-between; gap: 10px; }
.rr-header { padding: 14px 20px; border-bottom: 1px solid var(--rr-edge); background: linear-gradient(112deg,#1e221d,#181b18); }
.rr-header h2 { font-size: 21px; font-weight: 670; letter-spacing: -.04em; }
.rr-close { display: grid; place-content: center; color: #c6ccc1; width: 32px; height: 32px; border-radius: 7px; }
.rr-close:hover { background: #30352e; }
.rr-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4d554b transparent; }
.rr-original { padding: 17px 20px; border-bottom: 1px solid var(--rr-edge); }
.rr-original .journal-post { margin: 0; padding: 0; background: none; border: none; border-radius: 0; box-shadow: none; backdrop-filter: none; }
.rr-original .journal-post .thesis-body { margin-top: 5px; font-size: 14px; }
.rr-original .trade-slip { text-align: left; }
.rr-thread { padding: 15px 20px 8px; }
.rr-list-head h3 { font-size: 15px; letter-spacing: -.028em; }
.rr-list-head>span { color: #999f95; font-size: 10px; }
.rr-list { padding: 0; margin: 5px 0 0; list-style: none; }
.rr-reply { display: grid; grid-template-columns: 29px minmax(0,1fr); gap: 9px; padding: 13px 0; }
.rr-reply+.rr-reply { border-top: 1px solid #292e28; }
.rr-avatar { width: 29px; height: 29px; display: grid; place-items: center; object-fit: cover; border-radius: 50%; background: #2e392a; }
.rr-initial { color: #d1e4c0; font-size: 10px; font-weight: 650; }
.rr-author-photo { height: fit-content; border-radius: 50%; }
.rr-byline { gap: 7px; flex-wrap: wrap; }
.rr-byline a { color: #e7eae5; font-size: 12px; font-weight: 650; }
.rr-byline a:hover { text-decoration: underline; }
.rr-byline time,.rr-byline>span { color: #a2a89e; font-size: 10px; }
.rr-reply p { color: #d2d7ce; margin-top: 4px; font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.rr-state,.rr-problem { margin: 14px 0; font-size: 12px; line-height: 1.5; color: #abb2a6; }
.rr-problem { color: #f0b7a9; }
.rr-problem button,.rr-older { font-size: 12px; font-weight: 600; }
.rr-older { display: block; margin: 8px auto; padding: 7px 10px; color: #cfdbc6; }
.rr-form { padding: 11px 20px 15px; border-top: 1px solid var(--rr-edge); background: linear-gradient(135deg,#1b201a,#181b18); }
.rr-composer-name { display: block; margin-bottom: 6px; color: #d7ddd2; font-size: 11px; font-weight: 600; }
.rr-form textarea { display: block; width: 100%; height: 57px; max-height: 110px; resize: vertical; padding: 8px 10px; border: 1px solid #3d443a; border-radius: 8px; color: #f1f3ee; background: #111510; font: 13px/1.45 Inter,Arial,sans-serif; }
.rr-form textarea::placeholder { color: #9ba295; }
.rr-compose-foot { margin-top: 7px; }
.rr-compose-foot [role=status] { color: #c0c9bb; font-size: 11px; line-height: 1.45; }
.rr-send { flex: none; padding: 7px 12px; border: 1px solid #c5ec9c; border-radius: 7px; color: #142208; background: linear-gradient(115deg,#d0f59c,#b0e183); font-weight: 680; font-size: 12px; }
.rr-send:disabled { opacity: .6; cursor: wait; }
@media(max-width:620px) {
  .rr-summary:not(.rr-compact) .rr-open { gap: 7px; }
  .rr-peek { max-width: calc(100% - 6px); padding-left: 8px; }
  .rr-dialog { inset: auto 0 0; width: 100%; height: min(95dvh,810px); max-height: 100dvh; margin: 0; border-radius: 17px 17px 0 0; }
  .rr-header { padding: 10px 14px; }.rr-original { padding: 15px 13px; }
  .rr-thread { padding: 13px 14px 5px; }.rr-form { padding: 10px 14px max(10px,env(safe-area-inset-bottom)); }
  .rr-form textarea { max-height: 72px; font-size: 16px; }
}

.rr-home { max-width: none; margin-top: 6px; }
.rr-home .rr-open { min-height: 44px; gap: 8px; padding: 6px 0 3px; }
.rr-home .rr-count { color: #b7b7b7; font-size: 11px; font-weight: 530; }
.rr-home .rr-open:hover .rr-count { color: #f0f0f0; }
.rr-home .rr-peek { max-width: calc(100% - 6px); gap: 8px; padding: 1px 0 1px 11px; border-color: #383838; }
.rr-home .rr-peek .rr-avatar { width: 24px; height: 24px; border: 1px solid #414141; background: #282828; color: #dedede; font-size: 8px; font-weight: 650; }
.rr-home .rr-peek-by { gap: 7px; min-height: 16px; margin-bottom: 2px; }
.rr-home .rr-peek-copy strong { color: #e9e9e9; font-size: 12px; letter-spacing: -.01em; font-weight: 630; }
.rr-home .rr-peek-copy em { color: #aaa; font-size: 10px; }
.rr-home .rr-peek-body { max-width: 67ch; color: #cbcbcb; font-size: 13px; line-height: 1.48; }

@media (max-width: 760px) {
  .rr-summary { margin-top: 5px; }
  .rr-summary:not(.rr-compact) .rr-open:has(.rr-peek) {
    display: grid; grid-template-columns: minmax(0,1fr) auto;
    align-items: start; gap: 12px; padding: 10px 0 2px;
  }
  .rr-summary:not(.rr-compact) .rr-peek {
    grid-area: 1 / 1; align-items: flex-start; max-width: 100%; gap: 7px;
    margin: 0; padding: 0; border: 0;
  }
  .rr-summary:not(.rr-compact) .rr-peek .rr-avatar { width: 21px; height: 21px; }
  .rr-summary:not(.rr-compact) .rr-count { grid-area: 1 / 2; gap: 4px; font-size: 11px; color: #acacb3; line-height: 19px; }
  .rr-summary .rr-peek-by { gap: 5px; margin: 0; min-height: 18px; }
  .rr-summary .rr-peek strong { color: #d1d1d7; font-size: 12px; font-weight: 580; }
  .rr-summary .rr-peek em { color: #9e9ea6; font-size: 10px; }
  .rr-summary .rr-peek-body { color: #b9b9bf; font-size: 12px; line-height: 1.45; }
  .rr-dialog { --rr-edge: #303033; border-color: #37373a; color: #ededee; background: #111113; }
  .rr-dialog::backdrop { background: rgb(0 0 0 / .7); }
  .rr-dialog .rr-header,.rr-dialog .rr-form { background: #151517; }
  .rr-dialog .rr-header { padding: 9px 16px 9px 20px; }
  .rr-dialog .rr-header h2 { font-size: 21px; font-weight: 620; }
  .rr-dialog .rr-close { width: 44px; height: 44px; color: #ceced2; }
  .rr-dialog .rr-original,.rr-dialog .rr-thread { padding-inline: 20px; }
  .rr-dialog .rr-reply { gap: 10px; border-color: #2d2d31; }
  .rr-dialog .rr-reply p { color: #d7d7dc; font-size: 14px; }
  .rr-dialog .rr-byline a { font-size: 13px; }
  .rr-dialog .rr-avatar,.rr-summary .rr-avatar { color: #dedee1; background-color: #27272b; }
  .rr-dialog .rr-form { padding-inline: 20px; }
  .rr-dialog .rr-form textarea { border-color: #3a3a3e; background: #0e0e10; color: #eeeef0; }
  .rr-dialog .rr-send { min-height: 44px; padding: 0 15px; border: 0; border-radius: 9px; background: #eeeef0; color: #151516; }
}
