/* Clean navy surfaces, crisp cyan/violet accents, no glow. */
body .card,body .modal-card{border-radius:20px;border:1px solid #45547c;background:linear-gradient(135deg,#16335a18,#5930a514),var(--panel);box-shadow:none!important}
body[data-theme=light] .card,body[data-theme=light] .modal-card{border-color:#bac5e2;background:linear-gradient(135deg,#e9f6ff,#f4efff)}
/* Posts and feed ads share the page surface and a single bottom divider. */
body .card.post,
body .card.sponsored-feed-card,
body .card.network-feed-card{
 background:transparent!important;
 border:0!important;
 border-bottom:1px solid var(--line)!important;
 border-radius:0!important;
 box-shadow:none!important;
 padding:12px 0!important;
}
body .growth-hub .growth-dashboard{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding-bottom:8px;margin-bottom:-8px;scrollbar-width:thin;scrollbar-color:#6d63a1 transparent;max-width:100%}
body .growth-hub .growth-coin{flex:0 0 calc((100% - 20px)/3);scroll-snap-align:start;scroll-snap-stop:always;min-width:0}
@media(max-width:540px){body .growth-hub .growth-coin{padding:12px 8px;gap:8px}body .growth-hub .growth-coin b{font-size:clamp(10px,3.1vw,14px);white-space:nowrap}body .growth-hub .growth-coin-heading{gap:5px;font-size:12px}body .growth-hub .growth-coin-heading img,body .growth-hub .growth-coin-heading .market-coin-fallback{width:20px;height:20px;flex-basis:20px}body .growth-hub .growth-coin-history small{font-size:10px}body .growth-hub .growth-coin-history small span{font-size:9px}}
.growth-dashboard:focus-visible{outline:2px solid var(--purple);outline-offset:4px;border-radius:12px}
.post-header-tools{display:flex;align-items:center;gap:8px;margin-left:auto;align-self:start;flex:none}
body[data-home-layout=compact] .compact-post .post-head{grid-template-columns:48px minmax(0,1fr) auto!important}
body[data-home-layout=compact] .compact-post .post-head>.post-header-tools{grid-column:3;grid-row:1}
body[data-home-layout] .post .post-header-tools>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;flex:0 0 24px!important;padding:4px!important;margin:0!important;border:0!important;border-radius:5px!important;background:transparent!important;box-shadow:none!important;color:var(--muted)!important}
body[data-home-layout] .post .post-header-tools>button .ui-icon{width:16px!important;height:16px!important;flex:0 0 16px!important}
.post-header-tools>button>span{display:none!important}
body[data-home-layout] .post .post-header-tools>button.active{color:#b89bff!important;background:#7756cf18!important}
.post-header-tools>button:hover{color:var(--text)!important;background:#7756cf18!important}
.post-header-tools>button:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
@media(max-width:480px){body[data-home-layout=compact] .compact-post .post-head{grid-template-columns:39px minmax(0,1fr) auto!important;column-gap:8px!important}.post-header-tools{gap:4px}}
body #socialDialog.composer-card-dialog .modal-card{width:min(640px,calc(100vw - 24px))!important;max-width:640px;padding:24px!important;border:1px solid #6867ba;background:linear-gradient(135deg,#17365a40,#38216c25),var(--panel);box-shadow:none!important;border-radius:24px}
.composer-card-dialog #socialDialogTitle{display:flex;align-items:center;gap:14px;font-size:24px;line-height:1.2;margin:0;min-width:0}
.composer-card-mark{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#1570e6,#753bcb);border:1px solid #7b7ad1;color:#fff}
.composer-card-mark .ui-icon{width:25px;height:25px}
.composer-card-description{color:var(--muted);line-height:1.5;margin:12px 0 24px}
.composer-card-dialog #closeSocialDialog{width:32px;height:32px;border-radius:10px;border:1px solid var(--line);background:transparent;box-shadow:none}
.composer-card-dialog .input{box-sizing:border-box;border:1px solid #505b91;background:var(--panel);border-radius:14px;min-height:48px;padding:12px 16px;color:var(--text);font:inherit}
.composer-card-dialog .input:focus{outline:2px solid #8a74ce;outline-offset:2px;box-shadow:none}
.composer-card-dialog label{line-height:1.5}
.composer-card-dialog .btn.primary{border-radius:14px;background:linear-gradient(110deg,#137feb,#6944ea,#983ce0);border:1px solid #8374cd;color:#fff;box-shadow:none;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.composer-card-dialog #composerChartForm{display:grid;gap:12px}.composer-card-dialog #composerChartForm>button{justify-self:start;padding:10px 20px}
.composer-card-dialog .media-tabs{margin-bottom:20px}.composer-card-dialog #uploadPhotoChoice{width:100%;text-align:left;justify-content:flex-start;background:linear-gradient(110deg,#1e66d0,#7540ca);border:1px solid #7b7ad1;border-radius:16px;padding:16px;color:white;font-weight:700;display:flex;gap:12px}
.composer-card-dialog #uploadPhotoChoice .ui-icon{width:24px;height:24px}
.composer-card-dialog .poll-choice-row{display:flex;align-items:center;gap:10px;border:1px solid #505b91;border-radius:15px;padding:8px;counter-increment:poll-option}
.composer-card-dialog #pollChoiceRows{counter-reset:poll-option;display:grid;gap:12px}
.composer-card-dialog .poll-choice-row:before{content:counter(poll-option);display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:8px;background:#7762ce22;color:#c2b5ff}
.composer-card-dialog .poll-choice-row input{flex:1;min-width:0;border:0;background:transparent}
.composer-card-dialog .poll-choice-remove{width:28px;height:28px;flex:none;border:0;border-radius:8px;background:#7762ce22;color:var(--muted);padding:6px;display:grid;place-items:center}.poll-choice-remove .ui-icon{width:16px;height:16px}
.composer-card-dialog #addPollChoice{border:1px dashed #7c70bf;border-radius:14px;padding:10px 16px;margin:14px 0}
.composer-card-dialog [data-poll-hours]{flex:1;min-height:38px}.composer-card-dialog [data-poll-hours].active{background:linear-gradient(110deg,#177ae0,#8243d5);color:#fff;border-color:#8c77ce;box-shadow:none}
.composer-card-dialog .poll-editor-actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}.composer-card-dialog .poll-editor-actions>button{flex:1;border-radius:14px}
.composer-card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:18px;margin-top:24px}
.composer-card-tools{display:flex;gap:8px}.composer-card-tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:transparent;border:1px solid var(--line);border-radius:12px;padding:10px 8px;color:var(--muted);min-width:54px;font:inherit;font-size:11px}.composer-card-tool .ui-icon{width:22px;height:22px}.composer-card-tool.active{border-color:#9474db;background:#7344cb35;color:#fff}.composer-card-tool:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.composer-card-post{padding:12px 22px;font-weight:700}.composer-card-post .ui-icon{width:19px;height:19px}
.composer-card-dialog .nft-empty{text-align:center;padding:30px 12px;display:flex;align-items:center;flex-direction:column;gap:14px;border:1px dashed #505b91;border-radius:16px;margin:20px 0;line-height:1.5}.composer-card-dialog .nft-empty>.ui-icon{width:48px;height:48px;color:#a892ed}.composer-card-dialog .nft-empty small{color:var(--muted);font-weight:400}.composer-card-dialog #socialDialogStatus:not(:empty){margin-top:16px;line-height:1.5;padding:12px;border:1px solid var(--line);border-radius:12px}
@media(max-width:540px){body #socialDialog.composer-card-dialog .modal-card{padding:18px!important;border-radius:20px}.composer-card-dialog #socialDialogTitle{font-size:20px;gap:10px}.composer-card-mark{width:38px;height:38px;flex-basis:38px;border-radius:11px}.composer-card-mark .ui-icon{width:22px;height:22px}.composer-card-footer{gap:8px}.composer-card-tools{gap:5px}.composer-card-tool{min-width:38px;padding:8px 4px;font-size:9px}.composer-card-post{padding:10px 12px;min-width:62px}.composer-card-post>.ui-icon{display:none}.composer-card-description{margin-bottom:18px}}
.composer-card-dialog #pollDetails>p:first-child{display:none}
body #socialDialog.composer-card-dialog .btn.primary{border-radius:14px!important;background:linear-gradient(110deg,#137feb,#6944ea,#983ce0)!important;box-shadow:none!important}
body #socialDialog.composer-card-dialog .composer-card-tool.active{background:linear-gradient(135deg,#315eb8,#7546c0)!important;color:#fff!important}
body #socialDialog.composer-card-dialog .poll-editor-actions>button{border-radius:14px!important}
body #socialDialog.composer-card-dialog #pollChoiceRows .poll-choice-row input{border:0;background:transparent}
body[data-theme=light] .composer-card-dialog .poll-choice-row:before{color:#62508e}
body #socialDialog.composer-card-dialog #uploadPhotoChoice{border-radius:14px!important;background:linear-gradient(110deg,#1e66d0,#7540ca)!important;box-shadow:none!important;min-height:52px}
.composer-card-dialog #uploadPhotoChoice>.ui-icon:last-child{margin-left:auto;transform:rotate(-90deg);width:18px;height:18px}
.composer-card-dialog select.input{padding-right:38px;background:var(--panel) url('./dropdown-chevron-r171.svg') no-repeat right 12px center;background-size:16px 16px}
