/* Mestres Play · Minha jornada como histórico (historico.js). Prefixo .hs-
   Uma coluna; no celular, margem de 16 px, cartões em largura total, títulos que quebram linha e toque de 44 px. */
#view-journey { max-width: 860px; }
#view-journey > .hs-titulo { margin: 34px 0 6px; font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
#journey-path { min-width: 0; }
.hs-sec { margin: 30px 0 0; }
.hs-sec-t { margin: 0 0 14px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; color: #f5f5f7; }
.hs-btn {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; padding: 0 20px;
  border: 1px solid #b4e05c; border-radius: 12px; background: #b4e05c; color: #10160a;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.hs-btn:hover { background: #c3e978; border-color: #c3e978; color: #10160a; }
.hs-btn:disabled { opacity: .6; cursor: default; }
.hs-btn-fantasma { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #e0e0e5; }
.hs-btn-fantasma:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #f5f5f7; }
.hs-btn:focus-visible, .hs-capa:focus-visible, .hs-aula:focus-visible, .hs-cert:focus-visible { outline: 2px solid #b4e05c; outline-offset: 3px; }

/* 1. Continuar */
.hs-cartoes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hs-cartao { margin: 0; display: flex; flex-direction: column; min-width: 0; border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px; background: #151517; overflow: hidden; }
.hs-capa { display: block; position: relative; aspect-ratio: 16 / 9; background: #1d1d21; overflow: hidden; color: inherit; text-decoration: none; }
.hs-capa img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* capa só vertical (ou que chegou sem o formato largo): inteira, sem cortar, para o título da arte aparecer (como a home nova) */
.hs-capa-inteira { background: #141416; }
.hs-capa-inteira img { object-fit: contain; }
.hs-capa-sem { display: flex; align-items: center; justify-content: center; padding: 14px; box-sizing: border-box; }
.hs-capa-nome { font-size: 17px; font-weight: 700; line-height: 1.25; text-align: center; overflow-wrap: anywhere; color: #f5f5f7; }
.hs-cartao-b { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.hs-barra { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.hs-barra i { display: block; height: 100%; border-radius: 4px; background: #b4e05c; }
.hs-cartao .hs-btn { align-self: flex-start; }

/* 2. Aulas concluídas */
.hs-dia { margin: 0 0 18px; }
.hs-dia-t { margin: 0 0 8px; font-size: 13px; font-weight: 650; color: #a1a1a8; letter-spacing: .02em; }
.hs-aulas { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(180, 224, 92, .35); }
.hs-aulas li { margin: 0; padding: 0; }
.hs-aula { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; box-sizing: border-box; padding: 8px 8px 8px 16px; border-radius: 0 10px 10px 0; color: inherit; text-decoration: none; }
a.hs-aula:hover { background: rgba(255, 255, 255, .04); }
a.hs-aula:hover .hs-aula-t { color: #b4e05c; }
.hs-aula-t { font-size: 15px; font-weight: 600; line-height: 1.4; color: #f5f5f7; overflow-wrap: anywhere; }
.hs-aula-c { font-size: 13px; line-height: 1.4; color: #8e8e96; overflow-wrap: anywhere; }
.hs-mais { margin-top: 2px; }

/* 3. Certificados */
.hs-certs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hs-certs li { margin: 0; }
.hs-cert {
  display: flex; align-items: center; gap: 14px; min-height: 56px; box-sizing: border-box; padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; background: #151517; color: #f5f5f7; text-decoration: none;
}
a.hs-cert:hover { border-color: rgba(229, 182, 108, .5); }
.hs-cert-arte { flex: none; width: 64px; height: 45px; border-radius: 6px; object-fit: cover; background: #1d1d21; }
.hs-cert-sem { display: block; background: linear-gradient(135deg, rgba(229, 182, 108, .35), rgba(229, 182, 108, .08)); }
.hs-cert-nome { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.hs-cert-pegar .hs-btn { flex: none; }

/* vazio e espera */
.hs-vazio { margin: 34px 0; padding: 28px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px; background: #151517; }
.hs-vazio p { margin: 0 0 16px; font-size: 17px; color: #e0e0e5; }
.hs-espera { min-height: 160px; }
.hs-erro { margin: 30px 0; color: #a1a1a8; }

@media (max-width: 900px) {
  .hs-cartoes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #view-journey { padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
  #view-journey > .hs-titulo { margin-top: 24px; font-size: 28px; }
  .hs-cartoes { grid-template-columns: 1fr; }
  .hs-cert { flex-wrap: wrap; }
  .hs-cert-pegar .hs-btn { width: 100%; }
  .hs-vazio { padding: 22px 18px; }
}
.hs-btn[data-hs-pegar] { background: #e5b66c; border-color: #e5b66c; color: #1a1408; }
.hs-btn[data-hs-pegar]:hover { background: #f0c47c; border-color: #f0c47c; color: #1a1408; }
