/* Lucide chevrons share one size and centre line across menus and native selects. */
select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;background-image:url('/dropdown-chevron-r171.svg')!important;background-repeat:no-repeat!important;background-size:16px 16px!important;background-position:right 12px center!important;padding-right:38px!important}details>summary{list-style:none}details>summary::-webkit-details-marker{display:none}details>summary:not(:has(.lucide-chevron-down,.lucide-chevron-up,.lucide-disclosure)){display:flex;align-items:center;justify-content:space-between;gap:10px}details>summary:not(:has(.lucide-chevron-down,.lucide-chevron-up,.lucide-disclosure))::after{content:'';width:16px;height:16px;flex:0 0 16px;background:url('/dropdown-chevron-r171.svg') center/16px 16px no-repeat}details[open]>summary::after{transform:rotate(180deg)}.growth-manage>summary,#feedSortButton{display:inline-flex!important;align-items:center!important;justify-content:center;gap:8px!important;line-height:20px!important}.growth-manage>summary svg,#feedSortButton .sort-chevron{display:block;width:16px!important;height:16px!important;flex:0 0 16px;margin:0!important;vertical-align:middle}.growth-manage[open]>summary svg{transform:rotate(180deg)}
/* Sentiment sharing sits beside Daily votes, with the same Lucide share icon as posts. */
.sentiment-heading>div:first-child{min-width:0;flex:1}.sentiment-heading-actions{display:flex;align-items:center;gap:8px;flex:none}.sentiment-share-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;padding:0;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);cursor:pointer}.sentiment-share-icon .ui-icon{display:block;width:16px;height:16px;margin:0;flex:none}.sentiment-share-icon:hover{color:var(--text);border-color:var(--purple)}.sentiment-share-icon:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
/* Group votes; give the remaining post actions the same rounded treatment. */
/* A compact attachment toolbar with a distinct publish action. */
body[data-home-layout] .composer .composer-tools.composer-action-row{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:6px!important;padding:12px 0 0!important;margin:12px 0 0!important;border-top:1px solid var(--line)}body[data-home-layout] .composer .composer-action-row>button:is(#attachImage,#addPoll,#addChart,#shareTrade,#addTrade){display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:7px!important;height:44px!important;min-height:44px!important;min-width:0!important;width:auto!important;padding:10px 12px!important;border:1px solid color-mix(in srgb,var(--line) 70%,transparent)!important;border-radius:12px!important;background:color-mix(in srgb,var(--panel) 94%,var(--purple))!important;color:var(--muted)!important;box-shadow:none!important;line-height:1.2!important;font-size:12px!important;font-weight:600!important;flex:0 0 auto}body[data-home-layout] .composer .composer-action-row>button .ui-icon{display:block;width:18px!important;height:18px!important;flex:none;margin:0!important}body[data-home-layout] .composer .composer-action-row>button:is(#attachImage,#addPoll,#addChart,#shareTrade,#addTrade):hover{background:color-mix(in srgb,var(--panel) 82%,var(--purple))!important;color:var(--text)!important}body[data-home-layout] .composer .composer-action-row>button.active{border-color:var(--purple)!important;color:var(--text)!important;background:color-mix(in srgb,var(--panel) 80%,var(--purple))!important}body[data-home-layout] .composer .composer-action-row>#postBtn{order:5!important;grid-column:auto!important;margin:0 0 0 auto!important;width:auto!important;min-width:88px!important;height:44px!important;min-height:44px!important;padding:10px 20px!important;border:1px solid #8d70e1!important;border-radius:12px!important;background:linear-gradient(115deg,#326cff,#8051ed)!important;color:#fff!important;box-shadow:0 3px 10px #6548d522!important;font-size:13px!important;line-height:20px!important;flex:0 0 auto}body[data-home-layout] .composer .composer-action-row>button:focus-visible{outline:2px solid var(--purple);outline-offset:3px}body[data-home-layout] .composer .composer-action-row>button:disabled{opacity:.55;cursor:default}@media(max-width:540px){body[data-home-layout] .composer .composer-tools.composer-action-row{gap:6px!important}body[data-home-layout] .composer .composer-action-row>button:is(#attachImage,#addPoll,#addChart,#shareTrade,#addTrade){flex-direction:column!important;gap:4px!important;width:40px!important;height:48px!important;padding:5px 2px!important;font-size:9px!important;border-radius:10px!important}body[data-home-layout] .composer .composer-action-row>#postBtn{min-width:68px!important;padding:10px 12px!important;height:48px!important;border-radius:10px!important}}
/* Extend the selected upvote colour through the score, ending at the downvote divider. */
.post-vote-pill .vote-score{display:inline-flex;align-items:center;justify-content:center;align-self:stretch}.post-vote-pill .social-react[data-reaction="1"].active+.vote-score{background:#7756cf22}
body[data-home-layout] .post .post-actions.social-actions.post-actions-r171{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:5px!important;max-width:none!important;padding:0!important;margin-top:14px!important}.post-vote-pill{display:inline-flex;align-items:center;gap:0;border:1px solid var(--line);border-radius:999px;background:var(--panel);flex:0 0 auto;height:36px;overflow:hidden}.post-vote-pill .vote-score{padding:0 6px;min-width:20px;text-align:center;font-size:12px!important;color:var(--muted)!important;font-weight:600;line-height:20px}.post-vote-pill .social-react{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:6px!important;min-width:32px!important;width:32px!important;height:34px!important;min-height:34px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--muted)!important;margin:0!important}.post-vote-pill .social-react[data-reaction="-1"]{border-left:1px solid var(--line)!important}.post-vote-pill .social-react.active{background:#7756cf22!important;color:#ae98ff!important}.post-vote-pill .social-react[data-reaction="-1"].active{color:#ee88aa!important;background:#ef60741c!important}.post-vote-pill .ui-icon{width:18px!important;height:18px!important}.post-vote-pill .social-react::before{display:none!important}body[data-home-layout] .post .post-actions.social-actions.post-actions-r171 button:not(.social-react){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:var(--panel)!important;color:var(--muted)!important;box-shadow:none!important;height:36px!important;min-height:36px!important;min-width:36px!important;padding:6px 8px!important;width:auto!important;line-height:20px!important;margin:0!important;font-weight:600!important}body[data-home-layout] .post .post-actions.social-actions.post-actions-r171 button:not(.social-react).active{background:#7756cf22!important;border-color:#8d73c9!important;color:#ae98ff!important}body[data-home-layout] .post .post-actions.social-actions.post-actions-r171 button:not(.social-react):is(.share-post,.social-bookmark,.social-reward){width:32px!important;min-width:32px!important;padding:6px!important}body[data-home-layout] .post .post-actions.social-actions.post-actions-r171 button:not(.social-react):is(.share-post,.social-bookmark,.social-reward)>span{display:none!important}.post-actions-r171>.share-status:empty{display:none}.post-actions-r171 .ui-icon{width:18px!important;height:18px!important;flex:none}.post-actions-r171 .action-count{font-size:12px!important;line-height:20px!important}.post-actions-r171 button:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.post-actions-r171 button:hover{filter:brightness(1.12)}.post .post-add-emoji,.post .post-emoji{display:none!important}@media(max-width:360px){body[data-home-layout] .post .post-actions.social-actions.post-actions-r171{gap:3px!important}.post-vote-pill .social-react{width:28px!important;min-width:28px!important}.post-vote-pill .vote-score{min-width:16px;padding:0 4px}body[data-home-layout] .post .post-actions.social-actions.post-actions-r171 button:not(.social-react){padding:6px 7px!important;gap:4px!important;min-width:30px!important}body[data-home-layout] .post .post-actions.social-actions.post-actions-r171 button:not(.social-react):is(.share-post,.social-bookmark,.social-reward){width:30px!important;padding:5px!important}}

/* Keep conversation, redistribution and gifting visibly separated. */
body[data-home-layout] .post .post-actions.social-actions.post-actions-r171{justify-content:space-between!important;column-gap:12px!important;row-gap:8px!important}.post-actions-r171>.post-action-group{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;max-width:100%}.post-actions-r171>.post-distribution{margin-left:auto}body[data-home-layout] .post .post-actions.social-actions.post-actions-r171>button.social-reward:not(.social-react){margin-left:auto!important}body[data-home-layout] .post .post-actions.social-actions.post-actions-r171>.post-action-group>button:is(.social-reply,.social-repost){padding:6px!important}.post-actions-r171>.share-status:not(:empty){flex-basis:100%;order:3}@media(max-width:360px){.post-actions-r171>.post-action-group{gap:3px}.post-actions-r171>.post-distribution{margin-left:0}}

/* Smaller secondary post header controls; preserve the existing icon pack. */
body[data-home-layout] .post .post-head>button:is(.delete-post,.space-remove-post,.social-more),body[data-home-layout] .post .space-post-heading>button:is(.delete-post,.social-more){width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;flex:0 0 24px!important;padding:4px!important;border-radius:999px!important}body[data-home-layout] .post .post-head>button:is(.delete-post,.space-remove-post,.social-more) svg,body[data-home-layout] .post .space-post-heading>button:is(.delete-post,.social-more) svg{width:15px!important;height:15px!important;flex:0 0 15px!important;display:block}body[data-home-layout="compact"] .compact-post .post-head{grid-template-columns:48px minmax(0,1fr) auto 24px!important}@media(max-width:480px){body[data-home-layout="compact"] .compact-post .post-head{grid-template-columns:39px minmax(0,1fr) auto 24px!important}}
.trade-pick{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;margin:8px 0;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--panel) 88%,var(--purple));color:var(--text)}.trade-pick small{color:var(--muted)}
.trade-picks{display:grid;gap:10px}
.trade-card{display:grid;gap:4px;text-align:left;padding:16px;border:1px solid #2a3158;border-radius:18px;background:radial-gradient(120% 80% at 100% 0%,#24306a 0%,#151a33 42%,#101424 100%);color:var(--text);position:relative;overflow:hidden}.trade-card:before{content:"";position:absolute;right:-20px;bottom:-30px;width:140px;height:70px;background:linear-gradient(90deg,transparent,#3ee0a055 40%,#7c6cff88);clip-path:polygon(0 70%,12% 40%,24% 55%,38% 20%,52% 48%,68% 18%,82% 36%,100% 8%,100% 100%,0 100%);opacity:.7}.trade-card.down{background:radial-gradient(120% 80% at 100% 0%,#4a2340 0%,#241624 46%,#141018 100%)}.trade-card.down:before{background:linear-gradient(90deg,transparent,#ff8fa355 40%,#c46cff66)}
.trade-card-top{display:flex;justify-content:space-between;align-items:center}
.trade-card-top span{font-size:12px;font-weight:700;padding:3px 8px;border-radius:999px}
.trade-card.up .trade-card-top span{color:#3ee0a0;background:#12352c}
.trade-card.down .trade-card-top span{color:#ff8fa3;background:#3a1824}
.trade-card strong{font-size:22px}
.trade-card small{color:var(--muted)}

#manualWalletTrade{margin:14px 0 14px}

.post-body+.trade-card,.post .trade-card{margin-top:12px}

body[data-theme=light] .trade-card{background:linear-gradient(135deg,#f4f7ff 0%,#e7eefc 55%,#f7f3ff 100%);border-color:#d5def2;color:#1c2744}
body[data-theme=light] .trade-card:before{background:linear-gradient(90deg,transparent,#3cb98a55 40%,#7c6cff55);opacity:.85}
body[data-theme=light] .trade-card.down{background:linear-gradient(135deg,#fff5f8 0%,#fdecef 55%,#f7f3ff 100%)}
body[data-theme=light] .trade-card.down:before{background:linear-gradient(90deg,transparent,#e07a9355 40%,#b07cff44)}
body[data-theme=light] .trade-card strong,body[data-theme=light] .trade-card b{color:#1c2744}
body[data-theme=light] .trade-card small{color:#5d6b88}
body[data-theme=light] .trade-card.up .trade-card-top span{color:#0f8a62;background:#dff6ec}
body[data-theme=light] .trade-card.down .trade-card-top span{color:#b4234a;background:#ffe4ec}

/* Admin dialog sits below the status bar */


#socialDialog:not(.anchored-dialog){padding-top:max(72px,calc(env(safe-area-inset-top) + 28px))!important;align-items:flex-start!important}
#socialDialog:not(.anchored-dialog) .modal-card{top:max(72px,calc(env(safe-area-inset-top) + 28px))!important;margin-top:0!important;max-height:calc(100dvh - max(72px,env(safe-area-inset-top)) - 36px)!important}

.trade-share{display:grid;gap:8px;text-align:left;padding:16px;border-radius:22px;background:#0d0f14;color:#fff;border:1px solid #2a2f3d}
.trade-share-head{display:flex;justify-content:space-between;align-items:center}
.trade-share-head b{font-size:18px}
.trade-share-head small,.trade-share-prices small{color:#9aa3b5}
.trade-share-line{width:100%;height:70px}
.trade-share.up .trade-share-line{stroke:#3ee07a;fill:none;stroke-width:3}
.trade-share.down .trade-share-line{stroke:#ff6b8a;fill:none;stroke-width:3}
.trade-share-row{display:flex;justify-content:space-between;font-weight:700}
.trade-share-row span:last-child{border-radius:999px;padding:3px 8px;background:#173528;color:#3ee07a}
.trade-share.down .trade-share-row span:last-child{background:#3a1824;color:#ff8fa3}
.trade-share-prices{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.trade-share-prices span{display:grid;font-size:12px;color:#9aa3b5}
.trade-share-prices small{color:#fff;font-size:16px}
body[data-theme=light] .trade-share{background:#111318;color:#fff}

.trade-change{font-size:28px;line-height:1}
.trade-share.up .trade-change{color:#3ee07a}
.trade-share.down .trade-change{color:#ff6b8a}
.trade-change:empty{display:none}

.trade-change small{font-size:16px;margin-left:6px}
