/* R137 Shared compact composer and feed refinements. */
.compact-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-home-layout="compact"] :is(#homeComposerHost,#spaceComposerHost){margin:10px 0 12px!important}
body[data-home-layout="compact"] :is(#homeComposerHost,#spaceComposerHost)>.composer{padding:12px 14px!important;margin:0!important}
body[data-home-layout="compact"] :is(#homeComposerHost,#spaceComposerHost)>.composer:not(.compact-expanded)>:not(.compact-mini-composer){display:none!important}
.compact-mini-composer{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;color:var(--muted);padding:0;text-align:left;font-size:14px;line-height:18px;cursor:pointer}
.compact-mini-composer .avatar{flex:0 0 34px;width:34px;height:34px}
.compact-mini-composer .mini-post{margin-left:auto;padding:8px 17px;min-height:36px;border-radius:999px;flex:none}
.compact-mini-composer .compact-composer-prompt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-width:0;overflow:hidden;overflow-wrap:anywhere}
.compact-expanded>.compact-mini-composer{display:none!important}
.compact-closing{position:relative;overflow:hidden!important;overflow-anchor:none}
.compact-closing>:not(.compact-mini-composer){opacity:0;transition:opacity 150ms ease-out;pointer-events:none}
@media(prefers-reduced-motion:reduce){.compact-closing>:not(.compact-mini-composer){transition:none}}
body[data-home-layout="compact"] :is(#homeFeedHost,#spaceFeedHost) #feed{gap:12px!important}
body[data-home-layout="compact"] #homeFeedHost #feed>.post{margin:0!important}
body[data-home-layout="compact"] #page-tokencheck #pulseStatus:empty{display:none}
body[data-home-layout="compact"] #page-tokencheck #pulseStatus{font-size:11px;margin-top:6px}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment .sentiment-heading h2{color:var(--text)}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment .sentiment-votes button:disabled{cursor:default;opacity:.65}
body[data-home-layout="compact"] .compact-post{padding:16px!important;border-radius:18px;overflow:hidden}
body[data-home-layout="compact"] .compact-post .post-head{display:grid!important;grid-template-columns:48px minmax(0,1fr) auto 28px!important;column-gap:10px!important;row-gap:4px!important;align-items:start!important;min-width:0}
body[data-home-layout="compact"] .compact-post .post-head>.avatar{grid-column:1;grid-row:1/3;width:48px!important;height:48px!important;min-width:48px!important;margin:0!important;align-self:start!important}
body[data-home-layout="compact"] .compact-post .post-head>.compact-author{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere;font-size:14px}
body[data-home-layout="compact"] .compact-post .post-head>.compact-author .small{font-size:11px!important;line-height:1.4}
body[data-home-layout="compact"] .compact-post .post-head>.post-body{grid-column:2/-1;grid-row:2;margin:0!important;min-width:0;font-size:14px!important;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}
body[data-home-layout="compact"] .compact-post .post-head>.social-more{grid-column:4;grid-row:1;align-self:start!important;margin:0!important}
body[data-home-layout="compact"] .compact-post .post-head>:is(.delete-post,.space-remove-post){grid-column:3;grid-row:1;align-self:start!important}
body[data-home-layout="compact"] .compact-post .post-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;border:0!important;padding:0!important;margin:12px 0 0!important}
body[data-home-layout="compact"] .compact-post .post-actions>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-height:36px!important;min-width:24px!important;width:auto!important;padding:5px 2px!important;line-height:1.2!important}
body[data-home-layout="compact"] .compact-post .post-actions .ui-icon{width:18px!important;height:18px!important}
body[data-home-layout="compact"] .compact-post .post-actions :is(.share-post,.social-bookmark)>span:not(.action-count){display:none!important}
body[data-home-layout="compact"] .compact-post .post-actions .social-reward{background:transparent!important;border:0!important;color:var(--purple);font-size:11px!important}
body[data-home-layout="compact"] .compact-post .post-actions .social-reward>span{display:inline!important}
body[data-home-layout="compact"] .compact-post .poll-choice{position:relative;display:flex!important;justify-content:space-between!important;align-items:center;gap:10px;width:100%;min-height:38px;padding:8px 10px!important;margin:6px 0;border-radius:9px;overflow:hidden;line-height:1.4}
body[data-home-layout="compact"] .compact-post .poll-choice>span:first-child{min-width:0;overflow-wrap:anywhere}
body[data-home-layout="compact"] .compact-post .poll-choice>span:last-child{flex:none;font-size:11px}
body[data-home-layout="compact"] .compact-post .post-detail:has(>.poll-choice){margin-top:14px!important;margin-left:0;margin-right:0;width:auto}
body[data-home-layout="compact"] .compact-post .post-image{width:100%;object-fit:contain;max-height:440px;border-radius:14px;margin-top:14px}
body[data-home-layout="compact"] .compact-post .post-gif{margin:14px 0 0}
body[data-home-layout="compact"] .compact-post .post-gif .post-image{margin:0}
body[data-theme="light"][data-home-layout="compact"] #page-tokencheck .compact-sentiment{background:var(--panel);border-color:var(--line)}
body[data-theme="light"][data-home-layout="compact"] #page-tokencheck .compact-sentiment :is(.sentiment-scopes button,.sentiment-history,.sentiment-votes button){background:var(--panel2);border-color:var(--line);color:var(--text)}
body[data-theme="light"][data-home-layout="compact"] #page-tokencheck .compact-sentiment .sentiment-scopes button[aria-pressed="true"]{background:linear-gradient(100deg,#2d62ff,#7041ec);color:#fff}
@media(max-width:480px){
 body[data-home-layout="compact"] .compact-post{padding:13px!important;border-radius:16px}
 body[data-home-layout="compact"] .compact-post .post-head{grid-template-columns:39px minmax(0,1fr) auto 28px!important;column-gap:8px!important}
 body[data-home-layout="compact"] .compact-post .post-head>.avatar{width:39px!important;height:39px!important;min-width:39px!important}
 body[data-home-layout="compact"] .compact-post .post-head>.post-body{font-size:13px!important;line-height:1.5}
 body[data-home-layout="compact"] .compact-post .post-detail:has(>.poll-choice){margin-left:0}
 body[data-home-layout="compact"] #homeMarkets .market-open{grid-template-columns:minmax(0,1fr) 25px!important}
 body[data-home-layout="compact"] #homeMarkets .market-open svg{width:25px!important}
 body[data-home-layout="compact"] #homeMarkets strong{font-size:12px!important}
 body[data-home-layout="compact"] #homeMarkets .market-label{font-size:10px!important}
}
@media(min-width:1100px){body[data-home-layout="compact"] #homeMarkets{grid-template-columns:repeat(4,minmax(0,1fr))}}
body[data-home-layout="compact"] .market-strip{margin:0 0 10px}body[data-home-layout="compact"] .market-strip h2{font-size:15px;margin:0}body[data-home-layout="compact"] .market-strip>.row{margin-bottom:8px;gap:8px}body[data-home-layout="compact"] .market-ranges .chip{font-size:10px;padding:5px 8px;min-height:30px}body[data-home-layout="compact"] #homeMarkets{gap:8px}body[data-home-layout="compact"] #homeMarkets .market-card{padding:10px 9px;border-radius:13px}body[data-home-layout="compact"] .market-open{display:grid;grid-template-columns:1fr 42px;gap:3px;text-align:left;align-items:center}body[data-home-layout="compact"] .market-label{grid-column:1/-1;font-size:11px;gap:5px;white-space:nowrap}body[data-home-layout="compact"] .market-label img{width:18px;height:18px}body[data-home-layout="compact"] #homeMarkets strong{font-size:14px;white-space:nowrap}body[data-home-layout="compact"] .home-market-change{font-size:10px}body[data-home-layout="compact"] .market-open svg{grid-column:2;grid-row:2/4;width:42px;height:28px;margin:0}body[data-home-layout="compact"] .market-date{display:none}
body[data-home-layout="compact"] .headline-ticker{margin:0 0 12px;padding:10px 12px;min-height:0}body[data-home-layout="compact"] .headline-ticker a{font-size:12px;line-height:1.4}body[data-home-layout="compact"] .headline-ticker .ticker-label{font-size:10px}
/* Override the live shell's strongly scoped market and control rules in this study. */
body[data-home-layout="compact"] #homeMarkets .market-card{padding:9px!important;min-height:0!important}body[data-home-layout="compact"] #homeMarkets .market-open{display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;gap:3px!important;padding:0!important;min-height:0!important;text-align:left!important}body[data-home-layout="compact"] #homeMarkets .market-label{grid-column:1/-1!important;grid-row:1!important;font-size:11px!important;margin:0 0 3px!important}body[data-home-layout="compact"] #homeMarkets strong{grid-column:1!important;grid-row:2!important;font-size:14px!important;margin:0!important}body[data-home-layout="compact"] #homeMarkets .home-market-change{grid-column:1!important;grid-row:3!important;font-size:10px!important;margin:0!important}body[data-home-layout="compact"] #homeMarkets .market-open svg{grid-column:2!important;grid-row:2/4!important;width:36px!important;height:25px!important;margin:0!important}body[data-home-layout="compact"] #homeMarkets .market-date{display:none!important}body[data-home-layout="compact"] #page-home .market-strip h2{font-size:15px!important}
/* R128: smaller legends beside the bar, matched slim controls. */
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment{display:block!important;padding:14px;margin:0}
.sentiment-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment .sentiment-heading h2{font-size:16px!important;line-height:1.3;margin:0!important;letter-spacing:-.015em}
.sentiment-vote-count{display:none}
.sentiment-history{flex:none;max-width:125px;border:1px solid #2c4168;border-radius:999px;padding:5px 8px;color:#94a6c6;font-size:10px!important;line-height:1.4;text-align:center;background:#0a1527}
.sentiment-meter{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:10px;margin:8px 0 10px}
.sentiment-split{height:14px;display:flex;gap:0;border-radius:999px;overflow:hidden;background:#26354d;min-width:0}
.sentiment-split>:is(.sentiment-bull,.sentiment-bear){min-width:0;border-radius:0;flex:0 0 auto}
.sentiment-split .sentiment-bull{background:linear-gradient(90deg,#03c98d,#14d794);box-shadow:inset 0 0 0 1px #58f5b13d}
.sentiment-split .sentiment-bear{background:linear-gradient(90deg,#fc2d63,#f9426d);box-shadow:inset 0 0 0 1px #ff8ea338}
.sentiment-side{color:#0dd899;min-width:max-content;white-space:nowrap}
.sentiment-side.bearish{color:#ff426e;text-align:right}
.sentiment-side .sentiment-percent{display:block;font-size:20px!important;line-height:1.1;font-weight:800;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.sentiment-side>small{display:block;font-size:10px!important;line-height:1.3;font-weight:700;margin-top:2px}
.sentiment-scopes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 8px}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment .sentiment-scopes button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:32px;padding:5px 4px;border:1px solid #2c4164;border-radius:999px;background:#0b1629;color:#b7c6e2;font:inherit;font-size:12px!important;line-height:1.3;font-weight:650;cursor:pointer}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment .sentiment-scopes button[aria-pressed=true]{color:#fff;border-color:#765cff;background:linear-gradient(100deg,#2d62ff,#7041ec);box-shadow:none}
.sentiment-votes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment .sentiment-votes button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:36px;padding:6px 10px;border-radius:11px;border:1px solid #304568;background:#0a1426;color:#e5edfd;font:inherit;font-size:12px!important;line-height:1.3;font-weight:750;cursor:pointer;transition:none}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment #bullBtn[aria-pressed=true]{background:#087f5b!important;border-color:#13b889!important;color:#fff!important;opacity:1;outline:none;box-shadow:none}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment #bearBtn[aria-pressed=true]{background:#df3158!important;border-color:#f45a7c!important;color:#fff!important;opacity:1;outline:none;box-shadow:none}
.sentiment-votes svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sentiment-disclaimer{font-size:10px!important;line-height:1.4;color:#869bbb;margin:8px 0 0}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment[data-empty=true] .sentiment-side{color:#98a7c3}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment[data-empty=true] .sentiment-split{background:#233147}
body[data-home-layout="compact"] #page-tokencheck .compact-sentiment[data-empty=true] .sentiment-split>:is(.sentiment-bull,.sentiment-bear){display:none}
.sentiment-scopes button:focus-visible,.sentiment-votes button:focus-visible{outline:3px solid #45caff;outline-offset:3px}
@media(max-width:480px){body[data-home-layout="compact"] #page-tokencheck .compact-sentiment{padding:12px!important;border-radius:16px}body[data-home-layout="compact"] #page-tokencheck .compact-sentiment .sentiment-heading h2{font-size:14px!important}.sentiment-history{max-width:98px;font-size:9px!important;padding:4px 6px}.sentiment-meter{gap:8px;margin:8px 0}.sentiment-side .sentiment-percent{font-size:18px!important}.sentiment-side>small{font-size:9px!important}.sentiment-split{height:12px}body[data-home-layout="compact"] #page-tokencheck .compact-sentiment .sentiment-scopes button{font-size:11px!important}.sentiment-disclaimer{font-size:9px!important}}

/* Shared author/handle/time row and Space context; body aligns with author text. */
body[data-home-layout="compact"] .compact-post .post-identity-row{display:flex;align-items:center;flex-wrap:wrap;gap:3px 5px;min-width:0;line-height:1.4}
body[data-home-layout="compact"] .compact-post .post-identity-row .author-link{font-weight:750;margin:0;line-height:1.4}
body[data-home-layout="compact"] .compact-post :is(.post-handle,.post-time){font-size:12px;line-height:1.4;overflow-wrap:anywhere}
body[data-home-layout="compact"] .compact-post .post-time{white-space:nowrap}
body[data-home-layout="compact"] .compact-post>.space-post-heading{padding:0 0 10px;margin:0 0 10px;border-bottom:1px solid var(--line);gap:7px;align-items:center}
body[data-home-layout="compact"] .compact-post>.space-post-heading .space-logo{width:20px;height:20px;min-width:20px}
body[data-home-layout="compact"] .compact-post>.space-post-heading .space-post-identity{font-size:11px;padding:0;text-align:left}
body[data-home-layout="compact"] .compact-post>.space-post-heading .join-recommended{margin-left:auto;padding:4px 8px;font-size:10px;min-height:28px}
@media(max-width:480px){body[data-home-layout="compact"] .compact-post :is(.post-handle,.post-time){font-size:11px}}

/* Lucide dropdown arrow with enough right-hand inset. */
body #launchSort{appearance:none;-webkit-appearance:none;padding-right:38px!important;background-image:url("data:image/svg+xml,%3C%21--%20%40license%20lucide-static%20v1.50.0%20-%20ISC%20--%3E%0A%3Csvg%0A%20%20class%3D%22lucide%20lucide-chevron-down%22%0A%20%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22%23a7b7d4%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22m6%209%206%206%206-6%22%20/%3E%0A%3C/svg%3E%0A");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}
/* R138: the current layout exists before online modules load. */
#feedStatus:empty{display:none!important}
body[data-home-layout="compact"] #headlineTicker{min-height:48px!important}
body[data-home-layout="compact"] #headlineTicker[hidden]{display:flex!important;visibility:hidden}
.startup-placeholder{padding:16px;min-height:170px;margin:0!important}
.placeholder-author{height:32px;width:46%;border-radius:8px;background:var(--panel2);margin-bottom:14px}
.placeholder-text{height:12px;width:90%;border-radius:5px;background:var(--panel2);margin:10px 0}
.placeholder-text.short{width:62%}
.placeholder-actions{height:24px;margin-top:24px;border-top:1px solid var(--line)}
#compactComposerAvatar.cosmetic-avatar{background-color:transparent!important}

/* R191: reveal the compact row within the same collapse, rather than afterwards. */
body[data-home-layout] .composer.compact-closing>.compact-mini-composer{display:flex!important;position:absolute;top:var(--compact-mini-top);left:var(--compact-mini-left);right:var(--compact-mini-right);width:auto;pointer-events:none}
html:has(.compact-closing),body:has(.compact-closing),html.compact-scroll-held{overflow-anchor:none}
html.compact-scroll-held{min-height:var(--compact-scroll-floor)!important}
