/* OroTraining — Comunidade (preto + amarelo). Celular: uma coluna. Desktop (>=1024px): feed + coluna "Em destaque". */
.cm{padding:6px 18px 0;font-family:var(--sans);color:#fff}
.cm *{box-sizing:border-box}
.cm-main{min-width:0}
.cm button{font-family:inherit;color:inherit}
.cic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.cm-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.cm-top h1{margin:0;font-size:29px;line-height:1.1;font-weight:800;letter-spacing:-.02em}
.cm-top p{margin:5px 0 0;font-size:15px;color:#b4b4bb}
.cm-tb{display:flex;gap:10px;margin-top:2px}
.cm-tb button{width:42px;height:40px;border-radius:12px;border:1px solid #34343b;background:#0f0f11;display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;padding:0}
.cm-tb button:last-child{color:var(--y)}
.cm-tb svg{width:21px;height:21px}
.cm-sr{margin-top:12px}.cm-sr[hidden]{display:none}
.cm-sr input{width:100%;height:42px;border-radius:12px;border:1px solid #3a3a40;background:#0f0f11;color:#fff;font:inherit;font-size:15px;padding:0 14px;outline:0}
.cm-sr input:focus{border-color:var(--y)}
.cm-h{display:flex;align-items:center;gap:9px;margin:20px 0 11px;font-size:17px;font-weight:700;letter-spacing:-.01em}
.cm-h::before{content:"";width:4px;height:19px;border-radius:2px;background:var(--y);flex:none}
.cm-top+.cm-sr+.cm-h,.cm-top+.cm-h{margin-top:20px}
/* espaços exclusivos */
.cm-ex{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
.cm-card{position:relative;overflow:hidden;height:116px;border-radius:14px;border:1px solid #34343b;background:#0b0b0c;text-align:left;padding:12px;cursor:pointer;display:flex;flex-direction:column;justify-content:flex-end}
.cm-card img{position:absolute;right:0;top:0;height:100%;width:64%;object-fit:cover;object-position:left center;z-index:0;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%);mask-image:linear-gradient(90deg,transparent 0,#000 38%)}
.cm-card::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(9,9,11,.8) 0,rgba(9,9,11,.15) 62%,rgba(9,9,11,0) 100%);pointer-events:none}
.cm-card>*:not(img){position:relative;z-index:2}
.cm-card b{display:block;font-size:19px;line-height:1.08;font-weight:800;letter-spacing:-.015em}
.cm-card b em{font-style:normal;color:var(--y)}
.cm-card .ico{display:flex;margin-bottom:6px;color:var(--y)}
.cm-card .ico svg{width:30px;height:30px;stroke-width:1.5}
.cm-card .pill{position:absolute!important;top:9px;left:10px;display:inline-flex;align-items:center;gap:5px;height:23px;padding:0 8px;border-radius:7px;border:1px solid rgba(254,194,1,.6);background:rgba(10,10,11,.75);color:var(--y);font-size:10.5px;font-weight:600}
.cm-card .pill svg{width:12px;height:12px;stroke-width:2}
.cm-card.lv .ico{margin-bottom:5px}
/* filtros */
.cm-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -18px;padding:0 18px 2px}
.cm-chips::-webkit-scrollbar{display:none}
.cm-chip{flex:none;height:38px;padding:0 20px;border-radius:19px;border:1px solid #3a3a40;background:#0f0f11;font-size:14.5px;font-weight:500;cursor:pointer;white-space:nowrap}
.cm-chip.on{background:var(--y);border-color:var(--y);color:#0a0a0b;font-weight:700}
/* escrever */
.cm-comp{display:none;align-items:center;gap:10px;margin-top:14px;padding:10px;border:1px solid #26262b;border-radius:16px;background:#0f0f11}
.cm.open .cm-comp{display:flex}
.cm-comp input{flex:1;min-width:0;height:40px;border-radius:999px;border:1px solid #34343b;background:#09090b;color:#fff;font:inherit;font-size:14.5px;padding:0 16px;outline:0}
.cm-comp input:focus{border-color:var(--y)}
.cm-comp button{height:38px;padding:0 18px;border-radius:999px;border:0;background:var(--y);color:#0a0a0b;font-size:14px;font-weight:700;cursor:pointer}
/* publicação */
.cm-feed{margin-top:14px;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.cm-post{border:1px solid #26262b;border-radius:16px;background:#0f0f11;padding:14px 12px 4px}
.cm-ph{display:flex;align-items:center;gap:10px}
.cm-av{flex:none;width:40px;height:40px;border-radius:50%;border:1.5px solid var(--y);background:#0a0a0b;color:var(--y);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;font-style:italic;letter-spacing:-.02em}
.cm-who{flex:1;min-width:0;overflow:hidden}
.cm-who b{display:flex;align-items:center;gap:6px;font-size:15.5px;white-space:nowrap;font-weight:700;line-height:1.15}
.cm-who .nm{min-width:0;overflow:hidden;text-overflow:ellipsis}
.cm-who b .ver{flex:none;width:17px;height:17px;stroke-width:1.9}
.cm-who small{display:block;margin-top:2px;font-size:12.5px;color:#a9a9b0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-fix{display:inline-flex;align-items:center;gap:6px;height:27px;padding:0 9px;border-radius:999px;border:1px solid rgba(254,194,1,.7);color:var(--y);font-size:12.5px;font-weight:500;flex:none}
.cm-fix svg{width:14px;height:14px;stroke-width:1.8}
.cm-mn{flex:none;width:26px;height:30px;border:0;background:none;display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;padding:0}
.cm-mn svg{width:22px;height:22px}
.cm-tx{margin:12px 2px 0;font-size:16px;line-height:1.35}
.cm-ch{position:relative;margin-top:12px;height:158px;border-radius:12px;overflow:hidden;border:1px solid #2a2a2f;background:#0b0b0c url(c/com-desafio.jpg) right center/auto 100% no-repeat}
.cm-ch::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b0b0c 0,#0b0b0c 36%,rgba(11,11,12,.55) 56%,rgba(11,11,12,0) 80%)}
.cm-chin{position:relative;padding:14px 14px;max-width:62%}
.cm-chin i{display:block;font-style:normal;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--y)}
.cm-chin h3{margin:8px 0 0;font-size:30px;line-height:1.02;font-weight:800;font-style:italic;letter-spacing:-.025em}
.cm-chin u{display:block;width:46px;height:3px;background:var(--y);margin:10px 0 8px;text-decoration:none}
.cm-chin em{font-size:14px;color:#d6d6da}
.cm-pl{position:absolute;left:61%;top:50%;margin:-24px 0 0 -24px;width:48px;height:48px;border-radius:50%;border:2px solid rgba(255,255,255,.85);background:rgba(10,10,11,.45);display:flex;align-items:center;justify-content:center;color:#fff}
.cm-pl svg{width:24px;height:24px}
.cm-cta{display:flex;align-items:center;justify-content:space-between;margin-top:10px;height:46px;padding:0 18px;border-radius:11px;background:var(--y);color:#0a0a0b;font-size:17px;font-weight:700}
.cm-cta svg{width:22px;height:22px;stroke-width:2}
.cm-ac{display:flex;align-items:center;gap:20px;margin:11px 0 0;padding:6px 2px;border-top:1px solid #26262b}
.cm-ac button{display:flex;align-items:center;gap:7px;height:40px;border:0;background:none;color:#e8e8ec;font-size:16px;cursor:pointer;padding:0}
.cm-ac svg{width:25px;height:25px;stroke-width:1.6}
.cm-ac button.on{color:var(--y)}.cm-ac button.on svg{fill:var(--y);stroke:var(--y)}
.cm-ac .cm-bm{margin-left:auto}
.cm-empty{border:1px dashed #34343b;border-radius:16px;padding:26px 16px;text-align:center}
.cm-empty b{display:block;font-size:16px}.cm-empty span{display:block;margin-top:5px;font-size:14px;color:#a9a9b0}
.cm-ver{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 12px}
.cm-ver b{font-size:19px}.cm-ver a{color:var(--y);font-size:14px;font-weight:600;white-space:nowrap;text-align:right}
.cm-side{display:none}
@media(max-width:389px){.cm-fix{font-size:0;gap:0;padding:0 8px}}
/* cabeçalho no celular: logo à esquerda, sino e avatar à direita */
@media(max-width:1023px){
  body[data-view="comunidade"] .hdr .castb,body[data-view="comunidade"] .hdr .act a[aria-label="Buscar"]{display:none}
  body[data-view="comunidade"] .hdr.big .logo{left:18px;transform:translateY(-50%);width:128px}
  body[data-view="comunidade"] .hdr .act{gap:12px;margin-left:auto}
  body[data-view="comunidade"] .hdr .act .hbtn{width:30px;height:30px}
  body[data-view="comunidade"] .hdr .act .hbtn svg{width:25px;height:25px}
  body[data-view="comunidade"] .hdr .cav{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;border:2px solid var(--y);background:#0a0a0b center/cover;color:var(--y);font-size:13px;font-weight:800;font-style:italic;border-left-width:2px}
  body[data-view="comunidade"] .hdr .act a[aria-label="Notificações"]{padding-right:12px;border-right:1px solid #2c2c32;margin-right:0}
}
@media(min-width:1024px){
  .hdr .cav{display:none}
  .cm{padding:14px 0 0;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:26px;align-items:start}
  .cm-top{display:none}
  .cm-main .cm-h:first-of-type{margin-top:0}
  .cm-h::before{display:none}
  .cm-card{height:150px;padding:16px 18px}
  .cm-card b{font-size:22px}
  .cm-card .ico svg{width:32px;height:32px}
  .cm-card .pill{top:12px;left:16px;height:25px;font-size:11.5px}
  .cm-card img{width:58%}
  .cm-comp{display:flex}
  .cm-chip{height:36px;font-size:14px;padding:0 18px}
  .cm-chips{margin:0;padding:0}
  .cm-post{padding:16px 16px 6px}
  .cm-ch{height:190px}
  .cm-chin h3{font-size:34px}
  .cm-cta{position:relative;margin:-58px 0 18px 14px;width:178px;height:40px;font-size:15px;z-index:3;justify-content:center;gap:10px}
  .cm-ch{margin-bottom:0}
  .cm-nw{display:none}
  .cm-side{display:block;border-left:1px solid #1d1d21;padding-left:22px;align-self:stretch}
  .cm-side .cm-h:first-child{margin-top:0}
  .cm-sc{border:1px solid #2c2c32;border-radius:14px;background:#0f0f11;padding:16px}
  .cm-sc .big{width:28px;height:28px;color:var(--y);stroke-width:1.6}
  .cm-sc h3{margin:8px 0 0;font-size:20px;line-height:1.15;font-weight:800;letter-spacing:-.015em}
  .cm-sc p{margin:8px 0 0;font-size:14px;line-height:1.4;color:#c9c9d0}
  .cm-sc p.dt{display:flex;align-items:center;gap:8px;margin-top:12px}
  .cm-sc p.dt svg{width:20px;height:20px}
  .cm-sc a{display:flex;align-items:center;gap:8px;margin-top:14px;color:var(--y);font-size:15px;font-weight:600}
  .cm-sc a svg{width:19px;height:19px;stroke-width:2}
  .cm-out{width:100%;height:38px;margin-top:14px;border-radius:999px;border:1px solid #d0d0d5;background:none;font-size:15px;font-weight:600;cursor:pointer}
  .cm-quote{margin:26px 0 0;padding-top:16px;border-top:1px solid #1d1d21;font-size:14px;font-style:italic;color:#c9c9d0}
  .cm-side .cm-h+.cm-sc{margin-bottom:6px}
}


/* servidor: foto, comentários, menu da publicação */
.cm-comp{flex-wrap:wrap}
.cm-comp .cm-av[style]{background-size:cover;background-position:center;color:transparent}
.cm-ph2{flex:none;width:38px;height:38px;border-radius:50%;border:1px solid #34343b;display:flex;align-items:center;justify-content:center;color:var(--y);cursor:pointer}
.cm-ph2 svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cm-comp select{flex:none;height:38px;border-radius:999px;border:1px solid #34343b;background:#09090b;color:#e8e8ec;font:inherit;font-size:13px;padding:0 10px;max-width:130px}
.cm-comp button:disabled{opacity:.6}
.cm-pv{flex:0 0 100%;position:relative;font-size:13px;color:#c9c9d0}
.cm-pv img{display:block;max-height:140px;max-width:100%;border-radius:12px}
.cm-pv button{position:absolute;top:4px;left:4px;width:26px;height:26px;padding:0;border-radius:50%;background:#000a;color:#fff;font-size:18px;line-height:1}
.cm-av[style]{background-size:cover;background-position:center;color:transparent}
.cm-img{display:block;width:100%;max-height:420px;object-fit:cover;border-radius:14px;margin-top:10px;background:#16161a}
.cm-cp{margin-top:8px;padding-top:8px;border-top:1px solid #26262b}
.cm-cl{list-style:none;margin:0 0 8px;padding:0;font-size:14px;color:#d8d8dd}
.cm-cl li{padding:5px 0;line-height:1.35;word-break:break-word}.cm-cl li b{color:#fff;font-weight:600;margin-right:4px}.cm-cl li.em{color:#8d8d96}
.cm-cl li button{border:0;background:none;color:#8d8d96;font-size:17px;cursor:pointer;padding:0 4px}
.cm-cf{display:flex;gap:8px}.cm-cf input{flex:1;min-width:0;height:38px;border-radius:999px;border:1px solid #34343b;background:#09090b;color:#fff;font:inherit;font-size:14px;padding:0 14px;outline:0}
.cm-cf input:focus{border-color:var(--y)}.cm-cf button{height:38px;padding:0 16px;border-radius:999px;border:0;background:var(--y);color:#0a0a0b;font-weight:700;cursor:pointer}
.cm-ph{position:relative}
.cm-mm{position:absolute;right:0;top:34px;z-index:5;min-width:200px;border:1px solid #34343b;border-radius:12px;background:#17171b;box-shadow:0 10px 30px #000a;overflow:hidden}
.cm-mm button{display:block;width:100%;text-align:left;border:0;background:none;color:#fff;font:inherit;font-size:14px;padding:13px 16px;cursor:pointer}
.cm-moreb{display:block;margin:14px auto 4px;height:42px;padding:0 22px;border-radius:999px;border:1px solid #34343b;background:none;color:#fff;font:inherit;font-size:14px;cursor:pointer}
