#teaspiltSmartPanel {
  max-width: 1320px;
  margin: 22px auto 44px;
  padding: 0 18px;
  color: #fff;
}

.smart-panel-shell {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.065);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.smart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.smart-panel-title h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.smart-panel-title p {
  margin: 5px 0 0;
  opacity: .68;
  font-size: 13px;
}

.smart-panel-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.smart-pill {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.09);
  color: #fff;
  border-radius: 999px;
  padding: 9px 13px;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.smart-pill:hover {
  background: rgba(255,255,255,.16);
}

.smart-pill.active {
  background: rgba(255,255,255,.22);
}

.smart-profile {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.smart-tag {
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.07);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}

.smart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 18px;
}

.smart-card {
  text-align: left;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
  color: #fff;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
}

.smart-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.11);
}

.smart-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #111;
}

.smart-card-body {
  padding: 12px;
}

.smart-card-title {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.smart-card-channel {
  opacity: .74;
  font-size: 12px;
}

.smart-card-meta {
  opacity: .58;
  font-size: 12px;
  margin-top: 4px;
}

.smart-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 11px;
}

.smart-card-actions button {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 999px;
  padding: 7px 9px;
  cursor: pointer;
  font-size: 12px;
}

.subs-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}

.sub-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 13px;
}

.sub-chip button {
  border: 0;
  background: transparent;
  color: #fff;
  opacity: .75;
  cursor: pointer;
}

@media (max-width: 700px) {
  .smart-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .smart-panel-actions {
    justify-content: flex-start;
  }

  .smart-grid {
    grid-template-columns: 1fr;
  }
}
