/* =====================================================================
   Comunidade (ranking, online, personagens, guildas, fraggers, mortes, casas, mundos...). Usa tokens do v3.
   ===================================================================== */
.ta-legacy .co-page{display:grid;gap:var(--ot-s5)}
.ta-legacy .co-page .ca-card{margin:0}
.ta-legacy .co-card--flush .ca-card__body{padding:0}
.ta-legacy .co-card--flush .ot-tablewrap{border:0;border-radius:0;margin:0;background:transparent}
.ta-legacy .co-char{color:var(--ot-accent-hover);font-weight:600}
.ta-legacy .co-char:hover{color:var(--ot-text);text-decoration:underline}
.ta-legacy .co-outfit{display:block;width:48px;height:48px;object-fit:contain;image-rendering:pixelated}
.ta-legacy .co-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ot-s4)}
.ta-legacy .co-pod{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 12px 16px;border:1px solid var(--ot-line);border-radius:var(--ot-r-ctl);background:var(--ot-bg2);text-align:center}
.ta-legacy .co-pod--1{border-color:rgba(56,189,248,.55);background:var(--ot-accent-soft)}
.ta-legacy .co-pod__pos{position:absolute;top:10px;left:12px;font:700 13px/1 var(--ot-font-body);color:var(--ot-muted)}
.ta-legacy .co-pod--1 .co-pod__pos{color:var(--ot-accent-hover)}
.ta-legacy .co-pod .co-outfit{width:64px;height:64px}
.ta-legacy .co-pod__name{font:600 15px/1.3 var(--ot-font-body)}
.ta-legacy .co-pod__v{font:500 13px/1.3 var(--ot-font-body);color:var(--ot-muted)}
@media (max-width:640px){.ta-legacy .co-podium{grid-template-columns:1fr}}

.ta-legacy .co-card--flush .ot-empty{margin:0;border:0;border-radius:0;padding:32px 20px}

/* ordenacao por cabecalho, contador e busca */
.ta-legacy .co-sort{color:inherit;text-decoration:none;white-space:nowrap}
.ta-legacy .co-sort:hover{color:var(--ot-text)}
.ta-legacy .co-sort.is-on{color:var(--ot-accent-hover)}
.ta-legacy .ot-table th .co-sort{font:inherit;letter-spacing:inherit;text-transform:inherit}
.ta-legacy .co-count{display:inline-block;margin-left:8px;padding:2px 9px;border-radius:var(--ot-r-pill);background:var(--ot-accent-soft);color:var(--ot-accent-hover);font:600 13px/1.4 var(--ot-font-body);vertical-align:middle}
.ta-legacy .co-search label{display:block;margin:0 0 8px;font:600 14px/1.3 var(--ot-font-body);color:var(--ot-text)}
.ta-legacy .co-search__row{display:flex;gap:var(--ot-s3);flex-wrap:wrap}
.ta-legacy .co-search__row input{flex:1 1 240px;min-width:0;height:46px;padding:0 14px;border:1px solid var(--ot-line) !important;border-radius:var(--ot-r-ctl) !important;background:var(--ot-bg2) !important;color:var(--ot-text) !important;font:400 16px/1 var(--ot-font-body)}
.ta-legacy .co-search__row input:focus{outline:none;border-color:var(--ot-accent) !important;box-shadow:0 0 0 3px var(--ot-accent-soft)}

/* mundo */
.ta-legacy .co-world__id{display:flex;align-items:center;gap:14px;margin:0 0 var(--ot-s4)}
.ta-legacy .co-world__id>div{flex:1;min-width:0}
.ta-legacy .co-world__id b{display:block;font:600 20px/1.2 var(--ot-font-body);color:var(--ot-text)}
.ta-legacy .co-world__id small{display:block;margin-top:2px;font:400 14px/1.3 var(--ot-font-body);color:var(--ot-muted)}
.ta-legacy .co-world__ic{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--ot-accent-soft);color:var(--ot-accent-hover)}
.ta-legacy .co-world__act{margin-top:var(--ot-s5)}

