.reading-room { background: radial-gradient(ellipse at 80% 0%, #12212c 0, transparent 40rem), #07090d; }
.rr-shell { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; overflow-wrap: anywhere; }
.rr-masthead { padding: clamp(8rem, 13vw, 11rem) 0 3rem; max-width: 860px; }
.rr-masthead h1, .rr-space h1 { font: 400 clamp(2.7rem, 6vw, 5rem)/1.1 var(--tagline); letter-spacing: -.035em; margin: 1rem 0 1.5rem; }
.rr-masthead > p:not(.kicker) { max-width: 55ch; color: var(--muted); font: 1.15rem/1.75 var(--editorial); }
.rr-masthead .rr-lead { color: var(--cold)!important; font-size: clamp(1.4rem, 3vw, 2rem)!important; }
.rr-masthead.rr-compact { padding-block: 8rem 2rem; }
.rr-compact h1 { font-size: clamp(2rem, 4vw, 3rem); }
.rr-account { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; font-size: .85rem; color: #a8bac6; }
.rr-account a:not(.button), .rr-link { text-decoration: underline; text-underline-offset: .22em; color: var(--blue); }
.rr-link { padding: 0; border: 0; background: none; cursor: pointer; font-size: inherit; }
.rr-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 3rem; }
.rr-rooms a { padding: 1.6rem; border: 1px solid #2c3c47; background: #0b1117; }
.rr-rooms a[aria-current] { border-color: var(--blue); background: #14212b; }
.rr-rooms strong { display: block; font: 400 clamp(1.4rem, 3vw, 2rem)/1.3 var(--tagline); margin: .7rem 0; }
.rr-rooms span:last-child { color: #a2b3bf; font-size: .88rem; }
.rr-gate, .rr-compose, .rr-join { padding: clamp(1.3rem, 4vw, 3rem); border: 1px solid #2a3d4b; background: #0d151d; margin-bottom: 3rem; }
.rr-gate h2, .rr-join h2, .rr-section-heading h2 { font: 400 clamp(1.7rem, 4vw, 2.8rem)/1.2 var(--tagline); margin: .8rem 0 1.2rem; }
.rr-gate > p:not(.kicker), .rr-join > p:not(.kicker), .rr-compose > p { max-width: 68ch; color: #a8bac7; line-height: 1.8; }
.rr-gate > .text-link { display: inline-block; margin-top: 1.5rem; }
.rr-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.rr-topic-card { border-top: 1px solid #2a3943; padding: 2rem 0; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.rr-topic-card h3 { margin: .7rem 0; font: 400 clamp(1.35rem, 3vw, 2rem)/1.35 var(--tagline); }
.rr-topic-card p:last-child { color: #8e9fac; font-size: .85rem; }
.rr-open { white-space: nowrap; color: var(--blue); font: .7rem var(--mono); }
.rr-thread-heading { padding: 2rem 0 1rem; }
.rr-thread-heading h2 { max-width: 25ch; font: 400 clamp(2rem, 5vw, 3.7rem)/1.2 var(--tagline); }
.rr-follow { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; background: #101b24; padding: 1rem; margin-bottom: 2rem; font-size: .88rem; }
.rr-post { padding: 2rem 0; border-top: 1px solid #293841; scroll-margin-top: 100px; }
.rr-post.is-reply { padding-left: clamp(.8rem, 3vw, 2rem); border-left: 1px solid #48687d; }
.rr-post header { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-bottom: 1.4rem; }
.rr-post time { color: #8299a9; font: .65rem/1.5 var(--mono); }
.rr-badge { color: #a4d4e9; border: 1px solid #48677b; padding: .1rem .4rem; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.rr-post-body { max-width: 75ch; font: 1.16rem/1.85 var(--editorial); color: #d3dee6; }
.rr-reply-to, .rr-edited { font-size: .8rem; color: #98afbf; }
.rr-reply-to a { text-decoration: underline; }
.rr-post-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.5rem; margin-top: 1.4rem; font-size: .85rem; }
.rr-post-actions details { max-width: 100%; }
.rr-post-actions summary { cursor: pointer; color: #a5b3bd; }
.rr-post-actions details[open] { width: min(100%, 600px); }
.rr-form { display: grid; gap: 1.3rem; max-width: 720px; }
.rr-form label:not(.rr-check) { display: grid; gap: .6rem; color: #b8cbd7; font-size: .9rem; }
.rr-form input:not([type=checkbox]), .rr-form textarea { width: 100%; min-width: 0; background: #080d13; color: #e5edf2; border: 1px solid #41596a; border-radius: 0; padding: .85rem; font: 1rem/1.6 var(--display); }
.rr-form textarea { resize: vertical; min-height: 110px; }
.rr-form .button { justify-self: start; }
.rr-form small { color: #90a6b5; line-height: 1.7; }
.rr-check, .rr-follow label { display: flex; align-items: flex-start; gap: .65rem; color: #adc3d1; font-size: .88rem; }
.rr-check input, .rr-follow input { flex: 0 0 auto; margin-top: .3rem; accent-color: #8ecbe4; width: 17px; height: 17px; }
.rr-notice, .rr-error { padding: 1.2rem; margin: 1.5rem 0; background: #142530; border-left: 2px solid #8ecbe4; color: #d8e6ee; line-height: 1.7; }
.rr-error { border-color: #df9e86; background: #2b1d1b; }
.rr-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin: 2rem 0; }
.rr-house-rules { border-top: 1px solid #2c3c47; padding: 2rem 0 4rem; margin-top: 3rem; color: #91a5b3; max-width: 80ch; }
.rr-house-rules h2 { color: #c7d5df; font-size: 1.2rem; font-weight: 400; }
.rr-space { padding: 9rem 0 5rem; min-height: 75vh; }
.rr-narrow { max-width: 740px; }
.reading-room a:focus-visible, .reading-room button:focus-visible, .reading-room input:focus-visible, .reading-room textarea:focus-visible, .reading-room summary:focus-visible { outline: 2px solid #8ecbe4; outline-offset: 5px; }
.reading-room [hidden] { display: none!important; }
.rr-entry { border-block: 1px solid #283944; background: #0c141c; }
@media (max-width: 700px) {
  .rr-masthead { padding-block: 7rem 1.5rem; }
  .rr-masthead h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
  .rr-masthead > p:not(.kicker) { font-size: 1.05rem; }
  .rr-rooms { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .rr-rooms a { padding: 1rem; }
  .rr-rooms .kicker { font-size: .55rem; letter-spacing: .1em; }
  .rr-rooms strong { font-size: 1.16rem; }
  .rr-rooms span:last-child { display: none; }
  .rr-topic-card { display: block; }
  .rr-open { display: inline-block; margin-top: 1rem; }
  .rr-form .button { width: 100%; }
  .rr-post-body { font-size: 1.1rem; }
}
