/* ============================================================
   Pitacos (/pitacos). Usa os tokens e o nav/rodapé de styles.css;
   aqui só o que é da página, escopado em .ptc.
   ============================================================ */
:root {
  --p-line: rgba(255, 255, 255, .07);
  --p-line-2: rgba(255, 255, 255, .13);
  --p-faint: #8A8FA0;
  --p-up-text: #6FD27A;
  --p-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

.ptc { font-size: 15px; }
.ptc button { font: inherit; color: inherit; cursor: pointer; }
.ptc a { color: inherit; text-decoration: none; }
.ptc :focus-visible { outline: 2px solid var(--orange-soft); outline-offset: 2px; border-radius: 8px; }
.ptc h1, .ptc h2, .ptc h3 { margin: 0; text-wrap: balance; }
.ptc p { margin: 0; }

.ptc-wrap {
  max-width: var(--maxw); margin: 0 auto;
  padding: 28px max(16px, env(safe-area-inset-right, 0px)) 72px max(16px, env(safe-area-inset-left, 0px));
}
.ptc .crumbs { font-size: 12.5px; color: var(--p-faint); margin-bottom: 6px; }
.ptc .crumbs a:hover { color: var(--text); }
.ptc .page-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.ptc .page-h h1 { font-size: clamp(27px, 4vw, 38px); letter-spacing: -.035em; line-height: 1.08; }
.ptc .page-h p { color: var(--text-dim); max-width: 58ch; margin-top: 6px; }
.ptc .status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--p-line); white-space: nowrap; }
.ptc .status i { width: 8px; height: 8px; border-radius: 50%; background: var(--p-up-text); }
.ptc .status.ao-vivo i { background: var(--live); }
.ptc .status.fechado i { background: var(--p-faint); }

.ptc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.ptc-feed { min-width: 0; }

/* abas */
.ptc .tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.ptc .tabs button { border: 1px solid var(--p-line-2); background: transparent; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-dim); transition: background .2s var(--ease), color .2s var(--ease); }
.ptc .tabs button:hover { color: var(--text); }
.ptc .tabs button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }

/* posts */
.ptc .feed { display: flex; flex-direction: column; gap: 12px; }
.ptc .post { background: var(--surface); border: 1px solid var(--p-line); border-radius: 18px; padding: 16px 18px; }
.ptc .post-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; min-width: 0; }
.ptc .av { width: 36px; height: 36px; border-radius: 11px; flex: none; object-fit: cover; background: var(--surface-2); }
.ptc .av-letra { display: grid; place-items: center; font-weight: 800; color: var(--cream); }
.ptc .post-top b { font-size: 14px; display: block; line-height: 1.2; }
.ptc .post-top small { font-size: 12px; color: var(--p-faint); }
.ptc .kind { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--cream); white-space: nowrap; }
.ptc .post h3 { font-size: 17px; letter-spacing: -.015em; margin-bottom: 4px; }
.ptc .post p { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.ptc .post-imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
.ptc .post-imgs img { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.ptc .post-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--p-faint); }
.ptc .reac { display: inline-flex; gap: 4px; align-items: center; background: var(--surface-2); padding: 3px 9px; border-radius: 999px; color: var(--text); font-weight: 600; }
.ptc .post-foot .open { margin-left: auto; color: var(--orange-soft); font-weight: 700; }
.ptc .post-foot .open:hover { color: var(--cream); }
.ptc .mais { display: block; width: 100%; margin-top: 12px; text-align: center; padding: 12px; border-radius: 14px; border: 1px solid var(--p-line-2); background: transparent; font-weight: 700; font-size: 14px; color: var(--text-dim); }
.ptc .mais:hover { color: var(--text); border-color: rgba(255, 255, 255, .25); }
.ptc .mais[disabled] { cursor: progress; color: var(--p-faint); }

/* estados vazios */
.ptc .vazio { background: var(--surface); border: 1px dashed var(--p-line-2); border-radius: 18px; padding: 18px; color: var(--text-dim); font-size: 14px; }
.ptc .vazio b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.ptc .vazio-aba { margin-top: 0; text-align: center; }
.ptc .vazio-ia { margin: 14px 14px 4px; border-radius: 14px; background: var(--surface-2); border-color: var(--p-line); font-size: 13px; }

/* escalação da IA */
.ptc .side { display: flex; flex-direction: column; gap: 12px; }
/* Fixa ao rolar só se cabe inteira: com 17 jogadores ela passa de 1.100px, e
   presa no topo o banco e o botão só apareceriam no fim do feed. */