/* filtros em "chips", linha de personagem, paginacao */
.ta-legacy .co-filter{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;margin:0 0 var(--ot-s3)}
.ta-legacy .co-filter:last-child{margin-bottom:0}
.ta-legacy .co-filter__l{flex:none;min-width:104px;font:600 12px/1.2 var(--ot-font-body);letter-spacing:.08em;text-transform:uppercase;color:var(--ot-muted)}
.ta-legacy .co-chips{display:flex;flex-wrap:wrap;gap:8px}
.ta-legacy .co-chip{display:inline-flex;align-items:center;height:34px;padding:0 14px;border:1px solid var(--ot-line);border-radius:var(--ot-r-pill);background:var(--ot-bg2);
  color:var(--ot-text);font:500 14px/1 var(--ot-font-body);text-decoration:none;transition:border-color var(--ot-t),background var(--ot-t)}
.ta-legacy .co-chip:hover{border-color:rgba(56,189,248,.55);text-decoration:none;color:var(--ot-text)}
.ta-legacy .co-chip.is-on{border-color:rgba(56,189,248,.7);background:var(--ot-accent-soft);color:var(--ot-accent-hover);font-weight:600}
.ta-legacy .co-who{display:flex;align-items:center;gap:12px;min-width:0}
.ta-legacy .co-outfit--sm{width:40px;height:40px;flex:none}
.ta-legacy .co-who__t{display:flex;flex-direction:column;gap:2px;min-width:0}
.ta-legacy .co-who__t small{font:400 12px/1.3 var(--ot-font-body);color:var(--ot-muted)}
.ta-legacy .co-dot{display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:var(--ot-ok);box-shadow:0 0 0 3px rgba(111,207,151,.18);vertical-align:middle}
.ta-legacy .co-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-top:1px solid var(--ot-line)}
.ta-legacy .co-pager__n{color:var(--ot-muted);font:500 14px/1 var(--ot-font-body)}
@media (max-width:640px){.ta-legacy .co-filter__l{min-width:100%}}

/* colunas do ranking: posicao estreita, numeros com largura fixa, personagem ocupa o resto */
@media (min-width:641px){
  .ta-legacy #co-ranking .ot-table th:first-child,.ta-legacy #co-ranking .ot-table td:first-child{width:84px;text-align:left !important}
  .ta-legacy #co-ranking .ot-table th:nth-child(n+3),.ta-legacy #co-ranking .ot-table td:nth-child(n+3){width:150px}
  .ta-legacy .co-card--flush .ot-table td:first-child{color:var(--ot-muted)}
}
@media (max-width:640px){
  .ta-legacy #co-ranking .ot-table th,.ta-legacy #co-ranking .ot-table td{padding:10px 8px}
  .ta-legacy #co-ranking .ot-table th:first-child,.ta-legacy #co-ranking .ot-table td:first-child{padding-left:12px;width:36px}
  .ta-legacy #co-ranking .ot-table th:last-child,.ta-legacy #co-ranking .ot-table td:last-child{padding-right:12px}
  .ta-legacy #co-ranking .co-outfit--sm{width:32px;height:32px}
  .ta-legacy #co-ranking .co-who{gap:8px}
}

