/* Scoped feed cards; independent of header, profile and post wizard. */
.thp-rich-post{border:1px solid #dce6f2!important;border-radius:21px;overflow:hidden;padding:clamp(12px,1.2vw,20px);box-shadow:0 5px 18px #0b349009;background:#fff;min-width:0}
.thp-rich-post[hidden]{display:none!important}
.thp-rich-post .thp-post-head{margin:0 0 12px;gap:10px}.thp-rich-post .thp-author{font-size:15px;color:#102451;overflow-wrap:anywhere}.thp-rich-options{background:#f1f5fb;border-radius:10px;width:36px;height:36px;flex:none;color:#0b3490}
.thp-rich-feature{isolation:isolate;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(115px,34%);align-items:center;gap:14px;padding:15px 12px;border-radius:16px;background:linear-gradient(120deg,#fff 8%,var(--post-tint) 100%);overflow:hidden;border-left:3px solid var(--post-accent)}
.thp-rich-feature:before{content:'';position:absolute;z-index:-1;right:-14%;top:-60%;width:65%;height:180%;border:24px solid var(--post-accent);opacity:.08;border-radius:50%;transform:rotate(-24deg)}
.thp-rich-copy{min-width:0;overflow-wrap:anywhere}.thp-rich-category{display:inline-flex;align-items:center;gap:6px;background:var(--post-accent);color:white;font-size:11px;font-weight:700;padding:6px 10px;border-radius:999px;margin-bottom:9px;max-width:100%}.thp-rich-copy h2{font:700 clamp(17px,1.35vw,23px)/1.3 'Roboto Slab',serif;color:#102451;margin:0 0 7px}.thp-rich-copy p{font-size:13px;line-height:1.6;color:#344662;margin:0 0 9px}.thp-rich-cta{display:inline-flex;align-items:center;gap:6px;color:var(--post-accent);background:#fff;border:1px solid var(--post-accent);font-weight:700;font-size:12px;padding:7px 11px;border-radius:999px}.thp-rich-detail{background:#ffffffb0;border-radius:8px;color:var(--post-accent);font-size:12px;padding:7px;margin:7px 0;display:flex;gap:7px;align-items:center}
.thp-rich-media{position:relative;margin:0;padding:4px;background:linear-gradient(145deg,var(--post-accent),#fff 50%,#00a53f);border-radius:35% 15px 20px 15px;box-shadow:0 5px 12px #0b349018}.thp-rich-media img{display:block;width:100%;height:auto;aspect-ratio:1.25;object-fit:cover;border-radius:inherit}.thp-rich-media span{position:absolute;bottom:5px;right:5px;width:35px;height:35px;display:grid;place-items:center;background:var(--post-accent);border:2px solid white;border-radius:50%;color:white;font-size:17px}
.thp-rich-post[data-category=discussion] .thp-rich-media,.thp-rich-post[data-category=event] .thp-rich-media{border-radius:15px}.thp-rich-post[data-category=story] .thp-rich-feature{background:linear-gradient(135deg,#fff,#eaf9fa)}.thp-rich-post[data-category=announcement] .thp-rich-feature{background:linear-gradient(120deg,#fff,#fff0ef)}
.thp-rich-counts{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 0 8px;font-size:12px;color:#425472}.thp-rich-counts>span:first-child{display:flex;align-items:center;gap:6px}.thp-rich-post .thp-post-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;padding:8px 0;border-top:1px solid #e4ebf4;border-bottom:1px solid #e4ebf4}.thp-rich-post .thp-post-actions button{justify-content:center!important;min-height:39px;padding:6px 3px;font-size:12px;font-weight:700;border-radius:10px;background:#e9f1ff;color:#0b3490}.thp-rich-post .thp-post-actions button:nth-child(2){background:#e4f8f5;color:#087d87}.thp-rich-post .thp-post-actions button:nth-child(3){background:#e7f8eb;color:#007b35}.thp-rich-post .thp-post-actions button:nth-child(4){background:#fcebec;color:#910c00}.thp-rich-post .thp-post-actions button[aria-pressed=true]{background:#0b3490;color:white}.thp-rich-post button:focus-visible{outline:2px solid #0b3490;outline-offset:2px}
.thp-rich-comments{padding-top:11px}.thp-rich-comments-heading{display:flex;align-items:center;justify-content:space-between;color:#102451;font-size:13px;margin-bottom:9px}.thp-rich-comments-heading small{color:#64748b;font-size:10px}.thp-rich-comment{display:flex;align-items:flex-start;gap:8px;margin-bottom:8px}.thp-rich-bubble{flex:1;min-width:0;padding:8px 10px;border-radius:12px;background:#edf4fc;overflow-wrap:anywhere}.thp-rich-comment:nth-of-type(odd) .thp-rich-bubble{background:var(--post-tint)}.thp-rich-bubble strong{font-size:12px;color:#102451}.thp-rich-bubble small{font-size:10px;color:#64748b;margin-left:6px}.thp-rich-bubble p{font-size:12px;line-height:1.45;margin:3px 0;color:#263954}.thp-rich-comment-actions{display:flex;gap:14px;color:#0b3490;font-size:11px;font-weight:600}.thp-rich-comment-actions button[aria-pressed=true]{color:#008a43}.thp-rich-all-comments{width:100%;padding:9px;background:#eaf1ff;color:#0b3490;font-size:12px;font-weight:700;border-radius:10px}.thp-rich-post .thp-comment-box small{display:block;margin-top:7px}
@media(max-width:900px){.thp-rich-post{border-radius:16px}.thp-rich-feature{grid-template-columns:1fr;padding:12px;gap:10px}.thp-rich-media{border-radius:13px}.thp-rich-media img{aspect-ratio:1.9;max-height:260px}.thp-rich-copy h2{font-size:18px}.thp-rich-post .thp-post-actions button{font-size:11px;min-height:44px}.thp-rich-post .thp-post-actions button>i{font-size:16px}.thp-rich-counts{font-size:11px}}
@media(max-width:360px){.thp-rich-post .thp-post-actions button{flex-direction:column;gap:2px;font-size:10px}}

/* Refined artwork and always-available comment composer. */
.thp-rich-post{position:relative;isolation:isolate;box-shadow:0 8px 24px #0b349012;border-radius:22px;padding:clamp(14px,1.4vw,23px)}
.thp-rich-post .thp-post-head{position:relative;z-index:1;min-height:49px;margin-bottom:13px;padding-right:0;gap:10px}
.thp-rich-post .thp-post-head>div.min-w-0{position:relative;z-index:2;padding-right:clamp(25px,8vw,100px)}
.thp-rich-post .thp-author{font-size:clamp(14px,1.05vw,17px);font-weight:800;color:#0b2052}
.thp-rich-corner{position:absolute;z-index:-1;pointer-events:none;right:calc(-1 * clamp(14px,1.4vw,23px));top:calc(-1 * clamp(14px,1.4vw,23px));width:clamp(110px,34%,260px);height:94px;overflow:hidden;border-radius:0 22px 0 0}
.thp-rich-corner svg{position:absolute;width:100%;height:100%;inset:0}.thp-rich-corner>i{position:absolute;right:52px;top:11px;width:36px;height:36px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;color:#fff;font-size:19px;transform:rotate(-8deg)}
.thp-rich-post .thp-rich-options{z-index:2;background:#fff;color:#0b2052;box-shadow:0 3px 12px #0b349019;border:1px solid #e5edf8;flex:none}
.thp-rich-feature{border-left:4px solid var(--post-accent);background:linear-gradient(120deg,#fff 4%,var(--post-tint) 78%,#e8f5f4);padding:14px 13px;grid-template-columns:minmax(0,1fr) minmax(120px,40%);gap:14px}
.thp-rich-feature:before{right:-9%;top:-54%;width:62%;height:190%;border-width:30px;opacity:.09}
.thp-rich-category{background:linear-gradient(145deg,var(--post-accent),color-mix(in srgb,var(--post-accent),#000 25%));box-shadow:0 3px 8px color-mix(in srgb,var(--post-accent),transparent 80%);font-size:12px;padding:6px 11px}
.thp-rich-copy h2{font-weight:800;line-height:1.25;letter-spacing:-.025em;color:#0b2052}.thp-rich-copy p{color:#34415c;line-height:1.55}.thp-rich-cta{font-weight:700;background:#ffffffc9;transition:background .18s,color .18s}.thp-rich-cta:hover{background:var(--post-accent);color:#fff}
.thp-rich-media{padding:5px;border-radius:32% 19px 22px 19px;background:linear-gradient(140deg,var(--post-accent),#fff 44%,#00a53f);box-shadow:0 6px 16px #0b34901c}.thp-rich-media img{aspect-ratio:1.45}.thp-rich-media span{box-shadow:0 2px 9px #0003}
.thp-rich-counts{font-size:13px}.thp-rich-counts>span:first-child{font-weight:700;color:#102451}
.thp-rich-post .thp-post-actions{gap:7px;border-color:#dce6f2}.thp-rich-post .thp-post-actions button{background:linear-gradient(135deg,#edf5ff,#cfe3ff);color:#0b3490;transition:filter .18s,transform .18s}.thp-rich-post .thp-post-actions button:nth-child(2){background:linear-gradient(135deg,#e2fbf7,#bceee5);color:#006c64}.thp-rich-post .thp-post-actions button:nth-child(3){background:linear-gradient(135deg,#edfbe9,#ceefc9);color:#08752d}.thp-rich-post .thp-post-actions button:nth-child(4){background:linear-gradient(135deg,#fff2f3,#f7d0d4);color:#910c00}.thp-rich-post .thp-post-actions button:hover{filter:saturate(1.3);transform:translateY(-1px)}.thp-rich-post .thp-post-actions button[aria-pressed=true]{background:#0b3490;color:#fff}
.thp-rich-comments-heading{font-size:14px}.thp-rich-comment .thp-rich-bubble{background:linear-gradient(120deg,#eef6ff,#e0effa);padding:9px 12px}.thp-rich-comment:nth-of-type(odd) .thp-rich-bubble{background:linear-gradient(120deg,#f7f1ff,#eae4fa)}.thp-rich-bubble p{font-size:13px;color:#23324d}.thp-rich-comment-actions button:last-child:before{content:'↶';margin-right:5px}.thp-rich-all-comments{background:linear-gradient(115deg,#e4edff,#e5f2fb 52%,#d1f5e3);color:#0b3490;padding:10px;font-size:13px}
.thp-rich-post .thp-comment-box{border-top:1px solid #e0e8f3;padding-top:11px;margin-top:10px}.thp-rich-post .thp-comment-box form{display:flex;align-items:center;gap:7px}.thp-comment-initials{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#0b3490,#008a67);color:#fff;font-size:12px;font-weight:700}.thp-rich-post .thp-comment-box input{min-width:0;flex:1;height:41px;border:1px solid #c8d8ed;border-radius:999px;background:#f6f9fd;padding:8px 13px;font-size:13px;color:#102451}.thp-rich-post .thp-comment-box input:focus{outline:2px solid #00a53f;outline-offset:1px}.thp-rich-post .thp-comment-box .thp-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:41px;border-radius:11px;padding:8px 13px;background:linear-gradient(135deg,#0b3490,#1456bc);color:#fff;font-size:12px;font-weight:700;flex:none}.thp-rich-post .thp-comments p{background:#eaf4ff;color:#102451}
@media(max-width:900px){.thp-rich-post{border-radius:17px;padding:13px}.thp-rich-feature{grid-template-columns:1fr;padding:11px;gap:10px}.thp-rich-media{border-radius:14px}.thp-rich-media img{aspect-ratio:1.85}.thp-rich-corner{right:-13px;top:-13px;height:76px;width:120px}.thp-rich-corner>i{display:none}.thp-rich-post .thp-post-head>div.min-w-0{padding-right:0}.thp-rich-post .thp-author{font-size:14px}.thp-rich-copy h2{font-size:18px}.thp-rich-post .thp-post-actions button{min-height:44px}.thp-rich-post .thp-comment-box .thp-button{min-height:44px}}
@media(max-width:420px){.thp-rich-post .thp-comment-box .thp-button span{display:none}.thp-rich-post .thp-comment-box .thp-button{width:44px;padding:0;font-size:17px}.thp-rich-post .thp-comment-box input{font-size:12px}.thp-rich-post .thp-post-actions button{gap:3px}}

/* Post options, presence and threaded comments. */
.thp-post-avatar{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center}.thp-post-presence{position:absolute;bottom:0;right:-1px;width:12px;height:12px;border:2px solid white;border-radius:50%;background:#94a3b8;box-shadow:0 1px 3px #10245133}.thp-post-presence[data-state=online]{background:#00a53f}.thp-post-presence[data-state=away]{background:#e9a009}.thp-post-presence[data-state=offline]{background:#64748b}.thp-post-verified{color:#1264e8;font-size:.9em;vertical-align:baseline;margin-left:2px}.thp-post-menu-wrap{position:relative;z-index:5;flex:none}.thp-post-menu{position:absolute;right:0;top:calc(100% + 7px);width:205px;max-width:70vw;background:#fff;border:1px solid #dce6f2;border-radius:14px;padding:6px;box-shadow:0 12px 30px #10245126;z-index:20}.thp-post-menu[hidden]{display:none!important}.thp-post-menu button{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:10px;border-radius:9px;font-size:13px;font-weight:600;color:#102451}.thp-post-menu button i{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#eaf2ff;color:#0b3490}.thp-post-menu button:hover,.thp-post-menu button:focus-visible{background:#edf7f4}.thp-post-menu button[data-post-action=report]{color:#910c00}.thp-post-menu button[data-post-action=report] i{background:#fcebec;color:#910c00}.thp-post-menu button[data-post-action=follow] i{background:#e5f7eb;color:#00833f}.thp-comment-thread{min-width:0}.thp-comment-thread:nth-child(even)>.thp-rich-comment>.thp-rich-bubble{background:linear-gradient(120deg,#f7f1ff,#eae4fa)}.thp-thread-replies:not(:empty){margin-left:20px;padding-left:12px;border-left:2px solid #cbdedc;margin-bottom:9px}.thp-thread-replies .thp-thread-replies{margin-left:0;padding-left:8px}.thp-inline-reply{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:7px 0 12px 40px;padding:8px;border:1px solid #dce6f2;background:#f5faf8;border-radius:12px}.thp-inline-reply input{flex:1;min-width:100px;padding:9px 12px;border:1px solid #cbd9ed;border-radius:999px;background:#fff;font-size:13px;color:#102451}.thp-inline-reply button{padding:8px 12px;font-size:12px;font-weight:700;border-radius:8px}.thp-reply-send{background:linear-gradient(135deg,#0b3490,#008a49);color:#fff}.thp-reply-cancel{background:#e7edf5;color:#0b3490}.thp-rich-comment-actions button:last-child:before{content:'\21b6'}.thp-rich-comment .thp-comment-initials{flex-basis:32px;height:32px}.thp-rich-comment .thp-rich-bubble p{white-space:pre-wrap}.thp-rich-post .thp-post-head{z-index:3}.thp-rich-post .thp-rich-options{position:relative}.thp-rich-post .thp-rich-corner>i{right:67px}@media(max-width:420px){.thp-thread-replies:not(:empty){margin-left:8px;padding-left:7px}.thp-inline-reply{margin-left:12px}.thp-post-menu button{min-height:44px}}

/* Category action, editorial polls and playable video posts. */
.thp-rich-post .thp-rich-cta{display:inline-flex;align-items:center;gap:10px;min-height:40px;border:1px solid color-mix(in srgb,var(--post-accent),#fff 65%);background:linear-gradient(135deg,var(--post-accent),color-mix(in srgb,var(--post-accent),#0b3490 28%));color:#fff;border-radius:11px;padding:7px 9px 7px 14px;font-size:13px;font-weight:750;box-shadow:0 4px 10px color-mix(in srgb,var(--post-accent),transparent 80%);transition:transform .18s,box-shadow .18s}.thp-rich-post .thp-rich-cta i{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#ffffff29;color:#fff}.thp-rich-post .thp-rich-cta:hover{transform:translateY(-1px);box-shadow:0 6px 14px color-mix(in srgb,var(--post-accent),transparent 65%)}.thp-rich-post .thp-rich-cta:focus-visible,.thp-poll-vote:focus-visible{outline:2px solid #0b3490;outline-offset:3px}.thp-rich-feature.thp-feature-full{grid-template-columns:minmax(0,1fr)}.thp-community-poll{padding:15px;background:#fff;border:1px solid #e0d6f7;border-radius:15px;box-shadow:0 4px 14px #6842bd0c;min-width:0}.thp-poll-heading,.thp-poll-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.thp-poll-heading{color:#532a9d;font-size:14px;font-weight:750;margin-bottom:12px}.thp-poll-official{color:#08763b;background:#e6f7eb;padding:5px 8px;border-radius:999px;font-size:11px}.thp-community-poll legend{font-size:12px;color:#53647c;margin-bottom:8px}.thp-poll-option{position:relative;isolation:isolate;display:flex;align-items:center;gap:10px;padding:11px 12px;min-height:45px;border:1px solid #dcd5ef;background:#f8f5ff;border-radius:10px;margin-bottom:8px;overflow:hidden;cursor:pointer;color:#203151;font-size:13px}.thp-poll-option:focus-within{outline:2px solid #6842bd;outline-offset:2px}.thp-poll-option:has(input:checked){border-color:#6842bd;background:#f0eaff}.thp-poll-option input{accent-color:#6842bd;width:17px;height:17px;flex:none}.thp-poll-label{flex:1;min-width:0;overflow-wrap:anywhere}.thp-poll-fill{position:absolute;z-index:-1;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,#cfc1fa,#d2f4e5);transition:width .35s}.thp-poll-option strong{color:#44218a;font-size:13px}.thp-poll-footer{margin-top:12px;color:#526179;font-size:12px}.thp-poll-vote{background:linear-gradient(135deg,#6842bd,#0b3490);color:#fff;border-radius:10px;padding:10px 18px;font-weight:700;min-height:44px}.thp-poll-vote:disabled{background:#e1f4e8;color:#08763b;cursor:default}.thp-poll-status{font-size:12px;color:#08763b;margin-top:8px}.thp-poll-status:empty{display:none}.thp-post-video{margin:0;overflow:hidden;background:#102451;border-radius:14px;border:1px solid #ceddec}.thp-post-video video{display:block;width:100%;aspect-ratio:16/9;background:#081e50;object-fit:contain;max-height:440px}.thp-post-video figcaption{padding:9px 12px;color:#edf5ff;font-size:12px}.thp-post-video figcaption i{margin-right:5px}@media(max-width:480px){.thp-community-poll{padding:10px}.thp-poll-option{padding:10px 8px;font-size:12px}.thp-poll-vote{padding:9px 14px}.thp-rich-post .thp-rich-cta{min-height:44px}}@media(prefers-reduced-motion:reduce){.thp-poll-fill,.thp-rich-post .thp-rich-cta{transition:none}}
