/* Approved space-first controls. Original assets and data remain. */
html body.bookclub-app #appDrawerRoot[data-space-enabled] .app-drawer-header{position:relative}html body.bookclub-app #appDrawerRoot[data-space-enabled] .app-drawer-header:before{content:none!important}
html body.bookclub-app #appDrawerRoot[data-space-enabled] .drawer-space-handle{position:absolute!important;top:0!important;left:50%!important;transform:translateX(-50%)!important;width:96px!important;height:44px!important;min-width:96px!important;min-height:44px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;z-index:5;touch-action:none;cursor:ns-resize;user-select:none;color:#af8c52}
.drawer-space-bar{position:absolute;top:8px;left:30px;width:36px;height:4px;border-radius:5px;background:#baa174}.drawer-space-cue{position:absolute;top:12px;left:34px;width:28px;text-align:center;font:18px/1.1 sans-serif;opacity:0}.drawer-space-handle[data-hint=animate] .drawer-space-cue{animation:drawer-space-hint .75s ease-in-out 2}.drawer-space-handle[data-hint=static] .drawer-space-cue{opacity:.55}.drawer-space-handle[hidden]{display:none!important}
@keyframes drawer-space-hint{0%,100%{opacity:0;transform:translateY(4px)}40%,70%{opacity:.75;transform:translateY(-2px)}}
html body.bookclub-app #appDrawerRoot[data-space-adjusted] .app-drawer-panel{height:var(--drawer-space-height)!important;max-height:calc(var(--component-viewport-height,100dvh) - 16px)!important;top:auto!important;bottom:var(--drawer-space-bottom,0px)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}html body.bookclub-app #appDrawerRoot[data-space-adjusted][data-space-animate=true] .app-drawer-panel{transition:height .22s ease!important}html body.bookclub-app #appDrawerRoot[data-space-dragging] .app-drawer-panel{transition:none!important}html body.bookclub-app #appDrawerRoot[data-mode="v13:feed"] .app-drawer-close{display:grid!important}
@media(prefers-reduced-motion:reduce){.drawer-space-cue{animation:none!important}.app-drawer-panel{transition:none!important}}
html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-card{display:flex!important;flex-direction:column!important;min-inline-size:0}html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .book-tag{max-inline-size:100%!important;box-sizing:border-box;overflow-wrap:anywhere;white-space:normal!important}html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-identity,html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-meta{min-inline-size:0;overflow-wrap:anywhere}
html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-card .post-actions[data-space-count]{display:grid!important;grid-template-columns:repeat(3,minmax(max-content,1fr))!important;gap:8px!important;margin-top:auto!important;padding-top:8px}html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-card .post-actions[data-space-count="4"]{grid-template-columns:repeat(4,minmax(max-content,1fr))!important}html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-card .post-actions[data-space-wrap=true]{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-card .post-actions[data-space-wrap=true][data-space-count="3"]>[data-reading-action=copy]{grid-column:1/-1!important}
html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-card .post-actions[data-space-count]>.action-btn{grid-column:auto!important;min-inline-size:0!important;width:auto!important;max-inline-size:100%;white-space:normal!important;overflow-wrap:anywhere;min-height:44px!important;height:auto!important;padding:6px!important}
html body.bookclub-app #appDrawerRoot #appDrawerBody .compact-record-reactions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}html body.bookclub-app #appDrawerRoot #appDrawerBody .compact-record-reactions button{width:auto!important;min-inline-size:0!important;max-inline-size:100%!important;overflow-wrap:anywhere;flex:1 1 max-content!important;min-height:44px!important;white-space:normal!important}
#gm-modern-workspace :is(.gm-form,.gm-actions,.gm-footer,.gm-card),#gm-detail :is(.gm-form,.gm-actions,.gm-footer){min-inline-size:0}#gm-modern-workspace :is(input,select,textarea),#gm-detail :is(input,select,textarea){max-inline-size:100%;box-sizing:border-box}#gm-modern-workspace .gm-actions,#gm-modern-workspace .gm-footer,#gm-detail .gm-actions,#gm-detail .gm-footer{flex-wrap:wrap;gap:8px}#gm-modern-workspace .gm-actions button,#gm-modern-workspace .gm-footer button,#gm-detail .gm-actions button,#gm-detail .gm-footer button{min-height:44px;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere}

html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-card .post-actions[data-space-wrap=true][data-space-count="3"]>.action-btn[data-reading-action=copy]{grid-column:1/-1!important}

html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-card.has-video .post-actions .action-btn{font-size:13px!important;padding:6px!important}html body.bookclub-app #appDrawerRoot #appDrawerBody #postsContainer .post-card.has-video .post-actions :is(.warm-art-icon,.reading-painted-icon){width:24px!important;height:24px!important;flex-basis:24px!important}
