/* MINERS CLUB — telas do membro (Início, Academy, Lives, Ferramentas, Ofertas, Meu perfil).
   Direção (brief §14): base preto/verde escuro, cards verde-escuro com borda discreta, verde neon
   só pra status/progresso, laranja só no CTA principal, pouco neon, cards amplos e legíveis. */

/* ---------- cabeçalhos ---------- */
.wel-hero.cl-hero { min-height: 0; margin-bottom: 24px; box-shadow: var(--shadow); }
.wel-hero.cl-hero .body { padding: 30px 34px; max-width: 760px; }
.wel-hero.cl-hero .wel-title .display { font-size: clamp(38px, 5.4vw, 64px); }
.wel-hero.cl-hero .wel-tag { margin-bottom: 14px; }
.cl-hero-sub { margin: 0 0 4px; color: var(--muted); font-size: 14px; max-width: 520px; }
.wel-hero.cl-hero .wel-actions { margin-top: 18px; align-items: center; }
.cl-hero-next { font-size: 12.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.cl-page-h { margin: 4px 0 22px; }
.cl-h1 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.cl-page-h p { margin: 0; max-width: 640px; }

/* ---------- cards de ação (Início) ---------- */
.cl-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); margin-bottom: 30px; }
.cl-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; box-shadow: none; }
.cl-card-h { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cl-ic { width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; flex: none;
  background: rgba(64,230,35,.1); color: var(--green); }
.cl-card-b { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cl-card-b > .badge { align-self: flex-start; }
.cl-card-f { display: flex; gap: 8px; flex-wrap: wrap; }
.cl-card-f .btn { flex: 1 1 auto; }
.cl-title { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--text); overflow-wrap: anywhere; }
.cl-sub { font-size: 13px; line-height: 1.5; }
.cl-big { font-family: var(--font-display); font-size: 52px; line-height: .95; color: var(--green); letter-spacing: .02em; }
.cl-lockhint { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); opacity: .85; }
.cl-lockhint svg { width: 13px; height: 13px; }
.cl-card-live { border-color: rgba(255,90,90,.35); }

.cl-countdown { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px;
  font-weight: 700; color: var(--green-2); }
.cl-countdown svg { width: 13px; height: 13px; }
.cl-countdown.on { color: #ff7a7a; }
.cl-live-badge { gap: 7px; }
.cl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--error); box-shadow: 0 0 8px var(--error); animation: mpPulse 1.6s ease-in-out infinite; }

/* listas curtas dentro do card */
.cl-list { display: flex; flex-direction: column; }
.cl-li { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.06); color: var(--text); min-width: 0; }
.cl-li:first-child { border-top: 0; padding-top: 0; }
.cl-li:hover { color: var(--green-2); }
.cl-li-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
.cl-li-t { font-weight: 600; font-size: 13.5px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cl-li-m { font-size: 12px; }

/* novidades */
.cl-news { display: flex; flex-direction: column; padding: 6px 20px; box-shadow: none; }
.cl-news-i { display: block; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.06); color: var(--text); }
.cl-news-i:first-child { border-top: 0; }
.cl-news-i:hover .cl-news-t { color: var(--green-2); }
.cl-news-t { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; }
.cl-news-t svg { color: var(--green); width: 12px; height: 12px; flex: none; }
.cl-news-d { font-family: var(--font-mono); font-size: 11.5px; white-space: nowrap; }
.cl-news-c { margin: 6px 0 0; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }

/* pôster com progresso */
.poster .cl-poster-prog { margin-top: 8px; height: 4px; margin-right: 46px; }

/* ---------- Academy ---------- */
.cl-courses { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); }
.cl-course { display: flex; gap: 16px; padding: 14px; color: var(--text); box-shadow: none; transition: border-color .15s, transform .15s; min-width: 0; }
.cl-course:hover { border-color: var(--border-2); transform: translateY(-2px); color: var(--text); }
.cl-course-img { position: relative; flex: none; width: 128px; aspect-ratio: 3/4; border-radius: var(--radius-sm); overflow: hidden;
  background: #0b1a0e center/cover no-repeat; }
.cl-course-img .cover-ph .mono { font-size: 40px; }
.cl-course-img .cover-ph .reticle { inset: 10px; }
.cl-course-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cl-course-t { margin: 0; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.cl-course-b .badge { flex: none; }
.cl-course-d { margin: 0; font-size: 13px; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.cl-course-p { margin-top: auto; font-size: 12.5px; }
.cl-course-p .progress { margin-top: 6px; }
.badge.cl-badge-prog { color: var(--green-2); border-color: var(--border-2); }

/* ---------- Lives ---------- */
.cl-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.cl-chips:empty { display: none; }
.cl-chip { appearance: none; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(255,255,255,.03); color: var(--text-2); }
.cl-chip:hover { background: rgba(64,230,35,.08); }
.cl-chip.on { background: rgba(64,230,35,.16); color: var(--green-2); border-color: rgba(64,230,35,.45); }

.cl-live-hero { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border-2);
  background: radial-gradient(640px 320px at 90% 0%, rgba(64,230,35,.14), transparent 62%), linear-gradient(140deg, var(--card-2), #081109); }
.cl-live-hero.on { border-color: rgba(255,90,90,.45); }
.cl-live-bg { position: absolute; inset: 0; background: center/cover no-repeat; opacity: .28; }
.cl-live-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,17,9,.96) 10%, rgba(8,17,9,.6)); }
.cl-live-in { position: relative; z-index: 1; padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 760px; }
.cl-live-t { margin: 0; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; overflow-wrap: anywhere; }
.cl-live-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--text-2); font-size: 14px; }
.cl-live-meta span { display: inline-flex; align-items: center; gap: 7px; }
.cl-live-meta svg { width: 14px; height: 14px; color: var(--green); }
.cl-live-d { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }

