/* A shared, shallow clay relief for navigation, with quiet reading surfaces. */
:where(.community-room-door,.approved-room-link,.room-sign){--clay-top:#e7efe8;--clay-bottom:#bfcec0;--clay-ink:#3e5949}
:where(.community-room-door[href*="room=102"],.approved-room-link[href="#class-relay"],#class-relay){--clay-top:#e2eef3;--clay-bottom:#bdd0dc;--clay-ink:#3e5e6c}
:where(.community-room-door[href*="room=103"],.approved-room-link[href="#class-poetry"],#class-poetry){--clay-top:#eee7f1;--clay-bottom:#d2c4db;--clay-ink:#695570}
:where(.community-room-door[href*="room=104"],.approved-room-link[href="#class-series"],#class-series){--clay-top:#f1e9de;--clay-bottom:#d8c6b3;--clay-ink:#765d48}
/* One clay plate per room; the number and title remain plain text inside it. */
body .community-rail .community-room-door,body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-link{background:transparent!important;border-color:transparent!important;border-radius:14px!important;box-shadow:none!important;color:var(--clay-ink)!important;transition:background .15s ease}
body .community-rail .community-room-door{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:8px 0;min-height:65px}
body .community-rail .community-room-door:before,body .community-rail .community-room-door:after,body[data-room-view] .room-system .approved-room-link:after{display:none!important}
body .community-rail .community-room-door .community-door-number,body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-number{box-sizing:border-box;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:1px;flex:0 0 48px!important;width:48px!important;height:40px;min-height:40px;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--clay-ink)!important;font:600 19px/1 Georgia,serif!important;letter-spacing:-.6px!important;opacity:1;text-shadow:none}
body .community-door-number small{align-self:center;font:600 8px/1 system-ui;margin-top:5px;color:var(--clay-ink)}
body .community-rail .community-room-door .community-door-copy strong,body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-link :is(.approved-room-copy strong,.approved-room-copy small){color:var(--clay-ink)!important;text-shadow:none}
body .community-rail .community-door-copy>small{color:#737a76;text-shadow:none}
body .community-rail .community-room-door:hover,body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-link:is(:hover,.is-active){background:color-mix(in srgb,var(--clay-top) 48%,transparent)!important}
body .community-rail .community-room-door:focus-visible,body[data-room-view] .room-system .approved-room-link:focus-visible{outline:2px solid var(--clay-ink);outline-offset:3px}
body .room-entrances .room-sign{border-radius:18px;border-color:#ffffffb0;background:linear-gradient(155deg,var(--clay-top),var(--clay-bottom));box-shadow:inset 0 2px 3px #ffffffa8,inset 0 -2px 3px #51444614,0 3px 5px #393d3b1b;color:var(--clay-ink)}
body .room-entrances .room-sign[aria-pressed=true]{border-color:var(--clay-ink)}
/* Compact selections inherit the current room's established hue. */
.room-system :is(.room-date-arrow,.relay-story-step),.compose-kinds button{border-radius:10px;border:1px solid #dce2df;background:linear-gradient(160deg,#fffffc,#f0f2ed);box-shadow:inset 0 1px 2px #fff,0 1px 2px #35433d12;color:#4c625a}
.room-system :is(.room-date-arrow,.relay-story-step):not(:disabled):hover{background:color-mix(in srgb,var(--room-accent) 12%,white);border-color:color-mix(in srgb,var(--room-accent) 30%,white)}
.compose-kinds button[aria-pressed=true]{background:linear-gradient(155deg,#e3eff9,#bdd3e6);color:#38566d;border-color:#ffffffa0;box-shadow:inset 0 2px 3px #ffffffa6,inset 0 -2px 3px #49404b14,0 2px 3px #514a431a}
.room-system :is(.room-date-arrow,.relay-story-step):disabled{box-shadow:none;opacity:.48}
/* Small feed labels keep the two-category palette and only a hint of relief. */
#community-list>.post .source-badge{border-radius:7px;box-shadow:inset 0 1px #ffffffc0,0 1px 1px #5448390d}
@media(max-width:760px){body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-number{width:38px!important;flex-basis:38px!important;height:32px;min-height:32px;font-size:15px!important;border-radius:10px}}
@media(prefers-reduced-motion:reduce){body .community-rail .community-room-door,body[data-room-view] .room-system .approved-room-link{transition:none}}
@media(min-width:761px){body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-link{padding-block:2px!important}}
@media(min-width:761px){body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-menu{min-height:260px!important;flex-basis:260px!important}}
/* Match the label block to the badge height, with one shared typographic rhythm. */
body .community-rail .community-door-copy,body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-copy{box-sizing:border-box;display:flex!important;flex-direction:column;justify-content:center;align-self:center;gap:3px;height:40px;min-width:0;margin:0;padding:0;text-align:left}
body .community-rail .community-door-copy strong,body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-copy strong{display:block;margin:0!important;padding:0;font:650 14px/18px system-ui,-apple-system,'Apple SD Gothic Neo',sans-serif!important;letter-spacing:-.35px}
body .community-rail .community-door-copy>small,body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-copy small{margin:0!important;padding:0;font:400 10px/14px system-ui,-apple-system,'Apple SD Gothic Neo',sans-serif!important;letter-spacing:0}
@media(max-width:760px){body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-copy{height:32px;gap:0}body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-copy strong{font-size:11px!important;line-height:16px!important}}
@media(max-width:760px){
 body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-link{gap:2px!important;padding:2px!important}
 body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-number{flex:0 0 24px!important;height:24px;min-height:24px;font-size:14px!important;border-radius:8px}
 body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-copy{flex:0 0 16px;height:16px;align-items:center;text-align:center}
 body[data-room-view] :is(#stories,#relay,#poetry,#series).room-system .approved-room-copy strong{font-size:9.5px!important;line-height:16px!important;white-space:nowrap}
}
