/* ============ Títulos con imagen, fundadores y concurso mensual (dv-rewards) ============ */

/* ---------- insignias de título con imagen ---------- */
.tbadge-img { padding: 1px 8px 1px 3px; display: inline-flex; align-items: center; gap: 5px; }
.tbadge-img img { height: 22px; width: auto; max-width: 120px; object-fit: contain; display: block; }
.tbadge-art { border: 0; background: none !important; padding: 0; margin-left: 6px; display: inline-flex; vertical-align: middle; }
.tbadge-art img { height: 28px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.pp-id h1 .tbadge-img img { height: 26px; } .pp-id h1 .tbadge-art img { height: 34px; }
.t-art { height: 46px; width: auto; max-width: 100%; object-fit: contain; display: inline-block; vertical-align: middle; }
.tg i .t-art { height: 44px; }
.t-thumb { height: 30px; width: auto; max-width: 110px; object-fit: contain; vertical-align: middle; background: var(--dv-bg3, #0003); border-radius: 6px; padding: 2px; }

/* ---------- fundadores ---------- */
.fnd-banner { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 0 0 18px; padding: 14px 18px; border-radius: 14px;
  border: 1px solid rgba(168,85,247,.45); background: linear-gradient(135deg, rgba(168,85,247,.16), rgba(255,90,31,.10)); }
.fnd-banner b { font-family: var(--font-head); } .fnd-banner span { color: var(--dv-text2); font-size: .88rem; flex: 1; min-width: 200px; }
.fnd-hero { text-align: center; padding: 26px 18px; margin-bottom: 22px; border-radius: 16px; border: 1px solid rgba(168,85,247,.4);
  background: radial-gradient(circle at 50% 0%, rgba(168,85,247,.22), transparent 70%), var(--dv-bg2); }
.fnd-hero h1 { margin: 0 0 6px; font-family: var(--font-head); font-size: 1.6rem; } .fnd-hero p { margin: 4px auto; max-width: 560px; color: var(--dv-text2); }
.fnd-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

/* ---------- concurso ---------- */
.ct-hero { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; padding: 22px;
  border-radius: 16px; border: 1px solid var(--dv-border); background: radial-gradient(circle at 0 0, rgba(245,158,11,.18), transparent 60%), var(--dv-bg2); }
.ct-hero h1 { margin: 0; font-family: var(--font-head); font-size: 1.6rem; } .ct-hero p { margin: 4px 0 0; color: var(--dv-text3); font-size: .88rem; }
.ct-clock { text-align: center; background: var(--dv-bg3, #0003); border: 1px solid var(--dv-border); border-radius: 14px; padding: 10px 18px; }
.ct-clock b { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--dv-accent); } .ct-clock small { color: var(--dv-text3); font-size: .68rem; text-transform: uppercase; letter-spacing: .8px; font-weight: 700; }
.ct-prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.ct-prize { text-align: center; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--rc); background: var(--rg); }
.ct-prize i { font-style: normal; font-size: 1.8rem; display: block; } .ct-prize b { font-family: var(--font-head); font-size: 1.15rem; color: var(--rc); } .ct-prize small { display: block; color: var(--dv-text3); font-size: .7rem; }
.ct-prize.p1 { --rc: #f59e0b; --rg: rgba(245,158,11,.12); } .ct-prize.p2 { --rc: #cbd5e1; --rg: rgba(203,213,225,.09); } .ct-prize.p3 { --rc: #d97706; --rg: rgba(217,119,6,.10); }
.ct-title-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin: -6px 0 18px; color: var(--dv-text2); font-size: .86rem; }
.ct-me { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.ct-me div b { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--dv-accent); } .ct-me div small { color: var(--dv-text3); font-size: .72rem; }
.ct-boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-bottom: 18px; }
.ct-board { margin: 0; } .ct-board h3 { display: flex; justify-content: space-between; align-items: center; }
.ct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ct-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: var(--dv-bg3, #0002); border: 1px solid transparent; }
.ct-row.me { border-color: var(--dv-accent); background: rgba(255,90,31,.08); }
.ct-pos { width: 28px; text-align: center; font-weight: 800; color: var(--dv-text3); font-size: .95rem; }
.ct-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; } .ct-name:hover { text-decoration: underline; }
.ct-val { font-weight: 800; font-size: .86rem; white-space: nowrap; } .ct-prize-tag { font-size: .68rem; font-weight: 800; color: #f59e0b; background: rgba(245,158,11,.12); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.ct-rules { margin: 0; padding-left: 18px; color: var(--dv-text2); font-size: .86rem; line-height: 1.7; }
.ct-hist summary { cursor: pointer; font-weight: 800; padding: 8px 0; } .ct-hist .ct-boards { margin: 8px 0 14px; }
@media (max-width: 560px) { .ct-prizes { gap: 8px; } .ct-prize b { font-size: .95rem; } }