.cl-stack { display: flex; flex-direction: column; gap: 12px; }
.cl-live-i { display: grid; grid-template-columns: 190px 1fr auto; gap: 16px; align-items: center; box-shadow: none; }
.cl-live-when { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.cl-live-when b { text-transform: capitalize; }
.cl-live-when .muted { font-family: var(--font-mono); font-size: 11.5px; }
.cl-live-what { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cl-live-it { font-size: 15px; overflow-wrap: anywhere; }
.cl-live-id { margin: 0; font-size: 12.5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.cl-rec { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; box-shadow: none; padding: 16px 18px; }
.cl-rec-b { flex: 1 1 200px; min-width: 0; }
.cl-rec-b b { display: block; overflow-wrap: anywhere; }
.cl-rec-m { font-size: 12.5px; }

.cl-empty { display: flex; align-items: center; gap: 12px; color: var(--muted); box-shadow: none; }

/* ---------- Ferramentas ---------- */
.cl-tools { display: flex; flex-direction: column; gap: 14px; }
.cl-tool { display: flex; align-items: center; gap: 18px; box-shadow: none; }
.cl-tool.off { background: linear-gradient(160deg, #0f1a11, #0c150e); }
.cl-tool.off .cl-tool-ic { background: rgba(255,255,255,.04); color: var(--muted); }
.cl-tool-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: rgba(64,230,35,.1); color: var(--green); border: 1px solid var(--border); }
.cl-tool-info { flex: 1; min-width: 0; }
.cl-tool-n { font-size: 16px; }
.cl-tool-d { margin: 6px 0 0; font-size: 13px; line-height: 1.55; }
.cl-tool-a { flex: none; }
.cl-ext-slot:empty { display: none; }
.cl-ext-slot .cl-ext { margin: -4px 0 0 34px; border-left: 2px solid var(--border-2); box-shadow: none; }

/* ---------- Ofertas ---------- */
.cl-ofertas { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 26px 28px; box-shadow: none; }
.cl-ofertas-n { display: flex; flex-direction: column; gap: 6px; min-width: 150px; font-size: 13px; }
.cl-ofertas-t { flex: 1 1 320px; font-size: 14.5px; line-height: 1.6; }

/* ---------- Meu perfil: progresso ---------- */
.cl-prog { display: flex; flex-direction: column; gap: 4px; box-shadow: none; }
.cl-prog-total { margin-bottom: 8px; font-size: 14px; }
.cl-prog-total b { font-family: var(--font-display); font-size: 34px; color: var(--green); letter-spacing: .02em; margin-right: 4px; }
.cl-prog-i { display: block; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.06); color: var(--text); }
.cl-prog-i:hover .cl-prog-n { color: var(--green-2); }
.cl-prog-i .progress { margin-top: 7px; }
.cl-prog-n { font-weight: 600; font-size: 13.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .cl-live-i { grid-template-columns: 1fr; gap: 10px; }
  .cl-live-i .btn { justify-self: start; }
}
@media (max-width: 720px) {
  .cl-grid, .cl-courses { grid-template-columns: 1fr; }
  .wel-hero.cl-hero .body { padding: 22px 18px; }
  .cl-live-in { padding: 22px 18px; }
  .cl-tool { flex-wrap: wrap; gap: 14px; }
  .cl-tool-info { flex: 1 1 calc(100% - 70px); }
  .cl-tool-a { flex: 1 1 100%; }
  .cl-tool-a .btn { width: 100%; }
  .cl-ext-slot .cl-ext { margin-left: 0; border-left: 1px solid var(--border); }
  .cl-course-img { width: 96px; }
  .cl-rec .btn, .cl-rec > .badge { flex: 1 1 100%; justify-content: center; }
  .cl-ofertas { padding: 20px 18px; gap: 18px; }
  .cl-ofertas .btn { width: 100%; }
}
@media (max-width: 480px) {
  .wel-hero.cl-hero .wel-title .display { font-size: clamp(30px, 10vw, 42px); }
  .cl-course { gap: 12px; padding: 12px; }
  .cl-course-img { width: 76px; }
  .cl-big { font-size: 44px; }
}