/* perfil do personagem */
.ta-legacy .co-head{display:flex;align-items:center;gap:16px;margin:0 0 var(--ot-s4)}
.ta-legacy .co-head .co-outfit{width:72px;height:72px;flex:none;padding:6px;border:1px solid var(--ot-line);border-radius:var(--ot-r-ctl);background:var(--ot-bg2)}
.ta-legacy .co-head__t h3{margin:0 0 6px;font:600 22px/1.2 var(--ot-font-display);color:var(--ot-text)}
.ta-legacy .co-head__c{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ta-legacy .co-link{color:var(--ot-accent-hover);font-weight:600}
.ta-legacy .co-meters{display:grid;gap:14px;margin:0 0 var(--ot-s5)}
.ta-legacy .co-meter__h{display:flex;justify-content:space-between;gap:12px;margin:0 0 6px;font:500 14px/1.3 var(--ot-font-body);color:var(--ot-muted)}
.ta-legacy .co-meter__h b{color:var(--ot-text);font-weight:600;text-align:right}
.ta-legacy .co-bar{height:10px;border-radius:var(--ot-r-pill);background:var(--ot-bg2);border:1px solid var(--ot-line);overflow:hidden}
.ta-legacy .co-bar i{display:block;height:100%;border-radius:inherit}
.ta-legacy .co-bar--hp{background:#d65b5b}.ta-legacy .co-bar--mp{background:#4f86f7}.ta-legacy .co-bar--xp{background:var(--ot-accent)}
.ta-legacy .co-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}
.ta-legacy .co-stat{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--ot-line);border-radius:var(--ot-r-ctl);background:var(--ot-bg2);text-decoration:none;transition:border-color var(--ot-t)}
.ta-legacy .co-stat:hover{border-color:rgba(56,189,248,.55);text-decoration:none}
.ta-legacy .co-stat small{font:500 12px/1.2 var(--ot-font-body);letter-spacing:.06em;text-transform:uppercase;color:var(--ot-muted)}
.ta-legacy .co-stat b{font:600 20px/1.1 var(--ot-font-body);color:var(--ot-text);font-variant-numeric:tabular-nums}
.ta-legacy .co-extra{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:var(--ot-s4);color:var(--ot-muted);font:400 14px/1.4 var(--ot-font-body)}
.ta-legacy .co-extra b{color:var(--ot-text);font-weight:600;margin-left:4px}
.ta-legacy .co-equip{display:grid;grid-template-columns:repeat(3,64px);gap:8px;justify-content:center}
.ta-legacy .co-slot{display:grid;place-items:center;width:64px;height:64px;border:1px solid var(--ot-line);border-radius:10px;background:var(--ot-bg2);overflow:hidden}
.ta-legacy .co-slot.has{border-color:rgba(56,189,248,.4)}
.ta-legacy .co-slot img{max-width:48px;max-height:48px;image-rendering:pixelated}
.ta-legacy .co-slot span{font:500 10px/1.2 var(--ot-font-body);color:#5f6e82;text-align:center;padding:0 4px}
.ta-legacy .co-slot--blank{border-color:transparent;background:transparent}

/* passos e codigo inline */
.ta-legacy .co-steps{margin:0;padding:0;list-style:none;display:grid;gap:12px}
.ta-legacy .co-steps li{padding-left:18px;position:relative;font:400 15px/1.55 var(--ot-font-body);color:var(--ot-muted)}
.ta-legacy .co-steps li::before{content:"";position:absolute;left:0;top:.7em;width:6px;height:6px;border-radius:50%;background:var(--ot-accent)}
.ta-legacy .co-steps b{color:var(--ot-text);font-weight:600}
.ta-legacy .co-steps code,.ta-legacy .co-page code{padding:2px 8px;border:1px solid var(--ot-line);border-radius:8px;background:var(--ot-bg2);color:var(--ot-accent-hover);font:600 13px/1.4 ui-monospace,Menlo,Consolas,monospace}

/* casas: formulario de busca */
.ta-legacy .co-lead{margin:0 0 var(--ot-s4);font:400 15px/1.55 var(--ot-font-body);color:var(--ot-muted)}
.ta-legacy .co-lead b{color:var(--ot-text);font-weight:600}
.ta-legacy .co-houseform{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--ot-s4) var(--ot-s5,24px)}
.ta-legacy .co-houseform .co-field{flex:0 1 auto;min-width:0}
.ta-legacy .co-houseform .co-field:first-child{flex:1 1 220px;max-width:320px}
.ta-legacy .co-houseform .co-field select{max-width:none}
.ta-legacy .co-houseform .co-radio span{height:42px}
.ta-legacy .co-houseform__act{margin:0 0 0 auto}
@media (max-width:640px){.ta-legacy .co-houseform__act{margin:0;width:100%}.ta-legacy .co-houseform .co-field:first-child{max-width:none;flex-basis:100%}}
.ta-legacy .co-field>label{display:block;margin:0 0 8px;font:600 14px/1.3 var(--ot-font-body);color:var(--ot-text)}
.ta-legacy .co-field select{width:100%;max-width:420px;height:46px;padding:0 14px;border:1px solid var(--ot-line);border-radius:var(--ot-r-ctl);background:var(--ot-bg2);color:var(--ot-text);font:400 16px/1 var(--ot-font-body)}
.ta-legacy .co-radio{position:relative;display:inline-flex}
.ta-legacy .co-radio input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.ta-legacy .co-radio span{display:inline-flex;align-items:center;height:36px;padding:0 16px;border:1px solid var(--ot-line);border-radius:var(--ot-r-pill);background:var(--ot-bg2);color:var(--ot-text);font:500 14px/1 var(--ot-font-body);cursor:pointer}
.ta-legacy .co-radio input:checked+span{border-color:rgba(56,189,248,.7);background:var(--ot-accent-soft);color:var(--ot-accent-hover);font-weight:600}
.ta-legacy .co-radio input:focus-visible+span{outline:2px solid var(--ot-focus);outline-offset:2px}
.ta-legacy .co-by{color:var(--ot-muted);font-size:13px;margin-left:6px}

