/* Combined and optimized CSS - Non-critical styles */

/* Base styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #0f0f0f;
  background: #fff;
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  overflow-x: hidden;
}

main {
  max-width: 1200px;
  margin: auto;
}

/* YouTube styles */
h2 {
  display: block;
  font-size: 1.5em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

h1, h2, h4, .subhead {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  max-height: 2.5em;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.25;
  text-overflow: ellipsis;
  font-weight: normal;
}

.titulo-youtube {
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 1.8rem;
  font-weight: 500 !important;
  margin-top: 15px;
  margin-bottom: 0px;
}

.head-youtube {
  padding: 4px 13px 5px;
  padding-top: 0px;
}

.secondary-text {
  color: #606060;
  line-height: 1.6rem;
}

.img_user {
  width: 34px;
  height: 34px;
  float: right;
  margin: 7px 15px 15px 0;
  border: 1px solid black;
  border-radius: 50%;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2), 0 4px 4px 0 rgba(0, 0, 0, 0.20);
}

.canal_yt img.img_user {
  border: none;
  box-shadow: none;
  float: left;
  display: inline-block;
  margin: 15px 0 0 10px;
}

.nome_canal > * {
  display: inline-block;
}

.titulo_canal {
  padding: 20px 0 0 10px;
  color: black;
  display: inline-block;
}

.quantidade_inscritos {
  padding-left: 10px;
  color: #858d93;
  font-size: 12px;
}

#btn_sub {
  background: #0f0f0f;
  float: right;
  margin: 15px 20px 0 0;
  padding: 8px 15px 10px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  color: white;
  font-weight: 500;
  font-family: "Roboto", "Arial", sans-serif;
  line-height: 18px;
  border: 0px;
}

#btn_sub:hover {
  background-color: #262626;
  transition: .2s linear;
  color: white;
}

/* Action bar */
.action-bar {
  display: flex;
  gap: 8px;
  padding: 12px 8px;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: none;
}

.action-bar::-webkit-scrollbar {
  display: none;
}

.ab-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f2f2f2;
  color: #0f0f0f;
  border: none;
  border-radius: 18px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease;
}

.ab-btn:hover {
  background: #e5e5e5;
}

.ab-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ab-btn.active {
  color: #065fd4;
}

.ab-btn--danger {
  color: #cc0000;
}

.like_yt {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 5px;
  cursor: pointer;
}

/* Comments section */
.comentarios_video {
  width: 100%;
  height: auto;
  margin-top: 30px;
  border-top: 1px solid #a6a6a6;
  padding-left: 5px !important;
  padding-right: 5px !important;
  border: 1px solid #898484;
  border-right: 0px;
  border-left: 0px;
  border-radius: 12px;
}

.titulo_comentarios {
  font-weight: 500;
  padding: 10px 0 0 5px;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.comentarios {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.comentario .img_user {
  border: none;
  box-shadow: none;
  float: left;
  display: inline-block;
  margin: 15px 0 0 5px;
  width: 40px;
  height: 40px;
}

.comentario_inicial h3 {
  font-size: 15px;
  font-weight: 300;
  padding: 15px 5px 0 55px;
}

.comentario_inicial h3 span {
  float: right;
  font-size: 13px;
  color: #333;
}

.comentario_inicial p {
  padding-left: 55px;
  color: #333;
  font-size: 14px;
}

.icones_comentario {
  margin-left: 57px;
  font-size: 12px;
  color: #404040;
}

.icones_comentario span {
  margin: 0 15px -50px 2px;
}

.resposta {
  margin-top: 5px;
}

.resposta .img_user {
  margin: 15px 0 0 50px;
}

.resposta h3 {
  padding: 15px 5px 0 100px;
}

.resposta p {
  padding-left: 100px !important;
}

.resposta .icones_comentario {
  margin-left: 102px;
  font-size: 12px;
  color: #404040;
}

.like_yt_comentario,
.deslike_yt,
.deslike_yt_comentario,
.comment_yt {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 5px;
  cursor: pointer;
}

footer {
  background: #000;
  color: #fff;
  padding: 20px 15px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.esconder {
  display: none;
}

