.community{--ink:#20203b;--muted:#707080;--c-primary:var(--tg-theme-primary,#560ce3);--c-primary-hover:#4108b1;--sand:#eeeafa;--line:#e8e4f1;--paper:#fff;--bg:var(--tg-grey-5,#f8f8f8);--gold:#ff9901;--radius:20px;--shadow:0 5px 22px #2016470d}
.community *{box-sizing:border-box}
.community{margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.55 var(--tg-ff-body,"Poppins",sans-serif)}
.community a{color:inherit;text-decoration:none}
.community button,.community input,.community textarea,.community select{font:inherit}
.community button,.community a,.community input,.community textarea,.community select,.community summary{-webkit-tap-highlight-color:transparent}
.community button,.community summary{cursor:pointer}
.community button{color:inherit}
.community a:hover{color:var(--c-primary)}
.community :focus-visible{outline:3px solid #ddac50;outline-offset:4px}
.community img,.community video{max-width:100%}
.community [hidden]{display:none!important}
.community h1,.community h2,.community h3,.community p{margin-top:0}
.community h1{font-size:clamp(25px,3vw,34px);line-height:1.17;letter-spacing:-1.1px;margin-bottom:10px}
.community h2{font-size:20px;line-height:1.3}
.community p{margin-bottom:16px}
.community .c-icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}
.community .c-sr,.community .c-skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.community .c-skip:focus{position:fixed;z-index:100;background:#fff;padding:14px}
.community .c-header{height:86px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}
.community .c-header-inner{max-width:1440px;height:100%;margin:auto;display:flex;align-items:center;gap:50px;padding:0 32px}
.community .c-brand{font-size:25px;font-weight:850;letter-spacing:-1.3px;line-height:1.05;white-space:nowrap}
.community .c-brand>span{color:var(--c-primary)}
.community .c-brand small{display:block;font-size:9px;letter-spacing:3px;font-weight:650;color:var(--muted);margin-top:6px}
.community .c-toplinks{display:flex;gap:26px;font-size:14px;font-weight:600}
.community .c-header-actions{margin-left:auto;display:flex;align-items:center;gap:22px}
.community .c-top-icon{position:relative;padding:10px;border-radius:50%;background:var(--bg)}
.community .c-self{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:650}
.community .c-self .c-avatar{width:36px;height:36px}
.community .c-count{background:#e69664;color:#fff;padding:1px 6px;border-radius:20px;font-size:10px;font-weight:700;min-width:17px;text-align:center}
.community .c-top-icon .c-count{position:absolute;top:-1px;right:-5px}
.community .c-shell{max-width:1440px;display:grid;grid-template-columns:224px minmax(0,720px) 260px;gap:30px;margin:0 auto;padding:34px 32px 80px}
.community .c-sidebar{position:sticky;top:120px;align-self:start}
.community .c-eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:var(--c-primary);margin:0 0 16px}
.community .c-sidebar>.c-eyebrow{padding-left:16px;color:#868293;font-size:9px}
.community .c-side-nav{display:flex;flex-direction:column;gap:7px}
.community .c-side-nav>a{display:flex;align-items:center;gap:14px;font-weight:650;padding:15px 16px;border-radius:12px;color:#686879}
.community .c-side-nav>a:hover,.community .c-side-nav>a.is-active{background:#efebfb;color:var(--c-primary-hover)}
.community .c-side-nav>a.is-active{box-shadow:inset 3px 0 var(--c-primary)}
.community .c-side-nav .c-count{margin-left:auto}
.community .c-side-bottom{margin:52px 16px 0;border-top:1px solid var(--line);padding-top:26px;font-size:12px;color:var(--muted)}
.community .c-side-bottom>strong{display:block;font-size:13px;color:var(--ink);margin:12px 0 8px}
.community .c-small-logo{font-size:28px;color:#c69b52}
.community .c-main{min-width:0}
.community .c-heading{display:flex;align-items:center;justify-content:space-between;margin:9px 0 25px;gap:15px}
.community .c-heading .c-eyebrow{margin-bottom:12px}
.community .c-heading p:not(.c-eyebrow){font-size:14px;color:var(--muted);margin-bottom:0}
.community .c-heading-sun{font-size:45px;color:#d3ad6e}
.community .c-panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:20px;overflow-wrap:anywhere}
.community .c-section{padding:24px}
.community .c-section-title{margin:28px 0 18px}
.community .c-avatar{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#eee9fb;color:#560ce3;border-radius:50%;font-weight:750;overflow:hidden}
.community .c-avatar img{width:100%;height:100%;object-fit:cover}
.community .c-composer{padding:23px}
.community .c-composer-top{display:flex;gap:14px}
.community .c-grow{flex:1;min-width:0}
.community .c-composer textarea{border:0;background:transparent;padding:7px 0;resize:vertical;min-height:75px;box-shadow:none}
.community .c-composer textarea:focus{outline:0}
.community .c-composer:focus-within{border-color:#a691ed}
.community .c-composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:15px;margin-top:12px}
.community .c-composer-bottom .c-muted{font-size:11px;max-width:260px;display:flex;gap:8px;align-items:center}
.community .c-composer-bottom .c-icon{width:18px}
.community .c-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--c-primary);border-radius:11px;background:var(--c-primary);color:#fff;padding:11px 18px;font-size:13px;font-weight:700;white-space:nowrap;text-align:center;transition:background .15s}
.community .c-btn:hover{background:var(--c-primary-hover);color:#fff}
.community .c-btn:disabled{opacity:.6;cursor:wait}
.community .c-btn-outline{background:#fff;color:var(--c-primary);border-color:#d7ccef}
.community .c-btn-outline:hover{background:#f2eefc;color:var(--c-primary-hover)}
.community .c-btn-danger{background:#a63e3e;border-color:#a63e3e}
.community .c-btn-small{padding:7px 12px}
.community .c-btn .c-icon{width:17px;height:17px}
.community .c-muted{color:var(--muted)}
.community .c-youtube-field{font-size:12px;margin:5px 0 0 58px}
.community .c-youtube-field>summary{color:var(--muted)}
.community label{display:block;font-weight:600;font-size:13px;margin-bottom:16px}
.community input:not([type=hidden]),.community textarea,.community select{display:block;width:100%;padding:12px 13px;border:1px solid #dfd9eb;border-radius:10px;background:#fcfbff;color:var(--ink);margin-top:7px;font-weight:400;min-width:0}
.community textarea{resize:vertical}
.community .c-feed-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:28px 0 22px;font-size:13px;font-weight:650}
.community .c-feed-tabs>a{padding-bottom:12px;color:var(--muted)}
.community .c-feed-tabs>a.active{color:var(--c-primary);border-bottom:2px solid var(--c-primary)}
.community .c-post{padding:23px 0 0;overflow:visible}
.community .c-post-header{padding:0 23px;display:flex;gap:12px;align-items:flex-start}
.community .c-author{display:flex;align-items:center;gap:12px;min-width:0}
.community .c-author strong{font-size:14px}
.community .c-author small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.community .c-post-menu{margin-left:auto;position:relative}
.community .c-post-menu>summary{list-style:none;color:#938c9f;letter-spacing:2px;padding:0 0 10px 10px}
.community .c-post-menu>div{position:absolute;z-index:10;right:0;min-width:180px;background:#fff;padding:10px;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.community .c-post-menu a,.community .c-post-menu button{display:block;background:none;border:0;font-size:13px;padding:8px;width:100%;text-align:left}
.community .c-post-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.75;padding:0 23px;margin:18px 0}
.community .c-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;background:#f0edf7;overflow:hidden;margin-bottom:15px}
.community .c-media-grid>:only-child{grid-column:1/-1}
.community .c-media-grid img{display:block;width:100%;height:260px;object-fit:cover;transition:filter .15s}
.community .c-media-grid a:only-child img{height:auto;max-height:620px;object-fit:contain}
.community .c-media-grid a:hover img{filter:brightness(.94)}
.community .c-media-grid video{width:100%;height:auto;max-height:500px;background:#201837}
.community .c-post-stats{display:flex;justify-content:space-between;margin:0 23px;padding:9px 0 15px;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line)}
.community .c-post-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 17px}
.community .c-post-actions>a,.community .c-action{font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 5px;color:#736f81;white-space:nowrap}
.community .c-action{background:transparent;border:0}
.community .c-post-actions .c-icon{width:16px;height:16px}
.community .c-post-actions form[data-reaction]{display:flex;align-items:center}
.community .c-post-actions select{width:40px;max-width:50px;border:0;font-size:16px;margin:0;padding:5px;background:transparent}
.community .c-post-actions .is-reacted{color:var(--c-primary)}
.community .c-shared{border:1px solid var(--line);border-radius:12px;margin:14px 23px;overflow:hidden}
.community .c-shared>.c-link{display:block;padding:15px 15px 0}
.community .c-shared>.c-post-body{padding:0 15px}
.community .c-link{font-size:13px;font-weight:700;color:var(--c-primary);display:inline-flex;gap:7px;align-items:center}
.community .c-youtube{margin:18px 23px;padding:28px;text-align:center;background:#f6f4fb;border-radius:13px}
.community .c-youtube>span{font-weight:700}
.community .c-youtube p{font-size:12px;color:var(--muted);margin:8px 0 15px}
.community .c-youtube iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
.community .c-empty{text-align:center;padding:48px 25px;border:1px dashed #d9d1e9;border-radius:18px;color:var(--muted);margin-bottom:22px}
.community .c-empty>span{color:#ad8be8;font-size:35px}
.community .c-empty h2{color:var(--ink);margin:12px 0}
.community .c-empty p{font-size:13px;margin-bottom:0}
.community .c-load-row{text-align:center;margin:24px 0}
.community .c-right{align-self:start}
.community .c-welcome-art{height:175px;background:#ede5fc;position:relative;border-radius:20px 20px 0 0;overflow:hidden;padding:23px;color:#4a3676}
.community .c-welcome-art>span{position:relative;font-size:9px;font-weight:750;letter-spacing:1.4px;line-height:1.6}
.community .c-sun{position:absolute;width:62px;height:62px;border-radius:50%;background:#ffba5a;right:34px;top:26px}
.community .c-pyramid{position:absolute;bottom:0;right:-20px;width:230px;height:120px;background:#a68cda;clip-path:polygon(50% 0,100% 100%,0 100%)}
.community .c-pyramid:after{content:"";position:absolute;inset:0;background:#cbb6ee;clip-path:polygon(50% 0,65% 100%,0 100%)}
.community .c-welcome{border-top:0;border-radius:0 0 20px 20px;padding:25px 22px}
.community .c-welcome .c-eyebrow{font-size:9px}
.community .c-welcome h2{font-size:27px;letter-spacing:-.8px}
.community .c-welcome>p:not(.c-eyebrow){color:var(--muted);font-size:12px}
.community .c-welcome .c-link{font-size:11px}
.community .c-welcome .c-icon{width:17px}
.community .c-guidelines{padding:10px 20px;font-size:11px;color:var(--muted)}
.community .c-guidelines strong{font-size:12px;color:var(--ink)}
.community .c-guidelines p{margin-top:9px}
.community .c-guidelines small{font-size:10px}
.community .c-notice,.community .c-errors{padding:15px 18px;background:#efeafb;border:1px solid #d4c6f0;border-radius:12px;margin-bottom:20px;font-size:13px}
.community .c-errors{background:#fff0ed;color:#8d3633;border-color:#f2d3cc}
.community .c-notice a{text-decoration:underline}
.community .c-notice p:last-child{margin-bottom:0}
.community .c-back{display:inline-block;font-size:13px;color:var(--muted);margin:0 0 22px}
.community .c-comment{display:flex;gap:10px;margin-bottom:20px;align-items:flex-start}
.community .c-comment .c-avatar{width:34px;height:34px;font-size:13px}
.community .c-comment-bubble{background:#f4f1fb;padding:12px 15px;border-radius:0 15px 15px;font-size:13px}
.community .c-comment-bubble strong{font-size:12px}
.community .c-comment-bubble>small{display:block;font-size:10px;color:var(--muted)}
.community .c-comment-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}
.community .c-comment-meta{display:flex;gap:13px;flex-wrap:wrap;align-items:center;font-size:10px;color:var(--muted);padding:6px 3px}
.community .c-comment-meta details form{padding:12px;background:#fff;border:1px solid var(--line);width:min(280px,65vw)}
.community .c-reply{margin-left:35px}
.community .c-text-btn{background:none;border:0;padding:0;color:var(--c-primary);font-size:inherit;cursor:pointer}
.community .c-profile{overflow:hidden}
.community .c-cover{height:190px;background:#d9cdf3}
.community .c-cover img{width:100%;height:100%;object-fit:cover}
.community .c-cover-art{height:100%;background:radial-gradient(circle at 75% 35%,#ffba5a 0 30px,transparent 31px),linear-gradient(150deg,transparent 55%,#b1a2e1 56% 75%,#d7c8ef 76%),#eee7fa}
.community .c-profile-content{padding:0 27px 28px}
.community .c-profile-content>.c-avatar{width:84px;height:84px;border:5px solid #fff;font-size:27px;margin-top:-42px;position:relative}
.community .c-profile-content h1{margin:8px 0 12px}
.community .c-bio{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#747082}
.community .c-profile-counts{display:flex;gap:20px;font-size:12px;margin:18px 0}
.community .c-button-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.community .c-toolbar{display:flex;gap:15px;margin:20px 0;flex-wrap:wrap}
.community .c-search{display:flex;flex:1;min-width:160px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.community .c-search input{border:0;background:none;margin:0;box-shadow:none}
.community .c-search button{border:0;background:none;padding:10px}
.community .c-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.community .c-group-card{margin-bottom:0;overflow:hidden}
.community .c-group-card h2{margin:12px 0;font-size:19px}
.community .c-group-card p{font-size:12px;color:var(--muted)}
.community .c-group-card small{display:block;margin-bottom:15px;color:var(--muted)}
.community .c-group-art{height:100px;background:linear-gradient(130deg,#e4dcf7,#f1eafa);display:grid;place-items:center}
.community .c-group-art .c-icon{width:40px;height:40px;color:#8667bd}
.community .c-tag{display:inline-flex;font-size:10px;padding:4px 10px;border-radius:20px;background:#efe9fb;color:var(--c-primary-hover)}
.community .c-person-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}
.community .c-person-row:last-child{border:0}
.community .c-person-row>span:has(strong){flex:1}
.community .c-person-row small{display:block;color:var(--muted);font-size:12px;margin-top:3px;overflow-wrap:anywhere}
.community .c-person-row form{display:flex;gap:12px}
.community .c-unread{background:#f3effc;border-radius:9px;padding-left:12px;padding-right:12px}
.community .c-chat{display:flex;flex-direction:column;gap:14px;margin:30px 0;max-height:65vh;overflow:auto}
.community .c-message{max-width:85%;align-self:flex-start;background:#f1eef8;border-radius:14px 14px 14px 2px;padding:12px 16px;min-width:95px}
.community .c-message-mine{align-self:flex-end;background:#e8dffc;border-radius:14px 14px 2px 14px}
.community .c-message p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 5px}
.community .c-message time{font-size:9px;color:var(--muted);display:block;text-align:right}
.community .c-notification{display:flex;align-items:flex-start;width:100%;gap:13px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:17px 10px;font-size:13px}
.community .c-notification.c-unread{background:#f3effc}
.community .c-notification small{display:block;font-size:10px;color:var(--muted);margin-top:6px}
.community .c-notice-icon{color:var(--c-primary)}
.community .c-pagination{display:flex;gap:18px;justify-content:center;align-items:center;font-size:12px;margin:24px 0}
.community .c-pagination a{padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}
.community .c-upload{margin-top:20px;border-top:1px solid var(--line);padding-top:20px}
.community .c-upload input{background:#fff;font-size:12px}
.community .c-upload progress{display:block;width:100%;margin:16px 0;accent-color:var(--c-primary)}
.community .c-upload [data-upload-status]{display:block;font-size:12px;margin-top:10px}
.community .c-lightbox{border:0;background:#17112cf5;max-width:100vw;width:100vw;max-height:100dvh;height:100dvh;padding:55px;color:#fff}
.community .c-lightbox::backdrop{background:#17112cf5}
.community .c-lightbox img{display:block;max-width:100%;max-height:calc(100dvh - 140px);width:auto;height:auto;object-fit:contain;margin:auto}
.community .c-lightbox button{position:absolute;border:0;background:#ffffff20;color:#fff;border-radius:50%;width:42px;height:42px;font-size:25px}
.community .c-lightbox [data-gallery-close]{right:18px;top:14px}
.community .c-lightbox [data-gallery-prev]{left:8px;top:48%}
.community .c-lightbox [data-gallery-next]{right:8px;top:48%}
.community .c-lightbox [data-gallery-position]{display:block;text-align:center;margin-top:15px;font-size:12px}
.community .c-mobile-nav{display:none}
.community .c-join{padding:26px}
.community .c-join h2{font-size:23px}
.community .c-join p{color:var(--muted);font-size:13px}
@media(min-width:1500px){.community .c-shell{gap:34px}}
@media(max-width:1230px){.community .c-shell{grid-template-columns:190px minmax(0,1fr) 220px;gap:22px;padding-inline:24px}
.community .c-header-inner{padding-inline:24px;gap:35px}
.community .c-side-nav>a{padding-inline:12px;gap:10px}
.community .c-welcome{padding:22px 18px}
.community .c-welcome .c-link{font-size:10px}
.community .c-post-actions{padding-inline:12px}
.community .c-post-actions>a,.community .c-action{font-size:11px}
.community .c-heading-sun{display:none}}
@media(max-width:1060px){.community .c-shell{grid-template-columns:190px minmax(0,710px);max-width:980px;gap:28px}
.community .c-right{display:none}
.community .c-header-inner{max-width:980px}
.community .c-toplinks{gap:18px}
.community .c-self>span:not(.c-avatar){display:none}
.community .c-composer-bottom .c-muted{max-width:300px}
.community .c-heading h1{font-size:31px}}
@media(max-width:720px){.community .c-header{height:68px}
.community .c-header-inner{padding:0 18px;gap:14px}
.community .c-brand{font-size:21px}
.community .c-brand small{font-size:8px;letter-spacing:2.2px}
.community .c-toplinks{display:none}
.community .c-header-actions{gap:14px}
.community .c-self .c-avatar{width:34px;height:34px}
.community .c-shell{display:block;padding:24px 14px 100px}
.community .c-sidebar{display:none}
.community .c-heading{margin:0 5px 23px}
.community .c-heading h1{font-size:27px}
.community .c-heading p:not(.c-eyebrow){font-size:12px}
.community .c-heading .c-eyebrow{font-size:9px}
.community .c-panel{border-radius:16px}
.community .c-composer{padding:18px}
.community .c-composer-top{gap:10px}
.community .c-composer-top .c-avatar{width:35px;height:35px}
.community .c-composer textarea{font-size:13px}
.community .c-composer-bottom .c-muted{font-size:10px;max-width:165px}
.community .c-composer-bottom .c-muted .c-icon{display:none}
.community .c-youtube-field{margin-left:45px}
.community .c-btn{padding:10px 14px;font-size:12px}
.community .c-feed-tabs{gap:22px;margin-top:25px}
.community .c-post-header{padding-inline:18px}
.community .c-post-body{padding-inline:18px;font-size:14px}
.community .c-post{padding-top:18px}
.community .c-post-stats{margin-inline:18px}
.community .c-post-actions{padding:8px 10px;gap:3px}
.community .c-post-actions>a,.community .c-action{font-size:10px;gap:4px;padding-inline:3px}
.community .c-post-actions .c-icon{width:14px;height:14px}
.community .c-post-actions select{width:33px;padding-left:0;font-size:14px}
.community .c-media-grid img{height:190px}
.community .c-section{padding:20px}
.community .c-author .c-avatar{width:38px;height:38px}
.community .c-author strong{font-size:13px}
.community .c-author small{font-size:10px}
.community .c-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:35;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid var(--line);justify-content:space-around;padding:10px 5px calc(10px + env(safe-area-inset-bottom))}
.community .c-mobile-nav>a{display:flex;align-items:center;flex-direction:column;gap:4px;color:#6c558f;font-size:9px;font-weight:650}
.community .c-mobile-nav .c-icon{width:22px;height:22px}
.community .c-profile-content{padding-inline:20px}
.community .c-cover{height:150px}
.community .c-group-grid{gap:12px}
.community .c-group-card .c-section{padding:16px}
.community .c-group-card h2{font-size:17px}
.community .c-group-card p{font-size:11px}
.community .c-person-row{font-size:13px;gap:10px}
.community .c-person-row form{gap:8px}
.community .c-reply{margin-left:20px}
.community .c-lightbox{padding-inline:40px}
.community .c-youtube{margin-inline:15px;padding:18px}
.community .c-profile-counts{gap:15px}
.community .c-notification{font-size:12px}
.community .c-back{margin-left:5px}}
@media(prefers-reduced-motion:reduce){.community *,.community *:before,.community *:after{transition:none!important;scroll-behavior:auto!important}}


/* Shared portal chrome remains outside the scoped community content. */
.community .c-community-toolbar{max-width:1440px;margin:auto;padding:18px 32px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.community .c-community-toolbar>span{font-family:var(--tg-ff-outfit);font-weight:600;font-size:20px;color:var(--c-primary)}
.community .c-community-actions{display:flex;align-items:center;gap:18px}
.community .c-community-toolbar~.c-shell{padding-top:24px}
.community .c-sidebar{top:140px}
.community .c-btn{line-height:1.5}
.community .c-post-menu>summary{line-height:1.5}
.community .c-composer textarea{height:auto}
.community .c-main .c-icon{display:inline-block}
.community .c-post-header .c-author small a{color:inherit}
@media(max-width:720px){.community .c-community-toolbar{padding:16px 18px 0}.community .c-community-toolbar~.c-shell{padding-top:18px}body.community-page{padding-bottom:74px}.community .c-mobile-nav{background:#fffffff5}}

.community .c-tiktok{margin:16px 0;padding:20px;border:1px solid var(--line);border-radius:12px;background:#f6f3fc;white-space:normal}
.community .c-tiktok strong{display:block;font-size:16px;margin-bottom:8px}
.community .c-tiktok p{font-size:12px;line-height:1.6;margin:0 0 14px}
.community .c-tiktok .c-link{display:block;margin-top:12px;font-size:13px;overflow-wrap:anywhere}
.community .c-tiktok iframe{display:block;width:min(100%,360px);aspect-ratio:9/16;border:0;border-radius:10px;margin:12px auto;background:#111}
.community .c-message .c-tiktok{padding:12px;margin:10px 0;max-width:340px}
.community .c-tiktok-link{color:var(--c-primary);text-decoration:underline;overflow-wrap:anywhere}

.community .c-video-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 0 58px;align-items:start}
.community .c-video-options>.c-youtube-field{margin:0;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#faf9fd}
.community .c-video-options>.c-youtube-field>summary{cursor:pointer;font-weight:600;line-height:1.5;color:var(--ink)}
.community .c-video-options input{min-width:0;width:100%}
.community .c-video-options.c-video-edit{margin:16px 0 20px}
.community .c-video-options.c-video-edit>label{margin:0;min-width:0}
@media(max-width:720px){.community .c-video-options{margin-left:0}}
@media(max-width:480px){.community .c-video-options{grid-template-columns:minmax(0,1fr)}}

.community .c-composer-top{display:block}
.community .c-composer-top>.c-avatar{display:none}
.community .c-editor-label{display:flex;justify-content:space-between;gap:12px;align-items:center;font-weight:700;margin-bottom:14px}
.community .c-editor-label span{font-size:11px;font-weight:400;color:var(--muted)}
.community .c-editor-field{display:block;width:100%}
.community .c-editor-feedback{font-size:11px;color:var(--muted);text-align:right;margin:8px 0 14px}
.community .c-editor-feedback.is-error{color:#a52828}
.community .tox-tinymce{width:100%!important;border:1px solid var(--line);border-radius:12px}
.community .tox .tox-statusbar{border-top:1px solid var(--line)}
.community .c-composer>.c-video-options{margin-left:0}
.community .c-rich-content.is-rich{white-space:normal}
.community .c-rich-content.is-plain{white-space:pre-wrap}
.community .c-rich-content p{margin:0 0 12px;line-height:1.7}
.community .c-rich-content p:last-child{margin-bottom:0}
.community .c-rich-content h2{font-size:24px;margin:18px 0 12px}
.community .c-rich-content h3{font-size:20px;margin:16px 0 10px}
.community .c-rich-content ul,.community .c-rich-content ol{padding-left:26px;margin:12px 0;list-style:revert}
.community .c-rich-content blockquote{border-left:3px solid #9671ee;margin:16px 0;padding:8px 16px;background:#f7f3ff}
.community .c-rich-content pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f1f9;border-radius:8px;padding:14px}
.community .c-rich-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:12px 0}
.community .c-rich-content td,.community .c-rich-content th{border:1px solid var(--line);padding:8px;min-width:50px}
.community .c-rich-content a{color:var(--c-primary);text-decoration:underline}
body.tox-fullscreen .tox.tox-tinymce{z-index:100000!important}
@media(max-width:480px){.community .c-editor-label{display:block}.community .c-editor-label span{display:block;margin-top:4px}}

/* The editor is part of the post composer; retain all editing controls. */
.community .tox.tox-tinymce{border:0!important;border-radius:0;box-shadow:none}
.community .tox:not(.tox-tinymce-inline) .tox-editor-header{box-shadow:none;border:0;border-bottom:1px solid var(--line);padding:0 0 10px;background:transparent}
.community .tox .tox-menubar,.community .tox .tox-toolbar-overlord,.community .tox .tox-toolbar__primary,.community .tox .tox-toolbar{background:transparent}
.community .tox .tox-menubar{padding:0}
.community .tox .tox-toolbar__group{padding-left:0;padding-right:8px}
.community .tox .tox-mbtn,.community .tox .tox-tbtn{border-radius:7px;color:var(--ink)}
.community .tox .tox-mbtn:hover,.community .tox .tox-tbtn:hover,.community .tox .tox-tbtn--enabled{background:#efe8ff;color:var(--c-primary)}
.community .tox .tox-tbtn--enabled svg{fill:var(--c-primary)}
.community .tox .tox-edit-area::before{border:0!important}
.community .c-editor-feedback{padding-top:8px;border-top:1px solid var(--line)}
body.tox-fullscreen .community .tox.tox-tinymce{background:#fff}

.community .c-tiktok.c-inline-video{padding:0;background:transparent;border:0}
.community .c-tiktok.c-inline-video iframe{height:auto;margin:0 auto;max-width:100%}
.community .c-tiktok.c-inline-video>.c-link{font-size:12px;text-align:center}
.community .c-youtube.c-inline-video{margin:16px 0;padding:0;background:#000;border-radius:12px;overflow:hidden}
.community .c-youtube.c-inline-video iframe{height:auto;aspect-ratio:16/9}
.community .c-video-external{display:block;background:#f6f3fc;color:var(--c-primary);font-size:12px;line-height:1.5;padding:10px 12px;text-align:center}
.community .c-message .c-tiktok.c-inline-video{max-width:300px}
