* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #0b0b0b, #050505);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial;
}

.profile {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px;
  border-bottom: 1px solid #1f1f1f;
  background: #0b0b0b;
  position: sticky;
  top: 0;
  z-index: 10;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff2d75;
}

.feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
}

.post {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.post:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,.6);
}

.post img,
.post video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post.locked img {
  filter: blur(12px) brightness(.6);
}

.lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}

.video::after {
  content: "VÍDEO";
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 11px;
  padding: 3px 6px;
  background: rgba(0,0,0,.7);
  border-radius: 4px;
  letter-spacing: .5px;
}

.play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #fff;
  text-shadow: 0 5px 20px rgba(0,0,0,.8);
}

.video video {
  pointer-events: none;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.modal img,
.modal video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
}