/* forum */
.ta-legacy .co-board{display:flex;align-items:flex-start;gap:12px}
.ta-legacy .co-board__ic{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:var(--ot-accent-soft);color:var(--ot-accent-hover)}
.ta-legacy .co-board small{display:block;margin-top:2px;font:400 13px/1.45 var(--ot-font-body);color:var(--ot-muted);letter-spacing:0}
.ta-legacy .co-sub{display:block;font:400 12px/1.4 var(--ot-font-body);color:var(--ot-muted)}
.ta-legacy .co-note{margin:0;padding:14px 20px;border-top:1px solid var(--ot-line);font:400 13px/1.4 var(--ot-font-body);color:var(--ot-muted)}

/* Guildas */
.co-guildlogo{width:48px;height:48px;border-radius:10px;object-fit:cover;background:var(--ot-surface-2,#101a28);display:block}
.co-c-logo{width:64px}
.co-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.co-inline{display:inline;margin:0}
.co-guilds .co-sub{margin-top:2px}

/* Fórum: telas internas */
.co-crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font:500 14px/1.3 var(--ot-font-body);color:var(--ot-muted)}
.co-crumbs b{color:var(--ot-text,#e8eef6)}
.co-pages{display:flex;flex-wrap:wrap;gap:6px;padding:14px 20px}
.co-pages a,.co-pages b{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid var(--ot-border,#1f2c3d);font:600 13px/1 var(--ot-font-body);text-decoration:none}
.co-pages b.is-on{background:var(--ot-accent,#38bdf8);color:#04121c;border-color:transparent}
.co-del{color:var(--ot-muted);display:inline-flex;vertical-align:middle}
.co-del:hover{color:#f87171}
.co-post{display:grid;grid-template-columns:200px 1fr;border-top:1px solid var(--ot-border,#1f2c3d)}
.co-post:first-child{border-top:0}
.co-post__side{padding:18px;background:rgba(255,255,255,.02);border-right:1px solid var(--ot-border,#1f2c3d)}
.co-post__who{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.co-post__who small{color:var(--ot-muted);font-size:12.5px;line-height:1.4}
.co-post__out,.co-post__ic{display:inline-flex;min-height:64px;align-items:center;color:var(--ot-accent,#38bdf8)}
.co-post__main{padding:18px 22px;min-width:0;display:flex;flex-direction:column;gap:10px}
.co-post__topic{margin:0;font:600 17px/1.3 var(--ot-font-body)}
.co-post__text{overflow-wrap:anywhere;line-height:1.6}
.co-post__sig{border-top:1px dashed var(--ot-border,#1f2c3d);padding-top:8px;color:var(--ot-muted);font-size:13px}
.co-post__icon{width:15px;height:15px;vertical-align:middle;margin-right:6px}
.co-post__foot{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:space-between;align-items:center;padding-top:10px;border-top:1px solid var(--ot-border,#1f2c3d);font-size:12.5px;color:var(--ot-muted)}
.co-post__meta,.co-post__acts{display:flex;flex-wrap:wrap;gap:4px 14px}
.co-post__acts a{font-weight:600}
@media(max-width:640px){.co-post{grid-template-columns:1fr}.co-post__side{border-right:0;border-bottom:1px solid var(--ot-border,#1f2c3d);padding:14px 16px}.co-post__who{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 10px}.co-post__main{padding:14px 16px}}
.co-smileys{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px}
.co-smileys li{display:inline-flex;align-items:center;gap:6px;font-size:13px}
.co-smileys code{font-size:12.5px}
.ta-legacy .mceLayout,.ta-legacy .mceToolbar,.ta-legacy .mceStatusbar{background:#e9eef4}
.ta-legacy .mceStatusbar,.ta-legacy .mceStatusbar *{color:#33414f}
.ta-legacy .mceIframeContainer{background:#fff}

/* Guildas: perfil */
.co-actions--start{justify-content:flex-start}
.co-guildgrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start}
.co-guildside{display:grid;gap:20px}
.co-guildhead{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.co-guildhead__name{margin:0;font:600 24px/1.2 var(--ot-font-display,var(--ot-font-body))}
.co-guildlogo--lg{width:72px;height:72px;border-radius:14px}
.co-guilddesc{line-height:1.6;margin-bottom:14px;overflow-wrap:anywhere}
@media(max-width:820px){.co-guildgrid{grid-template-columns:1fr}}
.co-page+.co-page{margin-top:20px}
.co-form{display:grid;gap:14px;max-width:560px}
.co-form .tf-field{margin:0}
.co-form select{width:100%;min-height:44px;border-radius:10px}
.co-war__side{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.co-war__score{font:700 24px/1.2 var(--ot-font-body);margin:6px 0}
.co-war__score span{color:var(--ot-muted);font-size:16px}
.co-war__acts{margin-top:8px}
.co-war__det summary{cursor:pointer;color:var(--ot-accent,#38bdf8);font-weight:600;margin-top:6px}
.co-war__frags{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px;font-size:14px}
.ta-legacy .ca-card .co-lead{padding:0;text-indent:0}
.co-form textarea,.co-form input[type=text],.co-form input[type=file]{width:100%;box-sizing:border-box}
.co-form textarea{min-height:200px;border-radius:10px;padding:12px;background:var(--ot-bg-sunken,#0a121c);color:inherit;border:1px solid var(--ot-border,#1f2c3d);font:inherit}
.co-opts{display:grid;gap:10px}
.co-opt{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:10px 14px;border:1px solid var(--ot-border,#1f2c3d);border-radius:10px}
.co-opt label{display:inline-flex;align-items:center;gap:8px;font-weight:600;min-width:190px;cursor:pointer}
.co-opt select,.co-opt input[type=text]{flex:1;min-width:180px}
.co-crumbs{margin-bottom:16px}

/* ===== página do personagem: cartões lado a lado (grade de 12 colunas) ===== */
.ta-legacy .co-char-page{grid-template-columns:repeat(12,minmax(0,1fr));align-items:stretch;gap:var(--ot-s4)}
.ta-legacy .co-char-page>*{grid-column:1/-1;min-width:0}
.ta-legacy .co-char-page .ca-card{height:100%}
.ta-legacy .co-char-page .cc-equip .co-equip{padding:6px 0}
.ta-legacy .co-char-page .cc-quests .ca-card__body,.ta-legacy .co-char-page .cc-chars .ca-card__body,.ta-legacy .co-char-page .cc-deaths .ca-card__body{overflow-x:auto}
.ta-legacy .co-char-page .ca-kv__row{grid-template-columns:minmax(90px,38%) 1fr}
@media (min-width:1100px){
  .ta-legacy .co-char-page .cc-info{grid-column:span 5}
  .ta-legacy .co-char-page .cc-attr{grid-column:span 7}
  .ta-legacy .co-char-page .cc-equip,.ta-legacy .co-char-page .cc-quests,.ta-legacy .co-char-page .cc-deaths,
  .ta-legacy .co-char-page .cc-acc,.ta-legacy .co-char-page .cc-chars,.ta-legacy .co-char-page .cc-search{grid-column:span 4}
}
@media (min-width:700px) and (max-width:1099px){
  .ta-legacy .co-char-page .cc-info,.ta-legacy .co-char-page .cc-attr,.ta-legacy .co-char-page .cc-equip,.ta-legacy .co-char-page .cc-quests,
  .ta-legacy .co-char-page .cc-deaths,.ta-legacy .co-char-page .cc-acc,.ta-legacy .co-char-page .cc-chars,.ta-legacy .co-char-page .cc-search{grid-column:span 6}
  .ta-legacy .co-char-page .cc-attr{grid-column:1/-1}
}

/* quests do personagem: resumo + lista compacta */
.ta-legacy .cc-qsum{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.ta-legacy .cc-qlist{list-style:none;margin:0;padding:0}
.ta-legacy .cc-qlist li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--ot-line);font-size:14px}
.ta-legacy .cc-qlist li span{min-width:0}
.ta-legacy .cc-qmore{margin-top:10px}
.ta-legacy .cc-qmore summary{cursor:pointer;color:var(--ot-accent-hover);font-weight:600;font-size:13px;padding:6px 0}
.ta-legacy .cc-qnone{margin:4px 0 8px;color:var(--ot-muted);font-size:13.5px}

/* quests: botão "Ver todas" e popup (mesmo padrão dos monstros) */
.ta-legacy .cc-qbtn{display:block;width:100%;margin-top:12px;padding:10px 12px;border-radius:10px;border:1px dashed rgba(148,163,184,.4);background:transparent;color:var(--ot-muted);font:600 13px var(--ot-font-body);cursor:pointer}
.ta-legacy .cc-qbtn:hover{border-color:var(--ot-accent);color:var(--ot-text)}
.cc-modal{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:20px;background:rgba(3,6,12,.72);backdrop-filter:blur(3px)}
.cc-modal[hidden]{display:none}
.cc-mbox{position:relative;width:min(640px,100%);max-height:86vh;overflow:auto;background:var(--ot-card,#0f1722);border:1px solid var(--ot-line);border-radius:18px;padding:22px;box-shadow:0 30px 80px rgba(0,0,0,.6)}
.cc-mbox h3{margin:0 0 12px;font:700 20px var(--ot-font-body)}
.cc-mclose{position:absolute;right:14px;top:12px;width:34px;height:34px;border-radius:50%;border:1px solid var(--ot-line);background:transparent;color:var(--ot-text);font-size:20px;cursor:pointer}
.cc-seg{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.cc-seg button{padding:7px 12px;border-radius:9px;border:1px solid var(--ot-line);background:transparent;color:var(--ot-muted);font:600 12.5px var(--ot-font-body);cursor:pointer}
.cc-seg button.on{background:var(--ot-accent);border-color:var(--ot-accent);color:#06121f}
.cc-qall li[hidden]{display:none}
/* equipamento centralizado no cartão, sem sobrar espaço embaixo; busca em barra comprida */
.ta-legacy .co-char-page .cc-equip .ca-card__body{display:flex;align-items:center;justify-content:center;height:100%}
.ta-legacy .co-char-page .cc-equip .co-equip{margin:auto}
@media (min-width:1100px){.ta-legacy .co-char-page .cc-search{grid-column:1/-1}}
.ta-legacy .co-char-page .cc-search .co-search__row{display:flex;gap:10px}.ta-legacy .co-char-page .cc-search .co-search__row input{flex:1;min-width:0}

/* equipamento: slots maiores para ocupar melhor o cartão */
.ta-legacy .co-equip{grid-template-columns:repeat(3,88px);gap:12px}
.ta-legacy .co-slot{width:88px;height:88px;border-radius:12px}
.ta-legacy .co-slot img{max-width:68px;max-height:68px}
.ta-legacy .co-slot span{font-size:11.5px}
@media (max-width:420px){.ta-legacy .co-equip{grid-template-columns:repeat(3,72px);gap:8px}.ta-legacy .co-slot{width:72px;height:72px}.ta-legacy .co-slot img{max-width:54px;max-height:54px}}

/* equipamento: o corpo do cartão ocupa o espaço que sobra (sem cortar o último slot) */
.ta-legacy .co-char-page .cc-equip{display:flex;flex-direction:column}
.ta-legacy .co-char-page .cc-equip .ca-card__body{flex:1 1 auto;height:auto;min-height:0;padding:22px 16px}

/* popup de quests: botões no padrão do site (sobrescreve o estilo global de botão) */
.ta .cc-mclose{position:absolute;right:14px;top:12px;display:grid;place-items:center;width:34px;height:34px;min-height:0;padding:0;border-radius:50%;border:1px solid var(--ot-line) !important;background:transparent !important;color:var(--ot-muted) !important;font:400 22px/1 var(--ot-font-body);box-shadow:none !important;cursor:pointer}
.ta .cc-mclose:hover{border-color:var(--ot-accent) !important;color:var(--ot-text) !important}
.ta .cc-seg button{min-height:0;height:auto;padding:7px 13px;border-radius:9px;border:1px solid var(--ot-line) !important;background:transparent !important;color:var(--ot-muted) !important;font:600 12.5px/1.2 var(--ot-font-body);box-shadow:none !important;cursor:pointer}
.ta .cc-seg button:hover{color:var(--ot-text) !important;border-color:rgba(148,163,184,.5) !important}
.ta .cc-seg button.on{background:rgba(56,189,248,.16) !important;border-color:var(--ot-accent) !important;color:#7dd3fc !important}
.ta .cc-qbtn{box-shadow:none !important;background:transparent !important;min-height:0;height:auto}

/* Quests: botão cheio no fim do card (antes era uma caixa vazia com texto escuro) */
.ta-legacy .co-char-page .cc-quests.ca-card,.ta-legacy .co-char-page .cc-quests>.ca-card{display:flex;flex-direction:column}
.ta-legacy .co-char-page .cc-quests .ca-card__body{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;height:auto;overflow:visible}
.ta .cc-qbtn,.ta-legacy .cc-qbtn{margin-top:auto !important;align-self:stretch;width:100%;min-height:42px !important;padding:11px 14px !important;border:0 !important;border-radius:10px !important;background:var(--ot-accent) !important;color:#06121f !important;font:700 14px var(--ot-font-body) !important;cursor:pointer;transition:filter .15s}
.ta .cc-qbtn:hover,.ta-legacy .cc-qbtn:hover{filter:brightness(1.1);color:#06121f !important}
.ta-legacy .cc-quests .cc-qlist,.ta-legacy .cc-quests .cc-qnone{margin-bottom:14px}

/* selo "Online" ao lado do nome (na mesma linha: não altera a altura da linha) */
.ta-legacy .co-nm{display:flex;align-items:center;gap:8px;min-width:0;line-height:1.3;white-space:nowrap}
.ta-legacy .co-online{flex:none;display:inline-flex;align-items:center;gap:5px;height:18px;padding:0 8px;border-radius:99px;background:rgba(111,207,151,.14);border:1px solid rgba(111,207,151,.45);color:var(--ot-ok);font:700 10.5px/1 var(--ot-font-body);letter-spacing:.05em;text-transform:uppercase}
.ta-legacy .co-online::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ot-ok)}