@media (min-width: 861px) and (min-height: 1200px) { .ptc .side { position: sticky; top: 84px; } }
.ptc .ia { background: var(--surface); border: 1px solid var(--p-line); border-radius: 18px; overflow: hidden; }
.ptc .ia-h { padding: 16px 18px 12px; background: linear-gradient(135deg, rgba(234, 92, 31, .22), rgba(138, 52, 19, .05) 70%); border-bottom: 1px solid var(--p-line); }
.ptc .ia-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); }
.ptc .ia-h h2 { font-size: 19px; letter-spacing: -.02em; margin-top: 3px; }
.ptc .ia-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12.5px; color: var(--text-dim); }
.ptc .ia-meta b { color: var(--text); font-family: var(--p-mono); font-weight: 600; font-size: 12.5px; }
.ptc .ia-list { padding: 6px 8px 8px; }
.ptc .pl { display: grid; grid-template-columns: 34px 20px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 6px 8px; border-radius: 10px; }
.ptc .pl:hover { background: rgba(255, 255, 255, .035); }
.ptc .pl img { width: 20px; height: 20px; object-fit: contain; }
.ptc .pl-n { min-width: 0; }
.ptc .pl b { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; min-width: 0; }
.ptc .pl .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ptc .pl small { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--p-faint); white-space: nowrap; }
.ptc .pl small img { width: 13px; height: 13px; }
.ptc .pl .pr { font-family: var(--p-mono); font-size: 12px; color: var(--text-dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptc .cap { font-size: 9.5px; font-weight: 800; color: #fff; background: var(--orange); width: 16px; height: 16px; border-radius: 5px; display: inline-grid; place-items: center; flex: none; }
.ptc .lux { font-size: 9.5px; font-weight: 800; color: var(--cream); border: 1px solid rgba(255, 227, 214, .4); padding: 0 5px; border-radius: 5px; flex: none; letter-spacing: .04em; }
.ptc .posb { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #fff; padding: 2px 0; width: 34px; text-align: center; border-radius: 6px; }
.ptc .p1 { background: #FF9800; } .ptc .p2 { background: #4CAF50; } .ptc .p3 { background: #2196F3; }
.ptc .p4 { background: #9C27B0; } .ptc .p5 { background: #F44336; } .ptc .p6 { background: #607D8B; }
.ptc .banco { display: flex; align-items: center; gap: 8px; margin: 6px 16px 2px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p-faint); }
.ptc .banco::after { content: ""; flex: 1; height: 1px; background: var(--p-line); }
.ptc .banco-list .pl { opacity: .62; }
.ptc .banco-list .pl.lux-row { opacity: 1; }
.ptc .ia-warn { font-size: 12px; color: var(--text-dim); padding: 0 16px 14px; line-height: 1.45; }
.ptc .ia-cta { display: block; width: calc(100% - 28px); margin: 4px 14px 14px; text-align: center; font-weight: 800; padding: 11px; border-radius: 12px; border: 0; background: var(--orange); color: #fff; font-size: 14px; transition: background .2s var(--ease); }
.ptc .ia-cta:hover { background: var(--orange-soft); }
.ptc .ia-abrir { display: none; }
.ptc .ia-peek { display: none; gap: 3px; padding: 12px 14px 4px; flex-wrap: wrap; }
.ptc .ia-peek img { width: 24px; height: 24px; object-fit: contain; background: var(--surface-2); border-radius: 8px; padding: 3px; }

/* celular: a escalação vira um cartão compacto no topo, que abre a lista */
@media (max-width: 860px) {
  .ptc-grid { grid-template-columns: minmax(0, 1fr); }
  .ptc .side { position: static; order: -1; }
  .ptc .ia.compact .ia-corpo, .ptc .ia.compact .ia-app { display: none; }
  .ptc .ia.compact .ia-peek { display: flex; }
  .ptc .ia.compact .ia-abrir { display: block; }
}
@media (max-width: 560px) {
  .ptc-wrap { padding-top: 18px; }
  .ptc .post { padding: 14px; }
  .ptc .post p { font-size: 14px; }
  .ptc .pl .pr { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) { .ptc * { transition: none !important; } }

/* Âncoras do menu do topo (site_nav): o cabeçalho fixo não cobre o começo da seção. */
#posts, #time-do-cman, #influenciadores { scroll-margin-top: 90px; }
